Is extracting thumbnails with FFMPEG really slow on large video files?

I am extracting thumbnails from a file .MOVusing FFMPEG on Linus (Debian 64bit).

The file that I am extracting from the thumbnail is about 430 megabytes.

I use the following command:

ffmpeg -i 'largeVideoFile.mov' -ss 00:14:37 -vframes 1 'thumbnail.jpg'

It takes more than 3 minutes to get one frame.

How can I speed it up?

+4
source share
1 answer

I found this article , which suggests that you need to quickly use performance improvements by simply defining -ssin front -i, not vice versa, around.

So my command now looks like this:

ffmpeg -ss 00:14:37 -i 'largeVideoFile.mov' -vframes:v 1 'thumbnail.jpg'

, , -ss , -i , , , -vframes:v, 1 .

1 , .

+9

Source: https://habr.com/ru/post/1610217/


All Articles