I would like to know how can I generate frames in real time with moviepy and send them to RTMP server. I would love to see an example. If it's possible with audio added from file to the stream.
I know how to generate movie to file. But I need to live stream it to RTMP (Twitch, YT, whatever else ....)
EDIT!!!! I think I found a different solution for this problem. Maybe it can be done with PIL and ffmpeg process. creating images using PIL:
https://dev.to/vinayjn/how-haptik-generates-images-on-the-fly-with-python--1pnl
Sending images to ffmpeg through PIPE:
Pipe PIL images to ffmpeg stdin - Python
I believe by combining those two solutions, you can get to the desired result I guess ...