Created
June 28, 2017 10:47
-
-
Save kadaliao/de64eac0288df8354a6d4c5dbf9fa7c8 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/bash | |
file_name="text.gif" | |
for name in * | |
do | |
file_name=${name%.*} | |
echo "ffmpeg -i $name mp4/$file_name.mp4" | |
ffmpeg -i $name mp4/$file_name.mp4 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment