[x264-devel] x264 threading on mutliple cores

Dion Galbreath DionG at Viewcast.com
Mon Apr 28 18:20:00 CEST 2008


Hi, 

   I am trying to get h264 to thread somewhat nicely across 4 cores in
windows xp.  I am using the latest nightly of x264 

x264-snapshot-20080427-2245.tar.bz2 also tried
x264-snapshot-20080323-2245.tar.bz2

 

 

compiling x264 without pthread and compiling into ffmpeg seems to use
only one core. While the rest are close to idle....   

 

Compiling pthread into ffmpeg still using the non pthread x264 compile,
seems that it will use 2 cores. While the other two remain unused more
or less.. 

 

Compiling x264 with pthread as a dll that is shared, and ffmpeg without
pthread seems to be better, it seems to use three cores, however one is
pegged pretty high while two others are about half used. And the last
core is pretyy much not used...

 

Compiling x264 with pthreads as a dll that is shared, and ffmpeg using
pthreads however oddly enough the encoder doesn't even function.... 

 

Is there something I have to do a patch for the latest x264 to handle
threading nicely for ffmpeg??

 

 

Dion

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.videolan.org/pipermail/x264-devel/attachments/20080428/b9950c61/attachment.htm 


More information about the x264-devel mailing list