<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Sep 22, 2013 at 9:41 AM, Jim Stichnoth <span dir="ltr"><<a href="mailto:stichnot@gmail.com" target="_blank">stichnot@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I've looked at the sample you sent me. (And BTW, if I ask you for the full recording, it's only because I want to learn more about cassowaries. :) ) </div>
</blockquote><div><br></div><div>That made me laugh.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">
</div><br></div><div class="gmail_extra">For reasons beyond my understanding, the MythTV player (which is used for mythcommflag) doesn't try to deal with "NAL units" in keyframe detection (see <a href="https://github.com/MythTV/mythtv/blob/master/mythtv/libs/libmythtv/avformatdecoder.cpp#L3126" target="_blank">https://github.com/MythTV/mythtv/blob/master/mythtv/libs/libmythtv/avformatdecoder.cpp#L3126</a>), so for videos encoded this way, it will fail to find any keyframes. I'm not familiar with Handbrake, but perhaps there's a setting that would steer it away from "NAL unit" and toward "Annex B".</div>
</div></blockquote><div><br></div><div>From a quick glimpse, I couldn't see anything. I'm not married to Handbrake, so if ffmpeg can do the same task and not use NAL units, I'm game to try. (Basically the handbrake job vertically/horizontally crops SD shows broadcast on HD channels, saving a few gigs a show until I can get a new drive.)<br>
<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><div dir="ltr">
<div class="gmail_extra"><br></div><div class="gmail_extra">With that said, this kind of file should not require a seektable for seeking or for duration display. Your 3-minute sample plays and seeks perfectly on my system. So I'm thinking that maybe you have extra markup in the database from the original recording file.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Try copying the file from that 3-minute sample, or from the original recording, into your Video Gallery directory, then do a rescan from the Video Gallery, and see if the file plays correctly. If it does, this suggests incorrect markup for the recording. "mythutil --clearseektable --chanid xxx --starttime yyy" doesn't currently clear this particularly markup, so to continue testing, one would need to directly execute a DB query to clear the extra markup.</div>
</div></blockquote><div><br></div><div>I copied it over to Mythvideo and was able to seek/fast forward.<br><br></div><div>Thanks for your detective work.<br></div></div></div></div>