[MPlayer-users] mencoder slow mjpg to mpeg1 or mpeg2

Joe Colburn joe at inexo.com
Wed Sep 6 03:45:12 CEST 2006


When using the following command to encode an mpeg2 file from a mjpg file:
mencoder /videos/raw/tmp.mjpg -of mpeg -ovc lavc -lavcopts vcodec=mpeg2video
-oac copy -o /videos/mpg/tmp.mpg

... I get the following and the encoding speed is a LOT slower (7-9 fps)
than I've seen it before (80-90 fps)
 
Anyone know what I can do here?
 
 
MEncoder 1.0pre8-3.3.4 (C) 2000-2006 MPlayer Team
CPU: VIA Samuel 2 (Family: 6, Model: 7, Stepping: 3)
CPUflags: Type: 6 MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX 3DNow
 
93 audio & 211 video codecs
success: format: 0  data: 0x0 - 0xae6000
libavformat file format detected.
VIDEO:  [MJPG]  704x480  0bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:35  fourcc:0x47504A4D  size:704x480  fps:25.00  ftime:=0.0400
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: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
Limiting audio preload to 0.4s.
Increasing audio density to 4.
VDec: vo config request - 704 x 480 (preferred colorspace: Planar 422P)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar 422P as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
 
SwScaler: BICUBIC scaler, from Planar 422P to Planar YV12 using 3DNOW
videocodec: libavcodec (704x480 fourcc=3267706d [mpg2])
Writing header...
INITV: 0.200, 0.160, fps: 25.000
Pos:  10.0s    250f (88%)  7.30fps Trem:   0min   0mb  A-V:0.000 [902:0]]
BUFFER UNDEFLOW at stream 0, raising muxrate to 1980 kb/s, delta_scr: 223418
 
BUFFER UNDEFLOW at stream 0, raising muxrate to 2178 kb/s, delta_scr: 203107
 
BUFFER UNDEFLOW at stream 0, raising muxrate to 2395 kb/s, delta_scr: 184643
 
BUFFER UNDEFLOW at stream 0, raising muxrate to 2635 kb/s, delta_scr: 167857
 
ERROR: scr 0.775, dts 0.680, pts 0.720
Pos:  11.2s    282f (99%)  7.31fps Trem:   0min   1mb  A-V:0.000 [908:0]
Flushing video frames
Writing index...
 
Overhead: 1.452% (18523 / 1275813)
Writing header...
 
Video stream:  908.052 kbit/s  (113506 B/s)  size: 1275813 bytes  11.240
secs  282 frames

 

Joe Colburn
Inexo, Inc.
http://www.inexo.com <http://www.inexo.com/>  

 

 



More information about the MPlayer-users mailing list