[MPlayer-users] -fps and -ss and AVI files

Arpi arpi at thot.banki.hu
Mon Aug 12 12:34:02 CEST 2002


Hi,

> I noticed that -ss seems to be bound to the playback framerate. For
> instance, 'mplayer -fps 24 -ss 100' would seek to the same place as
> 'mplayer -fps 12 -ss 200'. 'mplayer -fps 12 -ss 100' seeks half as far.
> 
> I've tested AVI files encoded with DIVX3, libavcodec MPEG4, and "MPG4"
> (I'm not sure what exactly that is), and they all behaved this way.
> 
> The Sorenson v1 Quicktime file and the mpeg-1 files I tested didn't do
> this - they seemed to seek to the same time position regardless of
> framerate.
> 
> Is this a bug, or just a side-effect of AVI demuxing?

hmm.
for qt/mov and mpeg, seeking is done by time index table or bitrate,
so they ignore fps. for avi seeking is based on video frame, calculated from
timepos*fps.

i don't think it's a bug, but you're probably right, it should be
consistent.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu




More information about the MPlayer-users mailing list