Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Bioblaze/65fef5409ac4f2c4555f2d1ff2b348dd to your computer and use it in GitHub Desktop.
Save Bioblaze/65fef5409ac4f2c4555f2d1ff2b348dd to your computer and use it in GitHub Desktop.
Create image covers from mp4 vids in a for loop
for vid in *.mp4; do ffmpeg -i $vid -codec mjpeg -ss 4 -vframes 1 -q:v 1 ./covers/$vid.jpg; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment