Stream a file with rtp

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Bapman
New Cone
New Cone
Posts: 3
Joined: 10 Mar 2008 03:44

Stream a file with rtp

Postby Bapman » 23 Jul 2008 18:30

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 ?

Rémi Denis-Courmont
Developer
Developer
Posts: 15337
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Stream a file with rtp

Postby Rémi Denis-Courmont » 24 Jul 2008 18:22

replace sdp=... with mux=ts
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Bapman
New Cone
New Cone
Posts: 3
Joined: 10 Mar 2008 03:44

Re: Stream a file with rtp

Postby Bapman » 24 Jul 2008 23:11

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) ?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 134 guests