Hi,
Is there a way to demux a MPEG 2 TS containing many programs.
So that I can transcode each of the programs independently ?
does VLC supports this Please ?
Thanks!
Code: Select all
vlc -d udp://@:5008 --marq-marquee VAS TEST --sout '#transcode{vcodec=mp4v,width=320,height=240,vb=350,acodec=mp4a,ab=64,channels=2,samplerate=44100}:rtp{dst=10.48.233.38,port-video=7190,port-audio=7192,sdp=file:///home/vlcsdp/ITN.sdp}'
Code: Select all
vlc -d udp://@:5008 --sout '#transcode{vcodec=mp4v,width=320,height=240,vb=350,acodec=mp4a,ab=64,channels=2,samplerate=44100, select="program=102"}:rtp{dst=10.48.233.38,port-video=7190,port-audio=7192,sdp=file:///home/vlcsdp/ITN.sdp}'
Code: Select all
:sout=#duplicate{dst="trasncode{vcodec=mp4v,width=320,height=240,vb=350,acodec=mp4a,ab=64,channels=2,samplerate=44100}:rtp{dst=10.48.233.38,port-video=7230,port-audio=7232,sdp=file://c:\vlcsdp\demux.sdp}","select=program=102"}
please advicemain debug: adding playlist item `udp://@:5020' ( udp://@:5020 )
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 4092 (input) created at priority 1 (input/input.c:265)
main debug: stream=`duplicate'
main debug: looking for sout stream module: 1 candidate
stream_out_duplicate debug: creating 'duplicate'
stream_out_duplicate debug: * adding `trasncode{vcodec=mp4v,width=320,height=240,vb=350,acodec=mp4a,ab=64,channels=2,samplerate=44100}'
main debug: stream=`trasncode'
main debug: looking for sout stream module: 0 candidates
main error: no sout stream module matched "trasncode"
main debug: destroying chain... (name=trasncode)
main debug: destroying chain done
stream_out_duplicate error: no destination given
main warning: no sout stream module matching "duplicate" could be loaded
main debug: destroying chain... (name=duplicate)
main debug: destroying chain done
main error: stream chain failed for `duplicate{dst=trasncode{vcodec=mp4v,width=320,height=240,vb=350,acodec=mp4a,ab=64,channels=2,samplerate=44100}:rtp{dst=10.48.233.38,port-video=7230,port-audio=7232,sdp=file://c:\vlcsdp\demux.sdp},select=program=102}'
main error: cannot start stream output instance, aborting
main debug: thread times: real 0m0.109375s, kernel 0m0.000000s, user 0m0.000000s
main debug: thread 4092 joined (input/input.c:412)
main: nothing to play
main debug: adding playlist item `udp://@:5020' ( udp://@:5020 )
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 4300 (input) created at priority 1 (input/input.c:265)
main debug: stream=`duplicate'
main debug: looking for sout stream module: 1 candidate
stream_out_duplicate debug: creating 'duplicate'
stream_out_duplicate debug: * adding `transcode{vcodec=mp4v,width=320,height=240,vb=350,acodec=mp4a,ab=64,channels=2,samplerate=44100}'
main debug: stream=`transcode'
main debug: looking for sout stream module: 1 candidate
main error: invalid chain
stream_out_transcode error: cannot create chain
main warning: no sout stream module matching "transcode" could be loaded
main debug: destroying chain... (name=transcode)
main debug: destroying chain done
stream_out_duplicate error: no destination given
main warning: no sout stream module matching "duplicate" could be loaded
main debug: destroying chain... (name=duplicate)
main debug: destroying chain done
main error: stream chain failed for `duplicate{dst=transcode{vcodec=mp4v,width=320,height=240,vb=350,acodec=mp4a,ab=64,channels=2,samplerate=44100},rtp{dst=10.48.233.38,port-video=7230,port-audio=7232,sdp=file://c:\vlcsdp\demux.sdp},select=program=102}'
main error: cannot start stream output instance, aborting
main debug: thread times: real 0m0.125000s, kernel 0m0.000000s, user 0m0.015625s
main debug: thread 4300 joined (input/input.c:412)
main: nothing to play
Return to “VLC stream-output (sout)”
Users browsing this forum: No registered users and 43 guests