Page 1 of 1

Stream a file with rtp

Posted: 23 Jul 2008 18:30
by Bapman
Hi,

I get troubles trying to stream a file through RTP. I followed the wiki instructions, UDP streaming is working well but when I try on one machine :

Code: Select all

vlc -vvv myfile.avi --sout '#rtp{dst=ipdest,port=1234,sdp=rtsp://ipsrc:8080/test.sdp}'
and I get a lot of these lines :

Code: Select all

[00000337] access_output_udp private warning: send error: Connection refused
On the other machine trying a :

Code: Select all

vlc rtsp://ipsrc:8080/test.sdp
make it crash with no error in the console (only GNOME is complaining).

I would like to try without sending a SDP description, how do I do that ?

Re: Stream a file with rtp

Posted: 24 Jul 2008 18:22
by RĂ©mi Denis-Courmont
replace sdp=... with mux=ts

Re: Stream a file with rtp

Posted: 24 Jul 2008 23:11
by Bapman
Thanks it is working well !

Is there a way to start the video stream from a certain point (for example I'd like to start myfile.avi 10 seconds after the beginning of the video, a bit like a seek function but in command-line) ?