[mythtv-users] mythcommflag && mythvideo (2nd try)

David Brodbeck gull at gull.us
Tue Oct 20 23:57:50 UTC 2009


Nasa wrote:
> Hi (1st email didn't seem to go through, forgive me if it shows up later),
> 
> I noticed in some earlier threads that videos that are added to mythvideo (depending on their type) require
> a seek table to be created in order for fast forward/rewind to work correctly.  I am noting that this
> needs to be done for m2ts, ts, vob, and ?? formats.  Seek table creation seems to be done with
> 
> mythcommflag --video Wonder_Woman.m2ts
> 
> as an example...  I picked this one for a reason -- running this command seems to never ends (I let it run for over 12 hours).  As
> it would turn out, ffmpeg has a problem with this file as well.  However, I can watch the movie using the internal player.  This
> isn't an isolated file.

You might want to try something like:

mythtranscode --mpeg2 --buildindex --allkeys --showprogress --video 
--infile Wonder_Woman.m2ts

I got that command from here:
http://www.mythtv.org/wiki/Repairing_the_Seektable#Using_mythtranscode
Except I added the "--video" flag to tell it that the file is a 
mythvideo file.

I've had better luck with this than with mythcommflag for MPEG files of 
all types (not just MPEG2.)  This generates a large output file you'll 
have to delete.  I haven't tried this yet but it's probably possible to 
use --outfile to direct this to /dev/null.



More information about the mythtv-users mailing list