diff --git a/video_convert_normalize b/video_convert_normalize new file mode 100755 index 0000000..e9d2081 --- /dev/null +++ b/video_convert_normalize @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +if [ ! -e "$1" ]; +then + echo "File ${1} does not exist." + exit 1 +fi +filename=${1%.*} +ffmpeg -i "$1" -metadata title="" -map 0:v -map 0:a:m:language:jpn -c:v copy -c:a ac3 "${filename}.converted.mkv"