[MPlayer-users] Cannot Screeenshot certain videos

Wesley De La Harpe wesley.delaharpe at gmail.com
Mon Jan 8 08:02:22 CET 2007


Hello,

i am calling mplayer from the comand line to generate a screenshot.

"mplayer 1.wmv -ss 00:00:05 -nosound -vo jpeg -frames 1"

this line of code works for most video files, but has a problem with quite a
few. MPUI appears to play it fine, mplayer itself also can play it if i use
the code: "mplayer 1.wmv".

i probably do not have the right parameters which will work for all the
files mplayer can support.

This is the output when i try execute the command:

"C:\mplayer>mplayer 1.wmv -ss 00:00:05 -nosound -vo jpeg -frames 1
MPlayer dev-CVS-050928-16:38-3.4.2 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner (Family: 6, Stepping:
3)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with
--disable-runtime-cpudetection.

c:/windows/fonts/arial.ttf doesn't look like a font description, ignoring.
Cannot load font: c:/windows/fonts/arial.ttf
Playing 1.wmv.
VIDEO:  MPEG1  384x288  (aspect 1)  24.000 fps  960.0 kbps (120.0 kbyte/s)
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 - 384 x 288 (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.
Also try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
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))
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 384 x 288 (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] 384x288 => 384x288 RGB 24-bit
jpeg: . - Output directory already exists and is writable.


Exiting... (End of file)"


Please can somebody assist me?

Kind Regards,
WeZ
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.wmv
Type: video/x-ms-wmv
Size: 477785 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20070108/dbb2ac07/attachment.wmv>


More information about the MPlayer-users mailing list