Page 1 of 1

crazy, vlc streaming line problem

Posted: 02 Feb 2005 04:11
by john luo
who can tell me the difference between these two cmd:
1, vlc.exe -vvv --reset-config c:\upload\okok.mp4 --sout "#rtp" --sout-rtp-dst="239.10.10.10" --sout-rtp-ttl="127" --sout-rtp-sdp="file://C:/Program Files/Darwin Streaming Server/Movies/vlc.sdp"

2, vlc.exe -vvv --reset-config c:\upload\okok.mp4 --sout '#rtp{dst=239.10.10.10, ttl=127, sdp="C:\Program Files\Darwin Streaming Server\Movies\vlc.sdp"}'

the first one could run, and i can connect this live streaming through dss.
the second one could not work?

what is the difference between these two kinds of streaming?

Posted: 02 Feb 2005 05:40
by john luo
test result:
1, vlc.exe -vvv --reset-config c:\upload\okok.mp4 --sout=#rtp{dst=239.10.10.10, ttl=4, sdp="file://C:/Program Files/Darwin Streaming Server/Movies/vlc.sdp"}

2, vlc.exe -vvv --reset-config c:\upload\okok.mp4 --sout "#rtp" --sout-rtp-dst="239.10.10.10" --sout-rtp-ttl="127" --sout-rtp-sdp="file://C:/Program Files/Darwin Streaming Server/Movies/vlc.sdp"

both of above can stream to rtp. but the first one could not generate sdp file.
if i add a ['] before and after #rtp clause, the first one would not work anymore.

Posted: 05 Feb 2005 09:48
by john luo
some notes on vlc command line:
1, in #modlue{} mode, don't add any space char " " between two parameters, otherwise vlc won't work.
2, in udp streaming, paramter is url=xxx.xxx.xxx.xxx:port
3, in rtp streaming, parameter is dst=xxx.xxx.xxx.xxx,port=port