Help with problem H.264 A/V Streaming

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Videology
New Cone
New Cone
Posts: 3
Joined: 04 May 2011 22:54

Help with problem H.264 A/V Streaming

Postby Videology » 04 May 2011 23:00

Our hardware produces an H.264 A/V stream (RTP/TCP). If using a single content stream (either A or V), we have no problems. When we combine streams VLC reports these error messages:
main error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 4515 ms)
main error: ES_OUT_SET_(GROUP_)PCR is called too late (jitter of 5281 ms ignored)
avcodec error: more than 5 seconds of late video -> dropping frame (computer too slow ?)

We beleive that there is something amiss within the streams we are providing, but we do not have the proper tools to diagnose the live stream. Is there something within VLC or another tool we can use to find what is wrong with the stream (and thus be better equipped to find the problem in our embedded Linux code)?

Regards,

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

Re: Help with problem H.264 A/V Streaming

Postby Rémi Denis-Courmont » 05 May 2011 08:35

It seems your video stream is running too late compared with the audio stream.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Videology
New Cone
New Cone
Posts: 3
Joined: 04 May 2011 22:54

Re: Help with problem H.264 A/V Streaming

Postby Videology » 05 May 2011 18:34

Apparently that's what is being represented. The question is, how is this determined. I suspect that the IP encoder is misrepresenting the PTS or such. Without any visibility into the streams / headers, this is real tough to find the problem. We have used wireShark, but get lost in the millions of packets. The A/V runs from minutes to hours without any problems, then we start seeing VLC error messages and eventually the video freezes and VLC closes. Earlier versions of VLC (circa 0.85) do not 'see' this problem and I assume it's because circa 0.9 PTS based decoding was added to VLC, which exposes the IP camera problem. In the 0.85 VLC lip-sync, etc is all good, thus I don't believe htis is a true video problem, but more likely bad PTS or header information.

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

Re: Help with problem H.264 A/V Streaming

Postby Rémi Denis-Courmont » 05 May 2011 20:18

Either the PTS are plain wrong, or the two RTP streams are actually time-drifting from one another.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Videology
New Cone
New Cone
Posts: 3
Joined: 04 May 2011 22:54

Re: Help with problem H.264 A/V Streaming

Postby Videology » 10 May 2011 18:29

Yes, thank you. Now what tools can I use to debug this?

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

Re: Help with problem H.264 A/V Streaming

Postby Rémi Denis-Courmont » 10 May 2011 20:15

Wireshark?
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 30 guests