Last active
December 2, 2016 06:35
-
-
Save kidapu/3ed3d9fa4a96cddf914607c16df2d944 to your computer and use it in GitHub Desktop.
convert-mp4
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 | |
echo "Hello" | |
for file in *.m4v | |
do | |
echo "-------------" | |
echo "CONVERT $file" | |
ffmpeg -vcodec "h264" -i "$file" "./output/$file.mp4" | |
# ffmpeg -i "$file" -vf scale=960:540 "./output/$file.mp4" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment