Page 1 of 1

Streaming Problem with RTP and PS

Posted: 25 May 2011 11:51
by jama7
Hi everybody,

I'm trying to stream an MP4 video using RTP and Program Stream, but it doesn't work. It plays nothing in the receiver.

This is the command I'm using:

Code: Select all

vlc -vvv input.mp4 --file-caching=1200 --sout '#rtp{dst=localhost,port=5004,mux=ps}' -Idummy –loop
If I use Transport Stream (mux=ts) it works perfectly, but I need to do it using also PS.

Can anybody help me? Thanks!!

Re: Streaming Problem with RTP and PS

Posted: 25 May 2011 12:46
by Rémi Denis-Courmont
What makes you think it is a sender problem?

Re: Streaming Problem with RTP and PS

Posted: 25 May 2011 12:52
by jama7
What makes you think it is a sender problem?
Because I use VLC to play what I'm receiving, and with TS it plays the video, but with PS it doesn't play anything...

Do you think it could be a reception problem?

Thanks!

Re: Streaming Problem with RTP and PS

Posted: 25 May 2011 14:19
by Rémi Denis-Courmont
rtp://... cannot work for PS, or any dynamic RTP payload format for that matter.

Re: Streaming Problem with RTP and PS

Posted: 26 May 2011 12:51
by jama7
rtp://... cannot work for PS, or any dynamic RTP payload format for that matter.
Thanks again for your help.

Do you mean that it's not possible to send PS over RTP in any way, or that it's not possible with VLC?

Re: Streaming Problem with RTP and PS

Posted: 26 May 2011 15:39
by Rémi Denis-Courmont
Dynamic RTP payload formats cannot be used with rtp:// URL. That syntax does not define payload type mappings.

You need an SDP.