[mythtv-users] Problems commflagging on HDPVR

Justin Johnson justin.johnson3 at gmail.com
Fri Jul 30 23:26:31 UTC 2010

On Fri, Jul 30, 2010 at 10:22 AM, Kevin Plew <kevincplew at gmail.com> wrote:
> I have the exact same issue.
> Thanks
> On Fri, Jul 30, 2010 at 9:45 AM, Justin Johnson
> <justin.johnson3 at gmail.com> wrote:
>> I've recently upgraded to an HDPVR and find it to be the absolute
>> bee's knees but I'm having some issues with commflagging. First of
>> all, it takes much longer to commflag, in order to commflag in "real
>> time" on 1080i I had to lower the bitrate for high resolution
>> recordings. That's not my problem so much, as it's perfectly
>> understandable. My system is a core2duo 2.66GHz so I'm just barely not
>> able to watch HDPVR recordings using software decoding, so I expect
>> the commflagger to have problems keeping up as well, like I said
>> that's not the issue. The problem is that sometimes, rarely, the
>> commflagger doesn't start, I see a number of these messages in
>> mythbackend.log:
>> 2010-07-29 22:30:19.025
>> RingBuf(/var/lib/mythtv/recordings/1855_20100729223000.mpg): Invalid
>> file (fd -1) when opening
>> /var/lib/mythtv/recordings/1855_20100729223000.mpg'.
>> It seems to indicate that the file hasn't been synced to disk yet, or
>> something. The recording is fine and I'm able to watch, but it shows
>> up as not flagged. Now, this particular recording happened to start
>> just as mythfilldatabase was also running, so that may have had
>> something to do with it, but my recordings are on a different drive
>> than the db. I thought maybe it was due to limiting the number of
>> simultaneous jobs to 2, so I increased to 4 but got this problem
>> recording just a couple hours later. It only seems to be a problem
>> when there are a number of shows in a row that are recording. If I
>> requeue the commflag job, it runs just fine. I've only noticed it in
>> situations similar to this:
>> 9:00pm: 2 recordings, one on QAM and one on HDPVR (1080i)
>> 10:00pm: 1 recording on HDPVR (1080i)
>> The 10pm recording failed to start commflagging. A more complete log is this:

I've increased the size of my RingBuffer to 64MB, I'll report back
here if I see the same issue pop up again.
--Justin Johnson

More information about the mythtv-users mailing list