Last active
January 29, 2019 16:43
-
-
Save avogel3/145b1aa216ddddad3b5efda74d99087c to your computer and use it in GitHub Desktop.
Create thumbnails for every video file (mp4) in a directory (OSX, ffmpeg)
This file contains hidden or 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
mkdir -p thumbs && ls *.mp4 | sed -e 's/\.mp4$//' | xargs -I '{}' -t ffmpeg -i '{}.mp4' -ss 00:00:01.000 -vframes 1 'thumbs/{}_thumb.png' && open thumbs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment