[mythtv] MPEG4 and seektables
David Asher
david.asher at caviumnetworks.com
Sat Mar 18 13:42:40 UTC 2006
Thanks, I know about the --video option. I've imported the .avi into
the MythTV database -- it looks like a recording. So either is an
option. --video if i want to play from MythVideo and --rebuild -f if I
play from Watch Recordings.
When I looked under the hood it appears the only difference between
--video and --rebuild -f is the table the data is inserted into. I can
see in the -v playback log the seek table being used. It is just corrupt.
Now I'm trying to track down WHY the seek table is corrupt. It looks
like the keyframes produced by aviindex (see my second post) are correct
for video seeking, but lose audio sync. I'm trying to get a better
understanding of how seeking works to debug this.
Thanks,
David.
Michael T. Dean wrote:
> On 03/17/2006 11:57 AM, David Asher wrote:
>
>> I started using Steve Adeff's tv.com script (thanks Steve!) to load some
>> videos into the MythTV database.
>>
>> The are MPEG4 .avi's. They play fine, but seeking is terrible. I kinda
>> expected that since there was no seek table.
>>
>> So, I thought: "lets create a seek table for them". I tried:
>>
>> $ mythcommflag --rebuild -f <avifile>
>>
>> This acted like it was working, but the resulting seek table is horribly
>> broken.
>>
>>
> ...
>
>> So, I'm thinking the key frames weren't correctly found.
>>
>> I've got 2 questions:
>>
>> 1. should i expect seek table generation to work for an MPEG4 ?
>>
>> 2. what is the difference between the --video and --rebuild -f options
>> for creating the seek table?
>>
>>
>
> mythcommflag --help
> 2006-03-18 02:46:31.809 Valid Options are:
> -c OR --chanid chanid Flag recording with given channel ID
> -s OR --starttime starttime Flag recording with given starttime
> -f OR --file filename Flag recording with specific filename
> --video filename Rebuild the seektable for a video
> (non-recording) file
>
> Use "--video" for non-recordings.
>
> Mike
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
More information about the mythtv-dev
mailing list