Hello, Ramiro Polla wrote:
Hello,
The people at x264 claim pthreads are faster than w32threads in x264: http://www.via.ecp.fr/via/ml/x264-devel/2006-12/msg00052.html
I released two builds of the same version of FFmpeg at http://arrozcru.no-ip.org/ffmpeg_builds/ One with pthreads for FFmpeg and x264, and the other with w32threads for FFmpeg and whatever's native threading in win32 for x264.
I ask for people to please benchmark both, to finally see and have recorded somewhere which one is better, faster, and more stable. For benchmarking on FFmpeg, use the "-benchmark" argument, and preferable output to "/dev/null" (yes, msys correctly understands /dev/null). This is my result with an AMD Athlon 64 2800+, 512Mb RAM, using http://arrozcru.no-ip.org/ffmpeg_patches/test.mpg :
ffmpeg -benchmark -i test.mpg -f avi -vcodec h264 -acodec mp3 -threads 2 /dev/null pthreads: bench: utime= 100.281 bench: utime= 102.468 bench: utime= 102.032 bench: utime= 102.359 bench: utime= 102.344 bench: utime= 101.969 avg: 101.909 -extremes: 102.176 w32threads: bench: utime= 101.156 bench: utime= 100.938 bench: utime= 100.812 bench: utime= 100.984 bench: utime= 100.891 bench: utime= 100.765 avg: 100.924 -extremes: 100.906 101.909/100.924 1.0097598192699457017161428401569 pthreads 0.976% slower 102.176/100.906 1.0125859711018175331496640437635 pthreads 1.259% slower Please, anyone with a dual core or multiple cpu computer? Ramiro Polla