transcode with standard in windows?

About encoding, codec settings, muxers and filter usage
kpiowaty
Blank Cone
Blank Cone
Posts: 10
Joined: 10 Sep 2004 05:44

transcode with standard in windows?

Postby kpiowaty » 10 Sep 2004 06:14

Can anyone tell me why none of the following syntax work in win32?

1st attempt:
vlc -vvv "C:\Documents and Settings\kpiowaty.PBT\Desktop\ts\VTS_01_1.VOB" --sout #transcode{vcodec=mp4v,vb=512,scale=1,acodec=mp3,ab=96,channels=2} --sout #standard{access=udp,mux=ts,url=239.168.120.163:1234,sap,sdp=rtsp,name="ts test"} --ttl 12
this runs, no errors in messages, and streams the video, but does NOT transcribe!!!

2nd attempt:
vlc -vvv "C:\Documents and Settings\kpiowaty.PBT\Desktop\ts\VTS_01_1.VOB" --sout '#transcode{vcodec=mp4v,vb=512,scale=1,acodec=mp3,ab=96,channels=2}:#standard{access=udp,mux=ts,url=239.168.120.163:1234,sap,sdp=rtsp,name="ts test"}' --ttl 12
returns these messages
main error: no sout access module matched "'#transcode"
main error: cannot delete object (222, (null)) with a parent
stream_out_standard error: no suitable sout access module for `'#transcode{vcodec=mp4v,vb=512,scale=1,acodec=mp3,ab=96,channels=2}/(null)://#standard{access=udp,mux=ts,url=239.168.120.163:1234,sap,sdp=rtsp,name=ts test}''
main error: stream chained failed for `std{mux="",access="'#transcode{vcodec=mp4v,vb=512,scale=1,acodec=mp3,ab=96,channels=2}",url="#standard{access=udp,mux=ts,url=239.168.120.163:1234,sap,sdp=rtsp,name=ts test}'"}'
main error: cannot delete object (220, (null)) with children
main error: cannot start stream output instance, aborting
main error: cannot delete object (219, (null)) with children

3rd attempt:
vlc -vvv "C:\Documents and Settings\kpiowaty.PBT\Desktop\ts\VTS_01_1.VOB" --sout "#transcode{vcodec=mp4v,vb=512,scale=1,acodec=mp3,ab=96,channels=2}:#standard{access=udp,mux=ts,url=239.168.120.163:1234,sap,sdp=rtsp,name="ts test"}" --ttl 12
returns these messages:
main error: no sout stream module matched "#standard"
stream_out_transcode error: cannot create chain
main error: stream chained failed for `transcode{vcodec=mp4v,vb=512,scale=1,acodec=mp3,ab=96,channels=2}:#standard{access=udp,mux=ts,url=239.168.120.163:1234,sap,sdp=rtsp,name=ts'
main error: cannot delete object (220, (null)) with a parent
main error: cannot start stream output instance, aborting
main error: cannot delete object (219, (null)) with children
main error: no sout stream module matched "#standard"
stream_out_transcode error: cannot create chain
main error: stream chained failed for `transcode{vcodec=mp4v,vb=512,scale=1,acodec=mp3,ab=96,channels=2}:#standard{access=udp,mux=ts,url=239.168.120.163:1234,sap,sdp=rtsp,name=ts'
main error: cannot delete object (225, (null)) with a parent
main error: cannot start stream output instance, aborting
main error: cannot delete object (224, (null)) with children

I just want to multicast stream over udp using sap and sdp a transcribed video in a win32 environment. I love this software, but this is begining to frustrate me a little. I can't find anything wrong with my syntax. Hoping one of you sees something I am missing!!!

Thanks in advance.

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 10 Sep 2004 11:28

Correct syntax:
vlc -vvv "C:\Documents and Settings\kpiowaty.PBT\Desktop\ts\VTS_01_1.VOB" --sout '#transcode{vcodec=mp4v,vb=512,scale=1,acodec=mp3,ab=96,channels=2}:standard{access=udp,mux=ts,url=239.168.120.163:1234,sap,name="ts test"}' --ttl 12

Note the absence of the "#" before "standard".

Have a look at the HOWTO for more examples:
http://www.videolan.org/doc/videolan-howto/en/ch09.html

kpiowaty
Blank Cone
Blank Cone
Posts: 10
Joined: 10 Sep 2004 05:44

sweet!

Postby kpiowaty » 10 Sep 2004 19:59

Thanks! I knew is would be something simple like that.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 16 guests