Page 1 of 1

Transcode duplicated stream

Posted: 30 May 2016 10:25
by rhegner
I have a .mkv file with one video stream (0) and three audio streams (1-3).

Streams 0 and 1 I want to play normally in the VLC player. Streams 2 and 3 I want transcode to the s16l format, combine with a custom muxer and then send via UDP.

I tried the following command line options but they both don't work (I get errors like "ignore unknown option `udp'" or " ignore unknown option `std'"):

Code: Select all

--sout "#duplicate{dst=display,select="es=0-1",dst="transcode{acodec=s16l}:udp{mux=mymuxer,dst=127.0.0.1:11234}",select="es=2-3"}" --sout-all --sout "#duplicate{dst=display,select="es=0-1",dst="transcode{acodec=s16l}:std{access=udp,mux=mymuxer,dst=127.0.0.1:11234}",select="es=2-3"}" --sout-all
What are the correct command line options for getting the required output?

(This question is related to my other question in the development forum, https://forum.videolan.org/viewtopic.php?f=32&t=133285, but I didn't get any answers there).