[MPlayer-users] Extracting frames from videos on the command line
Geoff Soper
geoff.mplayer at alphaworks.co.uk
Fri Apr 7 01:15:41 CEST 2006
I'm trying to use MPlayer to extract frames from videos and save them as
JPEGs.
I've tried the following command but got no output and the response
below. I assume the problem is to do with the line "The selected
video_out device is incompatible with this codec."? If this is the case
then I don't know what to do about it. Can someone suggest what I should
do to correct this?
Many thanks,
Geoff
mplayer -vo jpeg -frames 1 Words.mpg
MPlayer 1.0pre7try2-Fedora-GS-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Intel (Family: 8, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with
--disable-runtime-cpudetection.
Failed to open /dev/rtc: No such file or directory (it should be
readable by the user.)
Playing Words.mpg.
Cache fill: 4.49% (376836 bytes) MPEG-PS file format detected.
VIDEO: MPEG1 160x120 (aspect 1) 24.000 fps 92.0 kbps (11.5 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 32.0 kbit/2.27% (ratio: 4000->176400)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
jpeg: Parsing suboptions.
jpeg: Progressive JPEG disabled.
jpeg: Baseline JPEG enabled.
jpeg: Suboptions parsed OK.
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 160 x 120 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
AF_pre: 44100Hz/2ch/s16le
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or
directory
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
[AO SDL] Unable to open audio: No available audio device
AO: [null] 44100Hz 2ch s16le (2 bps)
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 160 x 120 (preferred csp: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
No accelerated colorspace conversion found
SwScaler: using unscaled Planar YV12 -> RGB 24-bit special converter
VO: [jpeg] 160x120 => 160x120 RGB 24-bit
jpeg: . - Output directory already exists and is writable.
A: 1.4 V: 1.3 A-V: 0.044 ct: 0.004 2/ 2 ??% ??% ??,?% 0 0 4%
Exiting... (End of file)
More information about the MPlayer-users
mailing list