MattMcManis / Axiom

An FFmpeg GUI for Windows
https://axiomui.github.io
GNU General Public License v3.0
1.53k stars 118 forks source link

[FEATURE REQ] Burning subtitles in batch mode #67

Open mochaaP opened 4 years ago

mochaaP commented 4 years ago

What feature is it?

Find the corresponding subtitle (filename match, different locale suffix) for the current video file. Gives a toggle in "Subtitles" menu and provide an input box or dropdown menu for choosing the locale suffix and subtitle folder.

What problem does this feature solve?

e.g. with the following directory structure:

+ folder
| -- video01.mkv
| -- video02.mkv
| -- video03.mkv
| -- + subs // can be also in the same directory with video**.mkv
     | -- video01.eng.ass // or just video01.ass
     | -- video01.jpn.ass
     | -- video02.jpn.ass

Select batch mode and use folder as the input. Select eng as locale and subs as subtitle folder. Hit "Convert".

Excepted result

Additional description

Burning will be ignored for a single file when no subtitle files were found. When no locale suffix is provided, use [filename].ass (and do not match any language suffix by default).

It's also nice to make this work with MOV Text with multi subtitle track support:

+ folder
| -- video01.mkv
| -- video02.mkv
| -- video03.mkv
| -- + subs
     | -- video01.eng.ass
     | -- video01.jpn.ass
     | -- video01.chs.ass
     | -- video01.cht.ass
     | -- video02.eng.ass
     | -- video02.cht.ass
     | -- video03.eng.ass

Will result in:


Thank you! <3

MattMcManis commented 3 years ago

I will try to implement this.

It is sort of like how the mpv video player has the options "exact, fuzzy, all" which detects and loads external files with the same name as the main video.

But this will have FFmpeg mux them in.