Add video_convert_normalize

This commit is contained in:
Lukáš Kucharczyk 2022-07-09 21:18:58 +02:00
parent f646e81c11
commit d3aef45acc
No known key found for this signature in database
1 changed files with 8 additions and 0 deletions

8
video_convert_normalize Executable file
View File

@ -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"