[MEncoder-users] mencoder slow

Grozdan Nikolov (openSUSE Linux) microchip at telenet.be
Sun Feb 3 08:25:09 CET 2008


On Sunday 03 February 2008 08:19, Troy Perkins wrote:
> On Sunday 03 February 2008 05:54, Patryk Laurent wrote:
> > Does the codec you're using support multithreading?  You might want to
> > try "thread=auto" in your options to maximize CPU usage.
>
> I don't think Xvid is multithreaded
>
> > Patryk
>
> Nice
>
> threads: This option allows to spawn threads to encode in parallel on
> multiple CPUs. You can manually select the number of threads to be created
> or, better, set threads=auto and let x264 detect how many CPUs are
> available and pick an appropriate number of threads. If you have a
> multi-processor machine, you should really consider using it as it can to
> increase encoding speed linearly with the number of CPU cores (about 94%
> per CPU core), with very little quality reduction (about 0.005dB for dual
> processor, about 0.01dB for a quad processor machine).
>
> Ref: http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-x264.html
>
> I will be giving it a try, anyone have experience with this and dual core
> cpus?

x264 is fully miltithreaded so you won't have any problems on multi-core CPUs, 
unlike Xvid where Xvid only uses threading for its motion estimation and the 
rest is single threaded

>
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users



More information about the MEncoder-users mailing list