How to record screenshots from a video clip for 50 minutes in a clip and do it quickly?

Well, it seems that whenever I say ffmpeg to make the cap halfway, although the clip (the clip can be up to 10 hours), it uses 100% of the core 1 processor and takes age ... whereas if I allowed it make a frame at the beginning it goes very fast, as if it scans, although the video is to get to the middle, and not just jump on it!

Here is the im code currently in use:

ffmpeg -y -itsoffset -"500"  -i "clipname.mov" -vcodec png -vframes 1 -an -f rawvideo "clipScreenshot001.png"

This may take several minutes.

This is high-definition video, 720p / 1080p and time allocation when they are unprocessed unedited clips (for example, very long).

So, I was hoping for the best software that would make screenshots of videos much faster (it should be Linux and scriptable).

+5
source share
1 answer

Try using seek (flag -ss) instead of delay ( -itsoffset), i.e.:

ffmpeg -y -ss 3000 -i "clipname.mov" -vframes 1 "clipScreenshot001.png"
+7
source

All Articles