Does ffmpeg play the entire video file to extract the image

I have a multimedia application that includes a lot of videos. I use FFMPEG to create thumbnails from videos with a specific length of time. Now the problem is that my console application, which is used to extract images from a video, consumes a lot of memory when it starts.

I have doubts as to whether FFMPEG actually plays the entire video file when retrieving the thumbnail. Is it possible?

The following is the parameter passed to FFMPEG,

  -i [input video file] -an -r 0.05 -y -ss 00:00:18 -vframes 1 [output thumbnail file path]

I tried to search, but to no avail. Please provide your valuable thoughts.

Thank.

+5
source share
2 answers

ffmpeg , .

-ss 00:00:18 -i [input video file] -vframes 1 -an -r 0.05 -y [output thumbnail file path]

ffmpeg , .

, .

+4
+3

All Articles