I’ve searching around this forum, and although I’ve found similar questions, I haven’t found exactly this question so I post it here:
Transmitting audio live from an auction, and have previously uploaded a lots of videos of each product to be sold.
Now I’m transmitting one audio stream and let the client app (flash in a browser) listen to the audio, while selecting the video he want’s to watch.
Want to change this and mix the live audio with the correct product video, so the client only recieve ONE audio/video stream.
I think it’s clear that wowza can’t do this directly (or?), but is there any other way with ffmpeg or similar?
I’ve found similar examples, but don’t know if it’s possible to mix a LIVE stream with VOD videos…
thank you in advance for any hint!
with this soolution:
ffmpeg -itsoffset -5 -i “rtmp://127.0.0.1/live/StreamA.sdp live=1” -i “rtmp://127.0.0.1/live/StreamB.sdp live=1” -vcodec copy -acodec copy -shortest -f flv -map 0:0 -map 1:0 rtmp://127.0.0.1/live/StreamC.sdp
The result of this is a new stream, StreamC which has thevideoof StreamA + theAudioof StreamB. the itsoffset is a parameter you can play with to give your translator some delay.