[MPlayer-users] mplayer -ss fails on wmv

Jon Drukman jsd at cluttered.com
Mon Nov 8 18:59:32 CET 2010


Example command line:

mplayer file.wmv  -nosound -vf scale=120:-2 -ssf lgb=1.0 -sws 7 -vo
jpeg:outdir=foo -frames 1

This outputs a single frame from the beginning of the wmv as a jpg.  No problem.
 However, if I add -ss to the command, like so:

mplayer file.wmv -ss 2 -nosound -vf scale=120:-2 -ssf lgb=1.0 -sws 7 -vo
jpeg:outdir=foo -frames 1

I get no jpeg output, and no errors or warnings from mplayer.  The file in
question is longer than 2 seconds, so that isn't the problem.  Bug in mplayer or
just unsupported with wmv, or ?


Here's the output from the second attempt:

MPlayer SVN-r31984-4.1.2 (C) 2000-2010 MPlayer Team

Playing file.wmv.
ASF file format detected.
[asfheader] Audio stream found, -aid 1
[asfheader] Video stream found, -vid 2
VIDEO:  [WMV2]  640x480  24bpp  1000.000 fps  694.0 kbps (84.7 kbyte/s)
jpeg: Progressive JPEG disabled.
jpeg: Baseline JPEG enabled.
Opening video filter: [scale w=120 h=-2]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffwmv2] vfm: ffmpeg (FFmpeg WMV2/WMV8)
==========================================================================
Audio: no sound
Starting playback...
V:  49.7   0/  0 ??% ??% ??,?% 0 0                                             
                                                    


Exiting... (End of file)

-jsd-



More information about the MPlayer-users mailing list