[MPlayer-users] Always extracting first frame, position seems to be ignored...

Nelson COELHO n.coelho at netia.com
Tue Sep 4 15:04:53 CEST 2007


> Hello,
> 
> I am new here, excuse if my question is out of purpose.
> 
> Well, I'm trying to get an image at a given position but MPLayer
> always extract first frame of the video...
> 
> Do you know what is wrong ? I'm using MPlayer 1.0pre8-3.4.2 on
> Windows XP 32 bits.

What is wrong is that you are using a highly outdated version of
MPlayer. There is an official release more recent than 1.0pre8; for that
matter, it is recommended to use the latest development version rather
than the official release.

>>> Well, it is because i thought a bug was introduced in last version
>>> But it is the same with MPlayer 1.0rc1-3.4.2 version...

> Here is the commandline :
> 
> mplayer -ss 00:20:00 -vo jpeg -frames 1
"c:\temp\mplayerTools\avi_sample.avi"
> 
> mplayer should extract frame at 20 seconds, isn'it ? But I get the
> frame of the beginning of the video...

For a long time, there was a bug such that MPlayer would always give the
first frame of the movie first. If you use '-frames 2', then you should
get the first frame of the movie and the frame at 20 seconds.

This bug has, I seem to recall, been fixed. However, I do not think that
the fix was long enough ago that it would be included in the most recent
official release, 1.0rc1. If you want the fix (and many other
improvements!), you will need to obtain a copy of the latest development
source tree and compile it yourself. This will also help you if you want
to get help with MPlayer or MEncoder on these mailing lists.

>>> Well, the bug seems always here in version 1.0rc1-3.4.2, I hope it
is fixed in laterst development source tree but I don't really know how
>>>compilation works on win32 environment...

>>> Thank you for your help.

>>> Nelson




More information about the MPlayer-users mailing list