Created
August 12, 2012 09:58
-
-
Save xyzgentoo/3330983 to your computer and use it in GitHub Desktop.
convert flv to mp4 on linux
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
#! /bin/bash | |
function convert_all_to_mp4(){ | |
for file in *.flv ; do | |
local bname=`basename "$file" .flv` | |
local mp4name="$bname.mp4" | |
ffmpeg -i "$file" "$mp4name" | |
done | |
} | |
convert_all_to_mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment