Fail to use duplicate and transcode at the same time
Posted: 18 Jun 2011 05:24
I've a problem in using duplicate and transcode at the same time with vlc 1.1.5, 1.1.9 and 1.1.10.
I think there may be something wrong with my command. I tried those example I found from Internet
but none of them worked.
I can duplicate a stream to two different multicast stream by using this command line:
vlc input_stream :sout=#duplicate{dst=udp{dst=239.1.1.1:1234},dst=udp{dst=239.1.1.2:1234}} :ttl=2 :sout-keep
I can transcode a stream to half side multicast stream by using this command line:
vlc input_stream :sout=#transcode{vcodec=h264,vb=0,scale=0.5}:udp{dst=239.1.1.1:1234} :ttl=2 :sout-keep
However, when I try to send a stream with originial size and have a transcoded stream at the same time by using the
following command, it will not work.
vlc input_stream :sout=#duplicate{dst=transcode{vcodec=h264,vb=0,scale=0.5}:udp{dst=239.1.1.1:1234},dst=udp{dst=239.1.1.2:1234}} :ttl=2 :sout-keep
I think there may be something wrong with my command. I tried those example I found from Internet
but none of them worked.
I can duplicate a stream to two different multicast stream by using this command line:
vlc input_stream :sout=#duplicate{dst=udp{dst=239.1.1.1:1234},dst=udp{dst=239.1.1.2:1234}} :ttl=2 :sout-keep
I can transcode a stream to half side multicast stream by using this command line:
vlc input_stream :sout=#transcode{vcodec=h264,vb=0,scale=0.5}:udp{dst=239.1.1.1:1234} :ttl=2 :sout-keep
However, when I try to send a stream with originial size and have a transcoded stream at the same time by using the
following command, it will not work.
vlc input_stream :sout=#duplicate{dst=transcode{vcodec=h264,vb=0,scale=0.5}:udp{dst=239.1.1.1:1234},dst=udp{dst=239.1.1.2:1234}} :ttl=2 :sout-keep