[FFmpeg-user] How to inject video into a live stream?

James Thornton james at jamesthornton.com
Sat Nov 11 01:35:45 EET 2023


When you have two or more live streams, and you want the ability to toggle
between the two, such as switching to camera 2's feed on the main screen,
how do you do that and what do you need to consider when constructing such
a system?

I prefer to do this programmatically via the command line or python, etc.
and have been experimenting with combinations of VLC, nginx rtmp, and
ffmpeg but I'm missing a key concept. Is the correct term for this video
stream injecting?


More information about the ffmpeg-user mailing list