iPzard / mkvtoolnix-batch-tool

Batch video and subtitle processing program with the ability to add, remove, or extract subtitles from all video files in a directory and its sub-directories.
https://ipzard.github.io/mkvtoolnix-batch-tool/
GNU General Public License v2.0
206 stars 12 forks source link

VTT subtitle support #70

Closed Coolie2 closed 1 year ago

Coolie2 commented 1 year ago

While I've been able to successfully merge SRT subtitles so far, VTT subtitles appear not to be supported. Given that MKVToolNix itself appears to support them, successfully merging them when manually combined, could the subtitle format be added to the batch tool?

iPzard commented 1 year ago

Might be an easy update, I can take a look.. do you have a .VTT subtitle file I can use for this?

Coolie2 commented 1 year ago

Here's a video of my own and the VTT subtitles YouTube auto-generated for it as an example: https://drive.google.com/drive/folders/1ThjxwcbtYGf9LfexMagQiykyfgDGJzV9?usp=sharing. Unlike the other site I found VTT subtitles on, YouTube seems to also integrate them directly into the MP4 file, so while in this case combining the VTT file with the video results in two seemingly identical subtitle tracks, in other cases VTT subtitles aren't automatically built-in, as far as I can tell.

iPzard commented 1 year ago

Nice, thanks for the example file, will take a look at this shortly! Hopefully it's a quick update.

iPzard commented 1 year ago

Sweet, looks like MKVToolNix knows how to process this under the hood so it was an easy change. They should be supported now in the latest release: https://github.com/iPzard/mkvtoolnix-batch-tool/releases

Coolie2 commented 1 year ago

Thanks!