Streaming Problem with RTP and PS

About encoding, codec settings, muxers and filter usage
jama7
New Cone
New Cone
Posts: 6
Joined: 23 Sep 2010 09:48
Location: Asturias, Spain

Streaming Problem with RTP and PS

Postby jama7 » 25 May 2011 11:51

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!!

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

Re: Streaming Problem with RTP and PS

Postby Rémi Denis-Courmont » 25 May 2011 12:46

What makes you think it is a sender problem?
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

jama7
New Cone
New Cone
Posts: 6
Joined: 23 Sep 2010 09:48
Location: Asturias, Spain

Re: Streaming Problem with RTP and PS

Postby jama7 » 25 May 2011 12:52

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!

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

Re: Streaming Problem with RTP and PS

Postby Rémi Denis-Courmont » 25 May 2011 14:19

rtp://... cannot work for PS, or any dynamic RTP payload format for that matter.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

jama7
New Cone
New Cone
Posts: 6
Joined: 23 Sep 2010 09:48
Location: Asturias, Spain

Re: Streaming Problem with RTP and PS

Postby jama7 » 26 May 2011 12:51

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?

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

Re: Streaming Problem with RTP and PS

Postby Rémi Denis-Courmont » 26 May 2011 15:39

Dynamic RTP payload formats cannot be used with rtp:// URL. That syntax does not define payload type mappings.

You need an SDP.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 8 guests