![](/static/61a827a1/assets/icons/icon-96x96.png)
![](https://lemmy.dbzer0.com/pictrs/image/a18b0c69-23c9-4b2a-b8e0-3aca0172390d.png)
I like https://github.com/ruediger/VobSub2SRT
for f in ./*.sub; do
vobsub2srt --blacklist "\/_~" "${f%.*}"; done
And then https://mkvtoolnix.download/ to remove any unwanted subtitles from the mkv files
for f in ./*.mkv; do
outdir="nosubs"
mkvmerge -o "${outdir}/$f" --no-subtitles "$f"; done
I find that it never recognises “I” properly and always defaults to “|” which is easier to replace than random characters that would appear if I blacklist “|” So, then I run
sed -i 's/|/I/g' *.srt
Finally, I merge the srt files with the mkv files
for f in ./nosubs/*.mkv; do
outdir=addedsubs
g="${f##*/}"
mkvmerge -o "${outdir}/$g" "$f" --language 0:ger --track-name 0:German "${g%.*}".srt; done
Once the files in the addedsubs directory look good, I delete all of the other files. You can add it all to a bash file or make an alias or both and run it wherever
Another reason to hate Meta, now they’re scummy leechers even though they could afford the bandwidth to seed back