[MEncoder-users] mencoder slow

Jiří Heryán technik at domotech.cz
Mon Feb 4 11:21:18 CET 2008


Troy Perkins píše v So 02. 02. 2008 v 16:49 -0600:
> I've got a Pentium Dual Core 3.0 ghz processor and am running two mencodes
> in parallel.  Why am I running them in parallel?  Well it's a dual core
> processor and I thought I entertain the testing.  Sure enough, when I run
> only one mencoder instance, 40 to 50 percent of the cpu shows to be used.
> When doing two at once, it maxes the cpu.
It's OK, IMO any core 2 machine have enough bus banwidth to feed 2
mencoder processes.

> 
> The frame rates looked good hours ago at about 27 fps.  It's been running
> for over 10 hours now and I noticed the frame rates on both have dropped to
> 1.2 frames per second and the times to finished have dramatically increased.
> 
> Pos:2181.4s  52306f (25%)  1.31fps Trem:1973min 3802mb  A-V:0.010 [3246:448]
> 
This performance is way too bad. I have tested your options on Sempron
2300+ (1580Mhz) on some DVB source (720x576 at 25fps) with -endpos 6:00. My
results are 24.62 fps in 360th second of encoding for 1st pass and 5.08
fps for 2nd pass.

Try to encode with options from MPlayer docs, so you will have some
measurements.

You can consider using libavcodec with ffourcc="xvid" option foer
encoding, it's faster with mencoder.

> Can anyone shed light on what I may be doing wrong?  I know my bitrate is
> high at 5000, but I'm looking for quality.  Setting the vhq to 4, is that
With this much bitrate you can consider keep the original. But It IMO have none speed effect.

Jiri H.




More information about the MEncoder-users mailing list