Re: [vdr] Ring buffer overflows with streamdev and remux script

2011-07-14 Thread VDR User
On Thu, Jul 14, 2011 at 10:23 AM, Udo Richter wrote: >> Is there any reason why the ring buffer can't or shouldn't be dynamic >> aside of just not bothering to implement it? > > Unlimited buffers tend to get unlimited big, crashing your app with > out-of-memory. Huge buffers also add lag to the si

Re: [vdr] Ring buffer overflows with streamdev and remux script

2011-07-14 Thread Luboš Doležel
On 14.7.2011 17:35, Frank Schmirler wrote: Hi Luboš, On Wed, 13 Jul 2011 21:05:52 +0200, Luboš Doležel wrote solution: I've tripled the size of the ring buffer in vdr-streamdev-server and the problem is gone. No problems after hours of playback... which of the buffers did you change to which

Re: [vdr] Ring buffer overflows with streamdev and remux script

2011-07-14 Thread Luboš Doležel
On 14.7.2011 19:23, Udo Richter wrote: Unlimited buffers tend to get unlimited big, crashing your app with out-of-memory. Huge buffers also add lag to the signal. With no bandwidth issues, buffers are usually almost empty, with bandwidth issues, buffers are usually almost full. In the end you se

Re: [vdr] Ring buffer overflows with streamdev and remux script

2011-07-14 Thread Udo Richter
Am 14.07.2011 02:28, schrieb VDR User: > On Wed, Jul 13, 2011 at 12:05 PM, Luboš Doležel wrote: >> Apart from simplifying the script to a single line I've found a solution: >> I've tripled the size of the ring buffer in vdr-streamdev-server and the >> problem is gone. No problems after hours of pl

Re: [vdr] Ring buffer overflows with streamdev and remux script

2011-07-14 Thread Frank Schmirler
Hi Luboš, On Wed, 13 Jul 2011 21:05:52 +0200, Luboš Doležel wrote > solution: I've tripled the size of the ring buffer in > vdr-streamdev-server and the problem is gone. No problems after > hours of playback... which of the buffers did you change to which value? Regards, Frank _

Re: [vdr] Ring buffer overflows with streamdev and remux script

2011-07-13 Thread VDR User
On Wed, Jul 13, 2011 at 12:05 PM, Luboš Doležel wrote: > Apart from simplifying the script to a single line I've found a solution: > I've tripled the size of the ring buffer in vdr-streamdev-server and the > problem is gone. No problems after hours of playback... Is there any reason why the ring

Re: [vdr] Ring buffer overflows with streamdev and remux script

2011-07-13 Thread Luboš Doležel
On 9.7.2011 22:51, Luboš Doležel wrote: 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 $tmp

[vdr] Ring buffer overflows with streamdev and remux script

2011-07-09 Thread Luboš Doležel
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 - -deinterl