[MPlayer-dev-eng] [PATCH] better seeking in dvd

Corey Hickey bugfood-ml at fatooh.org
Sun May 7 22:49:57 CEST 2006


Nico Sabbi wrote:
> Corey Hickey wrote:
> 
>> For those to whom my response seems a bit out of context, 
>>
> what response? did I lose something?

No, that was just so other people wouldn't get confused. :)

>> I tested a
>> couple earlier revisions of this patch before Nico posted it to the
>> list. Anyway:
>>
>>
>> This works very well now on The Fellowship of the Ring, but still has
>> problems with Star Wars. I assume the problem is due to the PTS resets
>> -- it happens in their vicinity, both in the beginning of the movie and
>> at the reset near the middle. Here's a bit more detail.
>>
>> - When the current position is a little past one of the early resets,
>> seeking forward by 10s or 60s jumps back to an earlier position.
>> - When the current position is far past the early resets, all seeking is
>> fine, until:
>> - When the current position is past the mid-movie reset, seeking by 10s,
>> 60s, or 600s jumps back to near the beginning of the movie.
>> - 'mplayer -ss xxxx' hits EOF when xxxx is past the mid-movie PTS reset,
>> even if xxxx is less than the actual movie length. Actually, the old
>> code can't handle that either, but it would be really nice to have,
>> since -ss is nearly useless for seeking in such DVDs.
>>
>> Nico, is there any more information I can provide short of mailing you
>> the DVD? :)
>
> please, resend the output of ifo_dump of Star Wars: the one you sent me is
> either broken or plain wrong, because there are no timings.
> And make sure you are using this last patch, please.

Yes, I'm using the latest patch.

for ((i=0 ; i <= 16 ; ++i)) ; do ifo_dump /cdrom $i &> ifo_dump.$i ; done

I'm going to send you the output of that command separately -- it's 117K
compressed.

-Corey




More information about the MPlayer-dev-eng mailing list