[mythtv-users] Movie downloaded from MythWeb with bad runtime: how to fix?

Robert McNamara robert.mcnamara at gmail.com
Thu Jan 7 17:28:33 UTC 2010


On Thu, Jan 7, 2010 at 9:25 AM, Paul Gardiner <lists at glidos.net> wrote:
> Frank Merrill wrote:
>>
>> On Thu, Jan 7, 2010 at 11:47 AM, Paul Gardiner <lists at glidos.net> wrote:
>>>
>>> All my recordings are from UK Freeview, so MPEG2. I've just downloaded
>>> one via MythWeb, and while I can see from dotting around in the movie
>>> that the whole 55mins is there, something is causing it to report as
>>> having a runtime of 34mins. Anybody know a way I can fix that?
>>>
>>>
>>
>> A bad seek table will report incorrect length.
>> If the seek table for the recording is incorrect you might want to read
>> this:
>>
>> http://www.mythtv.org/wiki/Repairing_the_Seektable
>
> Oh right! Silly me. I hadn't realised the seek tables were put into the
> mpg file. I'd gotten the idea from somewhere that they were kept
> somewhere else by Myth and used only when Myth plays them back. Thanks,
> I'll give that a try.

They are, and they are.  Rebuilding the seektable will only help if
your player is Myth's Internal one.

If you want to be able to play it *everywhere*, you will likely need
to remux the recording into a new container.

Example:

ffmpeg -i infile.mpg -acodec copy -vcodec copy outfile.mpg

Robert


More information about the mythtv-users mailing list