rdp / screen-capture-recorder-to-video-windows-free

a free open source windows "screen capture" device and recorder (also allows VLC/ffmpeg and others to capture/stream desktop/audio)
https://github.com/rdp/screen-capture-recorder-to-video-windows-free/releases
Other
2.09k stars 458 forks source link

ffmpeg multithreading #24

Closed andrasfuchs closed 11 years ago

andrasfuchs commented 11 years ago

ffmpeg has the option to use multiple cores, if we pass the -threads x parameter to it.

I've tested it with the "-threads 8" and it looked like it had an impact on the performance of the codec.

I think others would benefit from this option as well.

andrasfuchs commented 11 years ago

I've just stumbled upon this thread: http://stackoverflow.com/questions/7379980/thread-count-option-in-ffmpeg-for-fastest-conversion-to-h264

According to this, the -threads parameter is useless in most cases, since the default setting is probably slightly more efficient. (one-thread-per-core)