markolson / storyboard

Generate PDFs, ePUB and Mobi files from videos
MIT License
94 stars 10 forks source link

Inspect the CPU to determine number of threads to use while processing #9

Closed markolson closed 10 years ago

markolson commented 11 years ago

Right now it's hardcoded as 8 ffmpeg processes to run in parallel so speed up the frame grabbing. Until ffmpeg is directly incorporated, I have to be more careful that the number of threads is below the number of cores on the CPU.

pachacamac commented 11 years ago

You could use one of these methods:

tested on Xubuntu Linux ...