scripts/video_convert_normalize

9 lines
221 B
Plaintext
Raw Permalink Normal View History

2022-07-09 19:18:58 +00:00
#!/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"