scripts/adddbmetadata.sh

10 lines
244 B
Bash
Executable File

#!/bin/bash
mkdir edited
for file in *.mkv; do
ffmpeg -i $file -map 0 \
-metadata:s:a:0 language=eng -metadata:s:a:0 title="English" \
-metadata:s:a:1 language=jpn -metadata:s:a:1 title="Japanese" \
-c copy ./edited/$file
done