[MPlayer-users] how I can get several jpegs from flv's in one step?

eigentlichimmer at abwesend.de eigentlichimmer at abwesend.de
Mon Apr 2 17:55:03 CEST 2007


Hi !

If i try to get several images from a flv-file in one step with e.g.
mplayer -sstep 3 -ao null -vo jpeg:quality=80 testfile.flv
I get a lot of errors in the generated jpeg's. There are block artefacts in all the images but not the first one. I am using MPlayer-mingw32-1.0rc1 on a Windows XP system. I tried it with 2 different flv-files. The output of the first one was:


C:\...\MPlayer-mingw32-1.0rc1>mplayer -
sstep 3 -ao null -vo jpeg:quality=80 testfile.flv
MPlayer 1.0rc1-3.4.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection.
c:/windows/fonts/arial.ttf doesn't look like a bitmap font description, ignoring
.
Cannot load bitmap font: c:/windows/fonts/arial.ttf

Playing testfile.flv.
libavformat file format detected.
VIDEO:  [VP6F]  640x512  0bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
jpeg: Parsing suboptions.
jpeg: Progressive JPEG disabled.
jpeg: Baseline JPEG enabled.
jpeg: Suboptions parsed OK.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffvp6f] vfm: ffmpeg (FFmpeg VP6 Flash decoder)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 96.0 kbit/6.80% (ratio: 12000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 640 x 512 (preferred colorspace: 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.
SwScaler: using unscaled yuv420p -> rgb24 special converter
VO: [jpeg] 640x512 => 640x512 RGB 24-bit
jpeg: . - Output directory already exists and is writable.


MPlayer interrupted by signal 11 in module: decode_video
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.



The Output of the second one was:



C:\...\MPlayer-mingw32-1.0rc1>mplayer -
sstep 3 -ao null -vo jpeg:quality=80 testfile2.flv
MPlayer 1.0rc1-3.4.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with runtime CPU detection.
c:/windows/fonts/arial.ttf doesn't look like a bitmap font description, ignoring
.
Cannot load bitmap font: c:/windows/fonts/arial.ttf

Playing testfile2.flv.
libavformat file format detected.
VIDEO:  [FLV1]  320x240  0bpp  15.000 fps    0.0 kbps ( 0.0 kbyte/s)
jpeg: Parsing suboptions.
jpeg: Progressive JPEG disabled.
jpeg: Baseline JPEG enabled.
jpeg: Suboptions parsed OK.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffflv] vfm: ffmpeg (FFmpeg Flash video)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 22050 Hz, 2 ch, s16le, 8.0 kbit/1.13% (ratio: 1000->88200)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [null] 22050Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 320 x 240 (preferred colorspace: 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.
SwScaler: using unscaled yuv420p -> rgb24 special converter
VO: [jpeg] 320x240 => 320x240 RGB 24-bit
jpeg: . - Output directory already exists and is writable.


Exiting... (End of file)


Can somebody help me to get the images from flv without errors ?



More information about the MPlayer-users mailing list