<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">&lt;<a href="mailto:cpinkham@bc2va.org" target="_blank">cpinkham@bc2va.org</a>&gt;</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>
&gt; Does commercial flagging work when scheduled to start when the recording<br>
&gt; starts? In 0.25 at least (maybe it was fixed sometime later in 0.26), it<br>
&gt; hits end-of-file and aborts, so I have to run it after the recording has<br>
&gt; ended.<br>
<br>
If this is broken for some, I&#39;d suspect it&#39;s due to variable frame-rate<br>
recordings.  The flagger doesn&#39;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&#39;m using the IVTV driver, so it&#39;s MPEG2 (-TS I think; maybe -PS) from a Hauppauge PVR-500. I don&#39;t know if it&#39;s variable frame rate (I don&#39;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&#39;t know if it was fixed yet, in 0.26-fixes or master.<br>

<br></div><div class="gmail_extra">Karl<br></div></div>