Created
June 9, 2020 23:10
-
-
Save codecreate-dev/57300759c9cdd03b1d92aa53512f148e to your computer and use it in GitHub Desktop.
Create image covers from mp4 vids in a for loop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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