Closed Yidada closed 5 years ago
Hi Yida,
Yes, it is entirely possible to use ffmpeg to combine multiple sources. However, it's not straightforward how to pass the two streams from the browser into a single ffmpeg inside emscripten via socketio. If you can upload them separately into two different RTMP address via two separate web pages, then use the concatenate feature of ffmpeg (read from two RTMP streams, then write into a third one).
Feel free to reach me out via email, and we can discuss your particular use case and more possibilities offline.
Feel free to reach me out via email, and we can discuss your particular use case and more possibilities offline.
Thanks for answer, I'm very grad to discuss this use case with you via email, And my email address is zydvip@yeah.net.
I am interested in the same idea. Have you found a way to do this?
If I have multiple input, like two usermedia input, I want to combine these input togethor. How to config the ffmpeg options, may i use double '-i', '-', '-i', '-' ?