[FFmpeg-devel] [PATCH] Runtime detection for the number of processors/cores
Wed May 21 12:30:00 CEST 2008
On Wed, 2008-05-21 at 11:24 +0100, M?ns Rullg?rd wrote:
> Philipp Meinen wrote:
> > Hello FFmpeg Team
> > The attached patch is an attempt to allow runtime detection for the
> > number of online processors/cores instead of having to specify the
> > number of threads. The idea is to type:
> > ffmpeg -threads 0 ....
> > to use as many threads as processors/cores are online.
> > I guess cmdutils.c/h is not the right file to place the new
> > detection function. To which file should this function belong?
> > Comments welcome :)
What about codecs which don't work with more than 1 threads? like
encoding to FLV for example doesn't work with more than 1 thread, WMV2
is the same, and there are alot more..
More information about the ffmpeg-devel