can't stream h264 over RTP, but success with RTSP

About encoding, codec settings, muxers and filter usage
salexsh
New Cone
New Cone
Posts: 3
Joined: 11 Jun 2010 06:26

can't stream h264 over RTP, but success with RTSP

Postby salexsh » 11 Jun 2010 06:47

hi,

i have encountered a problem streaming H264 over RTP. when try to do this the VLC client does not recognize the stream.
However when i try to do this over RTSP it works great.
the streaming is made with Live555 test program.
After reviewing the content of the packets sent (RTP content) it is the same.
so i probably have to configure somehow the VLC client to receive the stream?
any suggestions to what am i doing wrong?
VLC versions i have tried are 0.8.6b and 0.9, will newer versions help at this, where there specific upgrades for H264 RTP streaming?

Thanks all,
Alex.

salexsh
New Cone
New Cone
Posts: 3
Joined: 11 Jun 2010 06:26

Re: can't stream h264 over RTP, but success with RTSP

Postby salexsh » 03 Jul 2010 06:26

Hi all,

We have mannaged to solve this problem in the following manner:
1. intercept the SDP returning message from the client to the server.
2. copy the content of this message into a text file named <*>.sdp
3. open the sdp file from the vlc client.
4. start streaming (no need to open network stream, the sdp file intercepted allready contains stream info and locks the client onto a stream).

thanks al
Alex.

ILEoo
Developer
Developer
Posts: 91
Joined: 05 Nov 2008 16:29

Re: can't stream h264 over RTP, but success with RTSP

Postby ILEoo » 04 Jul 2010 21:03

How have you tried that h264/rtp streaming that it doesn't work? if you mean h264 in ts-muxed on rtp-stream then yes, its known bug and fixed in 1.1.1

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

Re: can't stream h264 over RTP, but success with RTSP

Postby Rémi Denis-Courmont » 06 Jul 2010 17:57

That limitation comes from the RTP and H.264 payload format specifications. There is no way for VLC (or any other player) to know the codec parameter without a proper SDP. With RTSP, the SDP is conveyed in the signaling (the DESCRIBE request).
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 9 guests