Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Problem during recording and watching the same channel



Davide Krähenbühl wrote:
> 
> On Mercoledì, ago 27, 2003, at 08:40 Europe/Zurich, Klaus Schmidinger
> wrote:
> 
> > Davide Krähenbühl wrote:
> >>
> >> hi all,
> >>
> >> this is my first post in this mailing list.
> >>
> >> I use vdr 1.2.4 without any patch or plugin, my dvb-s card is a nexus
> >> 2.1 with linux-dvb driver 1.0. when I record something I have that
> >> kind
> >> of error:
> >>
> >> Aug 27 00:14:58 mediabox vdr[1293]: transfer thread started (pid=1293)
> >> Aug 27 00:14:58 mediabox vdr[1294]: receiver thread started on device
> >> 1
> >> (pid=1294)
> >> Aug 27 00:15:02 mediabox vdr[1320]: recording thread started
> >> (pid=1320)
> >> Aug 27 00:15:02 mediabox vdr[1293]: ERROR (transfer.c,108): Operation
> >> not permitted
> >> Aug 27 00:15:13 mediabox vdr[1294]: buffer usage: 80% (pid=1293)
> >> Aug 27 00:15:14 mediabox vdr[1294]: buffer usage: 85% (pid=1293)
> >> Aug 27 00:15:14 mediabox vdr[1294]: buffer usage: 90% (pid=1293)
> >> Aug 27 00:15:14 mediabox vdr[1294]: buffer usage: 95% (pid=1293)
> >> Aug 27 00:15:15 mediabox vdr[1294]: buffer usage: 100% (pid=1293)
> >> Aug 27 00:15:15 mediabox vdr[1294]: ERROR: ring buffer overflow (89
> >> bytes dropped)
> >> Aug 27 00:15:22 mediabox vdr[1293]: ERROR: PES packet length overflow
> >> in remuxer (stream corruption)
> >>
> >> what I see and hear on my TV is very crappy but the recorded file is
> >> good. this append only when I watch the same channel I record.
> >> I have the same problem with old version of vdr like 1.2.1 and 1.2.2.
> >
> > Are you sure you have DMA activated for your harddisk?
> >
> > Klaus
> 
> yes, of course, here the hdparm:
> 
> /dev/hda:
>   multcount    = 16 (on)
>   IO_support   =  1 (32-bit)
>   unmaskirq    =  1 (on)
>   using_dma    =  1 (on)
>   keepsettings =  0 (off)
>   readonly     =  0 (off)
>   readahead    =  8 (on)
>   geometry     = 3333/255/63, sectors = 53550304, start = 0
> 
> and I forgot to say that if I stop to record the video and audio
> problem continue until I switch channel. If I watch a channel and
> record another one there is no problem, all works perfectly.

Then you may want to try activating the lines

        /*
        if (!gotBufferReserve) {
           if (ringBuffer->Available() < 4 * MAXFRAMESIZE) {
              usleep(100000); // allow the buffer to collect some reserve
              continue;
              }
           else
              gotBufferReserve = true;
           }
           */

in VDR/transfer.c (simply by removing the comment characters).

Klaus


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index