[mythtv-users] MythTV snv: Internal Player with mpeg2 files - wrong length a

Stephane Blackburn stephane_blackburn at hotmail.com
Thu Apr 5 15:37:33 UTC 2007

Thanks for the reply.

So, MythTV internal player can't play a mpeg file without having information 
in the seektable?

I know it's the same effect that a seek table problem...
But it's not a Myth recording...
I have the problem with every mpeg files that are on either local drive, 
samba shares...
The files are from different sources.

I don't use Mythcommflag or mythtranscode.  I prefer doing this myself with 
other tools.
Ex: I use VideoRedo in Windows to cut ads (can't find anything better in 
linux).  VideoRedo don't mess with the show length duration.   HiDefinition 
files are too big to let mythcommflag run IMO.  This is just too slow.  I 
don't mind having to fast forward ads manually.  I'm in Canada, and over 
here, the mythcommflag isn't always right with the ads removal.

I'm pretty sure that I wasn't having problem previously when seeking in 
mpeg2 files.  I record mpeg2 files for 2 years now (with VDR before and now 
MythTV).  I'm having problem with all the mpeg2 files, no matter where they 
come from.

Any idea?  Anyone being able to seek mpeg2 files correctly without having to 
populate the seek table?

>From: "Michael T. Dean" <mtdean at thirdcontact.com>
>Reply-To: Discussion about mythtv <mythtv-users at mythtv.org>
>To: Discussion about mythtv <mythtv-users at mythtv.org>
>Subject: Re: [mythtv-users] MythTV snv: Internal Player with mpeg2 files - 
>wrong	length and fast forward
>Date: Thu, 05 Apr 2007 11:23:07 -0400
>On 04/05/2007 11:03 AM, Stephane Blackburn wrote:
> > When I watch Mpeg2 files in MythVideo with Internal Player, I have two
> > problems.  I just reinstalled my frontend two times, using Ubuntu 6.10
> > 32bits.  I'm pretty sure that I didn't have the problem previously.
> >
> > 1-The length of the file is always wrong... Ex: a 40min file show 
> > for the duration.
> >
> > 2-"Audio buffer overflow, audio data lost!"  when I try to fast forward. 
>  I
> > totally lose control for a few seconds or minutes.. It depends if it's a
> > standard definition file or high definition.
> >
>Sounds like a broken seektable.  Run optimize_mythdb.pl (from the
>contrib directory) and then set it up to run in a daily cron job.  If it
>repairs the recordedseek table, you'll have to run "mythcommflag
>--rebuild" once for /each/ recording that's affected (i.e. in which you
>can't skip forward/backwards).  Then, if you also want commercials
>flagged in the just-fixed show, you'll have to run "mythcommflag"
>without the "--rebuild" argument (or just "mythcommflag --all").  See
>"mythcommflag --help" for more.
>Note, for your HDTV shows, you may have to use something like:
>mythtranscode --buildindex --chanid <CHANID> --starttime <STARTTIME>
>(replace <CHANID> and <STARTTIME> with appropriate values).  Again, see
>the "mythtranscode --help" output for more.
>mythtv-users mailing list
>mythtv-users at mythtv.org


More information about the mythtv-users mailing list