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 (p.s. i know you will see i'm not using the latest mplayer, but i tested it on the latest version which also doesn't work...):
"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
+ Reply to Thread
Results 1 to 1 of 1
Similar Threads
-
Qt + Mac OS X + mplayer embedding,...
By Selur in forum ProgrammingReplies: 0Last Post: 23rd Apr 2012, 13:22 -
Mplayer as an *encoder*?
By RogerTango in forum Video ConversionReplies: 5Last Post: 31st Jan 2010, 10:59 -
MPLAYER pipe to MENCODER possible?
By neapandele in forum Newbie / General discussionsReplies: 0Last Post: 27th Oct 2009, 05:56 -
mplayer freeze
By ajv in forum ffmpegX general discussionReplies: 2Last Post: 7th Jul 2009, 16:15 -
mencoder and mplayer packages
By mattr in forum ffmpegX general discussionReplies: 1Last Post: 30th Dec 2007, 08:05