[vlc-devel] RTSP-Streaming, frames dropped when RTCP sender report arrives

Max Göttner - d.stream max.goettner at dstream.de
Wed Jun 8 17:25:57 CEST 2011

Hi Sébastien, 
thanks for your quick answer.
What you say, was my original guess as well. Unfortunately it seems hard to proof. The only relevant message I get is 

  main output error: ES_OUT_RESET_PCR called

I also could provoke the following error, when pushing the camera towards its limitations of ressources
  ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to xxxx ms)

This would indicate a buggy camera timestamp generation? Streaming with mplay did not produce the frame-skip, though. I have been
analyzing the camera deeply and I appreciate any hint or input for further investigations. Is there a possibility to ignore rtcp packets?

Greetings, Max.

-----Ursprüngliche Nachricht-----
Von: vlc-devel-bounces at videolan.org [mailto:vlc-devel-bounces at videolan.org] Im Auftrag von Sébastien Escudier
Gesendet: Mittwoch, 8. Juni 2011 10:20
An: Mailing list for VLC media player developers
Betreff: Re: [vlc-devel] RTSP-Streaming, frames dropped when RTCP sender report arrives

On Wed, 2011-06-08 at 10:09 +0200, Max Göttner - d.stream wrote:
> Hello,
> is there a known bug concerning the following issue?
> I receive a RTSP 4000kbit mpeg4 / h264 stream without transcoding from a
> camera via UDP. My LibVlc version is 1.1.9. I observe that camera and client
> exchange RTCP sender report and receiver report packets at regular
> intervals. However if and only if the first sender report arrives one or two
> frames are not written to the video-file, although the according udp packets
> arrive.
> Any suggestions? Thanks in advance.

Look at vlc logs, you may see pts warnings.
when SR are received, RTP timestamps are adjusted.
I had a camera with buggy SR, resulting in frame skipping.

More information about the vlc-devel mailing list