LAST_FRAME=`ffprobe -show_streams xxx.mp4 2>/dev/null|fgrep nb_frames|head -1|perl -ne '/(\d+)/; print $1-1'`
ffmpeg -i xxx.mp4 -vf "select='eq(n,$LAST_FRAME)'" -vframes 1 last_frame.png
Tags:

May 2026

S M T W T F S
     12
3456789
10111213141516
171819202122 23
24252627282930
31      

Expand Cut Tags

No cut tags

Style Credit