RTP H.264 stream freezing on first frame

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
eliba
New Cone
New Cone
Posts: 4
Joined: 09 Feb 2014 18:03

RTP H.264 stream freezing on first frame

Postby eliba » 09 Feb 2014 18:19

Hi everyone,

I have encountered a strange problem while playing an RTP H.264 stream using VLC player.

I am developing firmware for an IP camera designed to be used with specialized software. By default, the camera's RTSP streamer had a bug where in each GOP, the SPS, PPS, SEI and IDR-frame were all grouped, and the stream simply consisted of an SPS NAL unit, followed by several P-slices. The PPS, SEI, and IDR-frame were all hidden inside the payload of the SPS packet. This caused the target software to be unable to play the stream, yet VLC player worked just fine.

After fixing it and properly splitting the various NAL units, the stream works properly on the target client, but now it works only partially with VLC - sometimes it works well, other times it freezes after showing 1-2 frames.
I've uploaded wireshark logs and VLC logs for both scenarios (old stream, new stream):

https://www.dropbox.com/s/kk4m04toudijb82/new.log
https://www.dropbox.com/s/gyg39osmhqi7p1r/New.pcapng

https://www.dropbox.com/s/ewank7m3itt8jcr/old.log
https://www.dropbox.com/s/jk08a4nq8cuog76/Old.pcapng

Any help would be grealy appreciated.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: RTP H.264 stream freezing on first frame

Postby Jean-Baptiste Kempf » 13 Feb 2014 10:48

It might be a live555 issue. VLC version?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

eliba
New Cone
New Cone
Posts: 4
Joined: 09 Feb 2014 18:03

Re: RTP H.264 stream freezing on first frame

Postby eliba » 13 Feb 2014 10:57

Right now I'm using 2.1.3 Rincewind on Windows 8 x64. The problem persists in older versions too, on windows 7 and ubuntu as well.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: RTP H.264 stream freezing on first frame

Postby Jean-Baptiste Kempf » 13 Feb 2014 11:05

You might need to ask live555 RTSP specialists.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

eliba
New Cone
New Cone
Posts: 4
Joined: 09 Feb 2014 18:03

Re: RTP H.264 stream freezing on first frame

Postby eliba » 13 Feb 2014 11:06

Any suggestions on where I could find some of those?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: RTP H.264 stream freezing on first frame

Postby Jean-Baptiste Kempf » 13 Feb 2014 12:09

live555 mailing list.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

eliba
New Cone
New Cone
Posts: 4
Joined: 09 Feb 2014 18:03

Re: RTP H.264 stream freezing on first frame

Postby eliba » 13 Feb 2014 13:08

Thanks, I'll try asking over there


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: MSN [Bot] and 36 guests