Page 1 of 1
VLC streams only over plain UDP not RTP
Posted: 27 Mar 2006 17:34
by Adamus
Hello!
I am trying to stream video-streams using VLC over RTP between two machines.
The first machine sends the stream over RTP, the other one receives it - everithing works fine.
But if I take a look at the send/received packets using Ethereal, the stream produced by the VLC is a plain UDP stream not RTP!
Why VLC does not pack the packets in RTP, but use plain UDP?
Bye Adam
VLC streams only over plain UDP not RTP - My Example
Posted: 28 Mar 2006 08:51
by Adamus
Hi!
I put here an example how I use VLC on the streaming and reveicing machine with RTP, but by analysing the stream using ethereal I see UDP not RTP!
Streaming server:
vlc dshow:// :dshow-vdev="Logitech ClickSmart 510" :dshow-adev="" :dshow-size="640x480"
:sout=#transcode{vcodec=mp4v,vb=1024,scale=1}
:duplicate{dst=std{access=rtp,mux=ts,url=[2001:6f8:1391:4:210:c6ff:fedc:a5cf]:1234}}
Recevicing client:
vlc rtp://@[::]:1234
Any suggestions, why the stream will not be send in RTP packets but in plain UDP?
Best regards,
Adam
Posted: 28 Mar 2006 13:36
by dionoea
you need to use rtp{...} instead of std{...} to stream rtp. More info in the streaming howto on
http://www.videolan.org/doc/
Re: VLC streams only over plain UDP not RTP
Posted: 28 Mar 2006 13:36
by oliv06
Hello!
But if I take a look at the send/received packets using Ethereal, the stream produced by the VLC is a plain UDP stream not RTP!
Why VLC does not pack the packets in RTP, but use plain UDP?
Bye Adam
Try to force the decoding of the stream as RTP in ethereal ("Decode as..."). It should work (have done this yesterday ...)
How to configure the RTP module
Posted: 31 Mar 2006 10:31
by Adamus
Thanks dionoea and oliv06!
1) Stream analysis:
I forced the decoding of the steram in Ethereal and it workt fine. But I have not found any RTCP packets, why?
2) RTP Streaming:
I tried to use the rtp-modul as dionoea sad, but no streaming happand. In the VLC HowTo is also no example for pure rtp streaming, but rtp over rtsp (with SAP).
My idea is to capture the webcam and stream it over RTP in some format (for example mp1v).
Here what I tried:
vlc --Input-stream(<- this works fine)
:sout=#transcode{vcodec=mp1v,vb=1024,scale=1}:
duplicate{dst=rtp{access=rtp,mux=raw,
dst=[2001:6f8:1391:4:2c1:26ff:fe07:dac5],port-video1234}}
The capturing works fine, but the steram will not be send.
Does anybody has a example for the RTP module?
Bye,
Adamus