Page 1 of 1

ES_OUT_SET_(GROUP_)PCR is called too late errors

Posted: 13 Jun 2013 10:29
by jacobs1
Hi, I am trying to open an rtp stream generated by ffmpeg and I am constantly getting errors such as this:

ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1225 ms)

What do they mean ? what can I change to prevent my stream from freezing and buffering every few seconds ?

This is an rtp multicast stream (h264 encoding) on a local wifi network

full vlc log :
http://pastebin.com/vRCigkpv

SDP:

v=0
o=- 0 0 IN IP4 192.168.99.42
s=No Name
c=IN IP4 224.1.1.1/255
t=0 0
a=tool:libavformat 54.36.100
m=video 1234 RTP/AVP 96
b=AS:600
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1

vlc command line:
vlc d:\sdpfile.sdp :network-caching=3000 :clock-jitter=0

ffmpeg command:
./mock_data_generator | ./ffmpeg -an -f rawvideo -framerate 9 -s 400x640 -pix_fmt rgba -i - -vcodec libx264 -g 10 -preset ultrafast -tune zerolatency -r 8 -bsf:v h264_mp4toannexb -b 600000 -f rtp rtp://224.1.1.1:1234"

Re: ES_OUT_SET_(GROUP_)PCR is called too late errors

Posted: 13 Jun 2013 15:40
by RĂ©mi Denis-Courmont
It means the data arrives too slowly, so the VLC buffer keeps running dry.

Re: ES_OUT_SET_(GROUP_)PCR is called too late errors

Posted: 13 Jun 2013 15:50
by jacobs1
Is it because the buffer is to large ?
I tried reducing bitrate by scaling and lowering frame rate ( got down to 75kbit per seconds ) and still the error .

should I be trying to stream in higher bitrate ?
I am pushing very small amount of data in a local wifi network I dont understand why its not working

Re: ES_OUT_SET_(GROUP_)PCR is called too late errors

Posted: 15 Feb 2014 19:04
by NewtownGuy
Does VLC allow frame rates less than full frame rate ? I ** always ** have problems with NTSC with 15, 10 or 5 fps. It is perfect with 30 fps, marginal with 15 fps, and a disaster with 5 fps. There are endless buffering error messages when it's 15 fps or less.

It looks like a critical race, rather than expecting there to be a short pauses in the video stream.