<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Sep 5, 2013 at 3:16 AM, Chris Pinkham <span dir="ltr"><<a href="mailto:cpinkham@bc2va.org" target="_blank">cpinkham@bc2va.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">* On Tue Sep 03, 2013 at 11:18:08AM -0700, Karl Newman wrote:<br>
> Does commercial flagging work when scheduled to start when the recording<br>
> starts? In 0.25 at least (maybe it was fixed sometime later in 0.26), it<br>
> hits end-of-file and aborts, so I have to run it after the recording has<br>
> ended.<br>
<br>
If this is broken for some, I'd suspect it's due to variable frame-rate<br>
recordings. The flagger doesn't know about EOF, it just tries to stay about<br>
30 seconds behind real-time by sleeping a little more or less every so often.<br>
It does this by counting frames though, so if the frame rate is not constant,<br>
it can over-run the end of the file. I believe it would be possible to<br>
update the flagger to detect when it was near the end of the recorded file,<br>
but no one has looked into this yet.<br>
<br>
--<br>
Chris<br></blockquote></div><br></div><div class="gmail_extra">Hmm... I'm using the IVTV driver, so it's MPEG2 (-TS I think; maybe -PS) from a Hauppauge PVR-500. I don't know if it's variable frame rate (I don't think so, probably just NTSC fixed rate). It used to work correctly until 0.25, when I suspect something in ffmpeg broke. I just don't know if it was fixed yet, in 0.26-fixes or master.<br>
<br></div><div class="gmail_extra">Karl<br></div></div>