I have a video.mp4 file i want to get last frame from video/mp4 file and save as a image in local. If it is possible then please suggest me.




ffmpeg -sseof -3 -i input -update 1 -q:v 1 last.jpg

This will seek to the last three seconds of the input and output all frames. But since -update 1 is set, each frame will be overwritten to the same file, leaving only the last frame remaining.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.