Last active
May 12, 2017 16:25
-
-
Save kzkn/14dcd5f49df05ea8772bcdf46727267c to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
while read f | |
do | |
echo "$f" | |
# ffmpeg -loglevel error -i "${f}" -f image2 -vcodec png -r 1 "%03d.png" | |
# https://unix.stackexchange.com/a/36411 | |
ffmpeg -loglevel error -i "${f}" -f image2 -vcodec png -r 1 "%03d.png" </dev/null | |
done <<EOF | |
a.mp4 | |
b.mp4 | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ffmpeg の実行に
</dev/null
を加えることで対処できた。