
Links:
IMPORTANT - You need to install ffmpeg first to run the terminal command:
Terminal command to export image frames:
for video in *; do [ -f "$video" ] && ffmpeg -i "$video" -vframes 1 "${video%.*}_first.jpg" && ffmpeg -sseof -0.1 -i "$video" -vframes 1 "${video%.*}_last.jpg"; done
Capcut: