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.
Thanks.
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.
Thanks.
Use
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.