[MPlayer-users] -ss sometimes jumping dramatically in some mpg/mpeg2 files

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Sun Jul 3 18:48:46 CEST 2005


On Saturday, 02 July 2005 at 21:21, Heitzso wrote:
[...]
> CLUES?  This is hurting me.  I'm 4 months into a project that is
> relying on gmplayer being able to seek into an mpeg2 file +/-
> a couple of seconds.  I had assumed all was well because first
> few mpeg2 files I experimented with worked okay.  So I'll spend
> the time deep in the code if I have to to try to fix this problem.
> But I'd appreciate some pointers first whether a daily cvs will
> fix this, or whether all of the seek processing is happening deep
> in the libmpeg2 file, etc.

This has been beaten over and over again on the mailing list. There's no
reliable way of seeking in mpeg containers without reading the whole file.
That's because timestamps do not have to be montonous in an mpeg
container. MPlayer tries as best as it can to seek based on the bitrate,
but it's flaky at best.

R.

-- 
MPlayer RPMs maintainer: http://rpm.greysector.net/mplayer/
"I am Grey. I stand between the candle and the star. We are Grey.
 We stand between the darkness ... and the light."
        -- Delenn in Grey Council in Babylon 5:"Babylon Squared"




More information about the MPlayer-users mailing list