FFmpeg and libx264 were compiled with each library, and tested with five trial runs.
The test loop was:
Code: Select all
FOR %%a IN (pthreadsw32 w32threads winpthreads) DO ( FOR /L %%b IN (1,1,5) DO ( ECHO %%a %%b ECHO !TIME! ffmpeg-%%a -loglevel error -i bbb_sunflower_1080p_60fps_normal.mp4 -c:v libx264 -y out.mp4 || EXIT /B ECHO !TIME! ) )
The average run time results of the five test (in MM:SS.ss) was:
- w32threads = 8:16.1 (SD 1.784035874s)
- pthreads-win32 = 8:20.8 (SD 2.207393033s)
- winpthreads = 8:21.3 (SD 2.468970636s)