Answer for How to merge two streams

Hello, Combining two sources into a common output is not part of the core EMS. It can be done by the transcoder binary, but you will lose some efficiency on that call (both added delay and additional CPU). To get the transcoder option working, you should bring the two streams in as you are now. Let’s assume they are called v1 (for the video stream) and a1 (for the audio stream). You can use the launchProcess command to then mux them together: launchProcess fullBinaryPath=./evo-avconv arguments=-i rtsp://localhost:5544/v1 -i rtsp://localhost:554/a1 -c:v copy -c:a copy -map 0:v:0 -map 1:a:0 -metadata streamName=combined -f flv tcp://localhost:6666/ Here it is for clarity without the escaping of the spacing: -i rtsp://localhost:5544/v1 -i rtsp://localhost:554/a1 -c:v copy -c:a copy -map 0:v:0 -map 1:a:0 -metadata streamName=combined -f flv tcp://localhost:6666/ This will create a combined stream named “combined”. Bryan

Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.