crazy, vlc streaming line problem

About encoding, codec settings, muxers and filter usage
john luo
Blank Cone
Blank Cone
Posts: 24
Joined: 25 Jan 2005 03:30

crazy, vlc streaming line problem

Postby john luo » 02 Feb 2005 04:11

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?

john luo
Blank Cone
Blank Cone
Posts: 24
Joined: 25 Jan 2005 03:30

Postby john luo » 02 Feb 2005 05:40

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.

john luo
Blank Cone
Blank Cone
Posts: 24
Joined: 25 Jan 2005 03:30

Postby john luo » 05 Feb 2005 09:48

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


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: Google [Bot] and 14 guests