Page 1 of 1

help,vlc,dss,live streaming

Posted: 16 Apr 2008 13:32
by microgiant
hi all
i use those command,for different files.
command[1]:
vlc -vvv /home/moria/movie/23.mp4 --sout "#rtp" --sout-rtp-dst="127.0.0.1" --sout-rtp-ttl="127" --sout-rtp-sdp="file:///usr/local/movies/vlc.sdp" --loop

command[2]:
vlc -vvv /home/moria/movie/24.mp4 --sout "#rtp" --sout-rtp-dst="127.0.0.1" --sout-rtp-ttl="127" --sout-rtp-sdp="file:///usr/local/movies/1.sdp"

when i open the url: 'rtsp://127.0.0.1/vlc.sdp',it opened successfully.
when i open the url: 'rtsp://127.0.0.1/1.sdp',it also opened successfully,but,the displays are same.

i changed the second command:

vlc -vvv /home/moria/movie/24.mp4 --sout "#rtp" --sout-rtp-dst="127.0.0.1" --sout-rtp-ttl="127" --sout-rtp-sdp="file:///usr/local/movies/1.sdp" --sout-rtp-port-video=7878
then i open the url : 'rtsp://127.0.0.1/1.sdp',vlc could not receive any data

trace:
[00000333] access_output_udp private warning: send error
[00000333] access_output_udp private warning: send error
[00000333] access_output_udp private warning: send error
[00000333] access_output_udp private warning: send error
[00000333] access_output_udp private warning: send error
[00000333] access_output_udp private warning: send error
[00000333] access_output_udp private warning: send error
[00000333] access_output_udp private warning: send error
[00000333] access_output_udp private warning: send error
[00000333] access_output_udp private warning: send error
[00000333] access_output_udp private warning: send error
[00000333] access_output_udp private warning: send error
[00000333] access_output_udp private warning: send error
[00000333] access_output_udp private warning: send error
[00000333] access_output_udp private warning: send error


i wanna open two different urls,and i could see the different displays,but now, they are same,could someone help me out?

thanks!!

Re: help,vlc,dss,live streaming

Posted: 16 Apr 2008 16:43
by johansyd
I need to see the whole output to know what is going on.

Are you listening on the right ports for Darwin?
Are you using the right file names?
Are you capturing your stream and then sending it to Darwin?
And then what?
What are you trying to do? Explain!



What is the connection between:

file:///usr/local/movies/vlc.sdp
file:///usr/local/movies/1.sdp

I have never seen:

--sout-rtp-sdp

You might not use the right syntax.

See Advanced streaming using the command line:

http://www.videolan.org/doc/streaming-h ... /ch03.html