[MPlayer-users] MPEG encoding hangs
Thomas Ruedas
ruedas at dtm.ciw.edu
Wed Mar 26 20:18:41 CET 2008
Hi,
I was trying to encode a sequence of PNG images into an MPEG movie (rather
than the default AVI) and found that mencoder hangs when writing the
index. The movie file is created with a size of 4096 k, and mencoder gets
to the point of writing the index, but then nothing happens anymore, and
the process has to be killed with option -9 in order to get back to the
prompt. Has anyone found a similar problem or am I doing something wrong?
Command line and output are below.
Thomas
~/tmp> mencoder mf://*.png -mf w=799:h=400:fps=3:type=png -ovc
lavc -lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -of mpeg -o movie.mpg
MEncoder 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Genuine Intel(R) CPU T2300 @ 1.66GHz (Family: 6, Model: 14,
Stepping: 8)
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: *.png
[mf] number of files: 236 (944)
VIDEO: [MPNG] 799x400 24bpp 3.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:16 fourcc:0x474E504D size:799x400 fps: 3.00 ftime:=0.3333
PACKET SIZE: 2048 bytes, deltascr: 245760
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)
==========================================================================
Limiting audio preload to 0.4s.
Increasing audio density to 4.
VDec: vo config request - 799 x 400 (preferred colorspace: BGRA)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using BGRA as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8
[swscaler @ 0x8799bf0]SwScaler: BICUBIC scaler, from rgb32 to yuv420p using
MMX2
[swscaler @ 0x8799bf0]SwScaler: using 4-tap MMX scaler for horizontal
luminance scaling
[swscaler @ 0x8799bf0]SwScaler: using 4-tap MMX scaler for horizontal
chrominance scaling
[swscaler @ 0x8799bf0]SwScaler: using 1-tap MMX "scaler" for vertical
scaling (YV12 like)
[swscaler @ 0x8799bf0]SwScaler: 799x400 -> 800x400
videocodec: libavcodec (800x400 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...
INITV: 0.200, 683212743470.591, fps: 3.000
FRAME DURATION: 9000000 0.333fps Trem: 0min 0mb A-V:0.000 [0:0]
Pos: 78.7s 236f (100%) 14.67fps Trem: 0min 0mb A-V:0.000 [480:0]
Flushing video frames.
Writing index...
--
More information about the MPlayer-users
mailing list