scripts/video_convert_normalize

9 lines
221 B
Bash
Executable File

#!/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"