scripts/adddbmetadata.sh

11 lines
300 B
Bash
Raw Normal View History

2020-08-02 12:32:50 +00:00
#!/bin/bash
2021-03-12 14:53:12 +00:00
# ensures consistent audio metadata in Dragon Ball MKVs
2020-08-02 12:32:50 +00:00
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