Multiple transcode on same cmd-line?
Posted: 27 Apr 2007 21:33
Hi,
I'm trying do build a command-line which performs multiple transcoded on the input and streams each transcode'd stream out on its own multicast address.
But I'm having trouble doing it.
I found another post here
viewtopic.php?p=34658&sid=a66ddfa4bb817 ... 9ec6f2e823 about it, but there is no working solution there. If I try the syntax mentioned there, I am getting this output:
... stream_out_duplicate private debug: creating 'duplicate'
[00000331] stream_out_duplicate private debug: * adding `transcode{threads=2,vcodec=h264,vb=850,width=544,acodec=mpga,ab=128,channels=2,deinterlace}'
[00000330] main stream output debug: stream=`transcode'
[00000333] main private debug: looking for sout stream module: 1 candidate
[00000330] main stream output error: invalid chain
[00000333] stream_out_transcode private error: cannot create chain
[00000333] main private warning: no sout stream module matching "transcode" could be loaded
[00000333] main private debug: destroying chain... (name=transcode)
[00000333] main private debug: destroying chain done
[00000331] stream_out_duplicate private error: no destination given
[00000331] main private warning: no sout stream module matching "duplicate" could be loaded
[00000331] main private debug: destroying chain... (name=duplicate)
[00000331] main private debug: destroying chain done
[00000330] main stream output error: stream chain failed for `duplicate{dst=transcode{threads=2,vcodec=h264,vb=850,width=544,acodec=mpga,ab=128,channels=2,deinterlace}:rtp{dst=239.1.1.211,name=dr1high,sdp=sap,sdp=http://:1101/h264/dr1high.sdp},select=program=101}'
[00000329] main input error: cannot start stream output instance, aborting
It looks like it does not accept "transcode" as the value to "dst" in a "duplicate". What is the format for multiple transcoded on one cmdline?
My full cmdline (not working) is this:
/usr/bin/vlc --miface-addr 172.27.1.1 -vv --ttl 2 -I dummy --color --ts-es-id-pid --programs 101 dvb-t:adapter=0:frequency=714000000:bandwidth=8 --dvb-caching=1200 --sout #duplicate{dst=transcode{threads=2,vcodec=h264,vb=850,width=544,acodec=mpga,ab=128,channels=2,deinterlace}:rtp{dst=239.1.1.211,name=dr1high,sdp=sap,sdp=http://:1101/h264/dr1high.sdp},select=program=101}
And I am running a vlc build from trunk...
Any advice?
I'm trying do build a command-line which performs multiple transcoded on the input and streams each transcode'd stream out on its own multicast address.
But I'm having trouble doing it.
I found another post here
viewtopic.php?p=34658&sid=a66ddfa4bb817 ... 9ec6f2e823 about it, but there is no working solution there. If I try the syntax mentioned there, I am getting this output:
... stream_out_duplicate private debug: creating 'duplicate'
[00000331] stream_out_duplicate private debug: * adding `transcode{threads=2,vcodec=h264,vb=850,width=544,acodec=mpga,ab=128,channels=2,deinterlace}'
[00000330] main stream output debug: stream=`transcode'
[00000333] main private debug: looking for sout stream module: 1 candidate
[00000330] main stream output error: invalid chain
[00000333] stream_out_transcode private error: cannot create chain
[00000333] main private warning: no sout stream module matching "transcode" could be loaded
[00000333] main private debug: destroying chain... (name=transcode)
[00000333] main private debug: destroying chain done
[00000331] stream_out_duplicate private error: no destination given
[00000331] main private warning: no sout stream module matching "duplicate" could be loaded
[00000331] main private debug: destroying chain... (name=duplicate)
[00000331] main private debug: destroying chain done
[00000330] main stream output error: stream chain failed for `duplicate{dst=transcode{threads=2,vcodec=h264,vb=850,width=544,acodec=mpga,ab=128,channels=2,deinterlace}:rtp{dst=239.1.1.211,name=dr1high,sdp=sap,sdp=http://:1101/h264/dr1high.sdp},select=program=101}'
[00000329] main input error: cannot start stream output instance, aborting
It looks like it does not accept "transcode" as the value to "dst" in a "duplicate". What is the format for multiple transcoded on one cmdline?
My full cmdline (not working) is this:
/usr/bin/vlc --miface-addr 172.27.1.1 -vv --ttl 2 -I dummy --color --ts-es-id-pid --programs 101 dvb-t:adapter=0:frequency=714000000:bandwidth=8 --dvb-caching=1200 --sout #duplicate{dst=transcode{threads=2,vcodec=h264,vb=850,width=544,acodec=mpga,ab=128,channels=2,deinterlace}:rtp{dst=239.1.1.211,name=dr1high,sdp=sap,sdp=http://:1101/h264/dr1high.sdp},select=program=101}
And I am running a vlc build from trunk...
Any advice?