Mailing List archive

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

[linux-dvb] AW: Re: cutting problems with VDR 0.80



Klaus,

I have problems with cutting, too. The log shows the following entries:

Jun 10 12:00:09 l0100001 vdr-mp3[2400]: video cutting thread started
(pid=2400)
Jun 10 12:00:09 l0100001 vdr-mp3[914]: info: Schnitt gestartet
Jun 10 12:00:12 l0100001 vdr-mp3[2397]: input thread ended (pid=2397)
Jun 10 12:00:12 l0100001 vdr-mp3[2396]: output thread ended (pid=2396)
Jun 10 12:00:57 l0100001 vdr-mp3[2400]: ERROR (dvbapi.c,1196): Bad address
Jun 10 12:00:57 l0100001 vdr-mp3[2400]: end video cutting thread

This is vdr 0.8 (with an mp3 extension) and a current dvb driver. I use 2
"old" DVB-S cards.

Line 1196 points to

void cCuttingBuffer::Action(void)
{
  [...]
              if (fromFile >= 0) {
                 if (Length <= (int)sizeof(buffer)) {
                    if (read(fromFile, buffer, Length) < 0) {
===>                   LOG_ERROR;
                       break;
                       }
                    }

Another error while recording:

Jun 10 06:25:04 l0100001 vdr-mp3[14067]: ERROR (dvbapi.c,535): Bad file
descriptor
Jun 10 06:25:04 l0100001 vdr-mp3[14067]: input thread ended (pid=14067)
Jun 10 06:25:04 l0100001 vdr-mp3[12837]: buffer stats: 98888 (9%) used
Jun 10 06:25:04 l0100001 vdr-mp3[12837]: timer 5 stop
Jun 10 06:25:04 l0100001 vdr-mp3[12837]: deleting timer 5
Jun 10 06:25:08 l0100001 vdr-mp3[12837]: ERROR: channel 498 not sync'ed!
Jun 10 06:25:08 l0100001 vdr-mp3[12837]: retrying
Jun 10 06:25:10 l0100001 vdr-mp3[12837]: ERROR: channel 498 not sync'ed!
Jun 10 06:25:10 l0100001 vdr-mp3[12837]: retrying
Jun 10 06:25:12 l0100001 vdr-mp3[12837]: ERROR: channel 498 not sync'ed!
Jun 10 06:25:12 l0100001 vdr-mp3[12837]: retrying
Jun 10 06:25:34 l0100001 kernel: outcommand error 1
Jun 10 06:25:36 l0100001 last message repeated 2 times
Jun 10 06:25:36 l0100001 kernel: dvb: ARM RESET

Line 535 points to

void cRecordBuffer::Input(void)
{
  dsyslog(LOG_INFO, "input thread started (pid=%d)", getpid());

  uchar b[MINVIDEODATA];
  time_t t = time(NULL);
  recording = true;
  for (;;) {
      int r = read(videoDev, b, sizeof(b));
      if (r > 0) {
         uchar *p = b;
         while (r > 0) {
               int w = Put(p, r);
               p += w;
               r -= w;
               }
         t = time(NULL);
         }
      else if (r < 0) {
         if (errno != EAGAIN) {
===>        LOG_ERROR;
            if (errno != EBUFFEROVERFLOW)
               break;
            }
         }

Recording is very unreliable, resulting in zero-bytes files. When recording
with the 2nd dvb card, only 10 percent of the recordings are successful.
When recording to the 1st dvb card the results are somewhat better.

ciao
  Richard


-----Ursprungliche Nachricht-----
Von: kls@cadsoft.de [mailto:kls@cadsoft.de]Im Auftrag von Klaus
Schmidinger
Gesendet: Montag, 11. Juni 2001 14:14
An: linux-dvb@linuxtv.org
Betreff: [linux-dvb] Re: cutting problems with VDR 0.80


Juergen Scherer wrote:
>
> Hello list,
>
> Henning Holtschneider <hh@holtschneider.com> wrote:
>
> > Hi, I just tried to remove the commercials from an X-Files episode I
recorded
> > two weeks ago with a preX version of VDR. The cutting process seems to
run
> > fine, but the result only shows half of what I have cut before (the net
> > length of the episode should be around 45 minutes but the resulting file
> > is only about 24 minutes long). I examined the marks.vdr file and all
> > cutting marks are there. I then tried to cut a recording I made with the
> > current 0.80 release and it ends prematurely, too. The result can be
> > reproduced if I remove the cut files and start the cutting process
again.
> > How can I determine what's going wrong? Regards, hh
>
> I justed wanted to confirm this behaviour of vdr-0.80 (I didn't test
> preX). The resulting cut-file always seems to be only half the length it
> should be. The graphical representation of the cut marks is looking
> OK, jumping to marks is working properly, only the cutting itself
> doesn't work as expected without an error message in the logfile.
>
> Maybe I should enable some debugging...
>
> Henning, did you get some response or are we the only ones with the
> problem or is nobody cutting records ?

I have just now received this message from the list (maybe some problem
with the list server?). I haven't had time to look into this problem yet,
but I guess it must be somewhere in dvbapi.c, cCuttingBuffer::Action().

Klaus
--



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index