Hello,

I'm experiencing ring buffer overflows with streamdev-server and the following remux script:

tmpdir=${TMPDIR-/tmp}/externremux-${RANDOM:-$$}
FIFO=$tmpdir/out.mkv
OUTLOG=$tmpdir/out.log
mkdir -p $tmpdir || exit 1
mkfifo $FIFO
(cat $FIFO; rm -rf $tmpdir) &
ffmpeg -threads 2 -i - -deinterlace -vcodec libx264 -vpre veryfast -b 900k -bt 50k -maxrate 900k -s vga -acodec libfaac -async 1 -ac 2 -ar 44100 -aq 128 -sn -y $FIFO 2>/tmp/ffmpeg.log

My outgoing line is a VDSL2 line with a 2048kbps upload.

2011-07-09T21:05:46+02:00 localhost vdr: [553] buffer usage: 70% (tid=552)
2011-07-09T21:05:47+02:00 localhost vdr: [553] buffer usage: 80% (tid=552)
2011-07-09T21:05:47+02:00 localhost vdr: [553] buffer usage: 30% (tid=552)
2011-07-09T21:05:49+02:00 localhost vdr: [25625] ERROR: 76 ring buffer overflows (14288 bytes dropped)

When this happens, the picture freezes and it never recovers. Sometimes, there's also this suspicious extra error message (the first line):

2011-07-09T21:16:28+02:00 localhost vdr: [593] ERROR: read failed: Resource temporarily unavailable 2011-07-09T21:16:29+02:00 localhost vdr: [25625] ERROR: 58 ring buffer overflows (10904 bytes dropped)
2011-07-09T21:16:33+02:00 localhost vdr: [596] buffer usage: 70% (tid=595)
2011-07-09T21:16:33+02:00 localhost vdr: [596] buffer usage: 80% (tid=595)
2011-07-09T21:16:34+02:00 localhost vdr: [596] buffer usage: 90% (tid=595)

Any advice on how to fix the problem?

Thanks!
--
Luboš Doležel

_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to