[MEncoder-users] mencoder: white converted to grey

Pieter Eendebak pieter.eendebak at gmail.com
Thu Mar 20 00:13:50 CET 2008


Dear all,

I am trying to convert a sequence of images (either png or jpg) to a
movie. Using mencoder I can create a movie, but the color white from
the images is converted to gray in the output movie. How can I solve
this problem? mencoder command and output is included below

With kind regards,
Pieter Eendebak

[MENCODER COMMAND]

mencoder mf:///home/eendebak/test/gim*png -mf fps=10:type=png -ovc
lavc -lavcopts vcodec=mpeg4:mbd=2:trell:vbitrate=2300 -nosound    -o
gim-.avi

[MENCODER OUTPUT]

MEncoder 1.0rc2-4.1.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU     T7250  @ 2.00GHz (Family: 6,
Model: 15, Stepping: 13)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

success: format: 16  data: 0x0 - 0x0
MF file format detected.
[mf] search expr: /home/eendebak/test/gim*png
[mf] number of files: 8 (32)
VIDEO:  [MPNG]  0x0  24bpp  10.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:16  fourcc:0x474E504D  size:0x0  fps:10.00  ftime:=0.1000
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffpng] vfm: ffmpeg (FFmpeg PNG decoder)
==========================================================================
VDec: vo config request - 420 x 300 (preferred colorspace: RGB 24-bit)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using RGB 24-bit as output csp (no 5)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8
[swscaler @ 0x87867b0]SwScaler: BICUBIC scaler, from rgb24 to yuv420p using MMX2
[swscaler @ 0x87867b0]SwScaler: using 4-tap MMX scaler for horizontal
luminance scaling
[swscaler @ 0x87867b0]SwScaler: using 4-tap MMX scaler for horizontal
chrominance scaling
[swscaler @ 0x87867b0]SwScaler: using 1-tap MMX "scaler" for vertical
scaling (YV12 like)
[swscaler @ 0x87867b0]SwScaler: 420x300 -> 420x300
videocodec: libavcodec (420x300 fourcc=34504d46 [FMP4])
[VE_LAVC] High quality encoding selected (non-realtime)!
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.
Pos:   0.1s      1f (14%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
Pos:   0.2s      2f (28%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
Pos:   0.3s      3f (42%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
Pos:   0.4s      4f (57%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
Pos:   0.5s      5f (71%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
Pos:   0.6s      6f (85%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
Pos:   0.7s      7f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
Pos:   0.8s      8f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]

Flushing video frames.
Writing index...
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not
writing vprp header.

Video stream:  124.170 kbit/s  (15521 B/s)  size: 12417 bytes  0.800
secs  8 frames



More information about the MEncoder-users mailing list