[mythtv-users] PVR-150/300/500 HVR-1600 commflag workaround

Hika van den Hoven hikavdh at gmail.com
Mon Nov 3 08:40:44 UTC 2014


Hoi Hika,

Monday, November 3, 2014, 8:11:47 AM, you wrote:

> Hoi faginbagin,

> Monday, November 3, 2014, 7:20:52 AM, you wrote:

>> On 11/2/2014 4:24 PM, faginbagin wrote:
>>> I think I know why commflagging isn't working on recordings made using these analog tuners. And I have a workaround. If, when you run the mythcommflag command from the command line, you get a lot of errors like this:
>>> 2014-11-02 16:09:46.253190 E  decoding error
>>>                          eno: Unknown error 541478725 (541478725)
>>> it's probably because you've got a bad record in the recordedseek table for that recording, something like this:
>>> chanid  starttime   mark    offset  type
>>> 2005    2014-11-02 07:00:00 0   4294967146  9
>>> 
>>> It's supposed to be the offset of the first frame (mark=0) and should be a very small number. I haven't figured out where this bogus offset comes from, but you should be able to work around it by rebuilding the seek table for each affected recording. For example:
>>> 
>>> mythcommflag --file <storage-directory>/filename.mpg --rebuild
>>> 
>>> Once you've done that, commercial flagging should work, and should work better with my patches from:
>>> https://code.mythtv.org/trac/ticket/12308
>>> 
>>> I'm now going to hunt down where that bogus offset comes from, but a fix probably won't help existing recordings. You'll need to rebuild the seek table for those.
>>> 
>>> HTH,
>>> Helen

>> I found the root cause. It was a conversion from a 32 bit unsigned
>> integer to a 64 bit signed integer that caused the bogus recordedseek record. The ticket:
>> https://code.mythtv.org/trac/ticket/12313
>> has a patch that will prevent it from happening to future recordings.

>> Helen
>> _______________________________________________

> Could this be why I have to rebuild all my seek tables since I moved
> from 0.26 to 0.27? I have two PVR500's


> Tot mails,
>   Hika                            mailto:hikavdh at gmail.com

I've applied both patches on my backend. I'm busy with some
data migration (bought 2 4Tb diska) so will test if that's finished
copying. 


Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list