Save CPU power: generate only single thumbnail for each recording segment #364
Closed
ondrej-zary
started this conversation in
Ideas
Replies: 3 comments
-
|
It would be really good to have an option to specify the number of thumbnails. Another interesting option for low-end CPUs is to specify the number of threads needed to generate the thumbnails. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I seem to recall in the last few nights implementing something around this, would be worth having another check if I got it right in the new release. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Great, the thumbnails are working fine now! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For each recording segment in Grid view, 3 thumbnails need to be generated by running slow ffmpeg (and having it to seek to the middle which is a slow operation). This makes the Grid view unusable with slow CPUs. I suggest an option to generate only one thumbnail per recording segment - from the first frame (omitting ffmpeg -ss parameter), avoiding seek.
Executing ffmpeg is a slow operation by itself (around 0.9s on Atom D245 CPU). Further improvement could probably be done by using the ffmpeg-provided libraries instead of executing external program.
Beta Was this translation helpful? Give feedback.
All reactions