VLC streams only over plain UDP not RTP

About encoding, codec settings, muxers and filter usage
Adamus
Blank Cone
Blank Cone
Posts: 11
Joined: 27 Mar 2006 17:33

VLC streams only over plain UDP not RTP

Postby Adamus » 27 Mar 2006 17:34

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

Adamus
Blank Cone
Blank Cone
Posts: 11
Joined: 27 Mar 2006 17:33

VLC streams only over plain UDP not RTP - My Example

Postby Adamus » 28 Mar 2006 08:51

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

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 28 Mar 2006 13:36

you need to use rtp{...} instead of std{...} to stream rtp. More info in the streaming howto on http://www.videolan.org/doc/
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

oliv06

Re: VLC streams only over plain UDP not RTP

Postby oliv06 » 28 Mar 2006 13:36

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

Adamus
Blank Cone
Blank Cone
Posts: 11
Joined: 27 Mar 2006 17:33

How to configure the RTP module

Postby Adamus » 31 Mar 2006 10:31

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


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 8 guests