Mailing List archive

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

[vdr] Re: Curious behaviour with radio record



>Under vdr-1.3.17, I've recorded 60 minutes of radio emission;
>when I've tried to replay, edit and cut it, I found a curious behaviour :
>1/ vdr is displaying only 27 minutes instead of  60 minutes.
>2/ in video0 directory : 001.vdr, 002.vdr, 003.vdr etc... are only 9.4 MB
>files.
>3/ It's very difficult to edit the radio record : it's impossible to move
>thinly along the record,
>cursor is moving too fast and very irregularly.

>Do you notice this strange behaviour in radio records ?
>Is it a bug of vdr under radio record, or did I missed something ?

>Fix reported back in November but it has yet to make it in to vdr:
>http://www.linuxtv.org/mailinglists/vdr/2004/11-2004/msg00081.html

=====================================================
....
The solution I worked out was to force synced = true for radio recordings: I
can see no bad effects from this, apart from the aesthetics of it being
impossible for it to be synced in practice!

--- remux.c.orig        2004-10-24 10:25:33.000000000 +0100
+++ remux.c     2004-11-03 10:43:41.000000000 +0000
@@ -541,6 +541,8 @@
      // XXX but it would probably be best to only use '0'
+     // Force syncing of radio channels to avoid "no useful data" error
+     synced = true;
      if (PictureType)
         *PictureType = I_FRAME;
      return resultBuffer->Get(Count);

Some of the line numbers may have changed (that was for vanilla vdr-1.3.15)
but it shouldn't be hard to patch by hand.
Since patching this, I have had no problems with radio recordings.

=====================================================

Hi,
I've patched vdr-1.3.17 like you, and multiple 9.4 MB files problem is gone.
But all others strange behaviours are still there.

Does someone have an idea how to fix that ?

Thanks.






Home | Main Index | Thread Index