jessielw / MP4-Mux-Tool

Mp4Box GUI
GNU General Public License v3.0
68 stars 5 forks source link

Add multipe audio and subs tracks on output? #28

Open Ichisuke83 opened 1 year ago

Ichisuke83 commented 1 year ago

Is it me or is not possible to create a file with multiple audio and subs tracks in it? You can import and choose between multiple audio tracks, but you cannot create a video file with multiple audio and subs tracks. Can you please add that feature?

jessielw commented 1 year ago

This is something I planned to add in the future as time allows. I have been exetremely busy with some other projects but I haven't forgotten about this.

Darkmaster006 commented 1 year ago

Was going to ask the same. Also, how can we add vobsubs subtitles from an mp4 that already has them? Is this possible?

jessielw commented 1 year ago

Was going to ask the same. Also, how can we add vobsubs subtitles from an mp4 that already has them? Is this possible?

Mp4 doesn't allow picture based subtitles. The only format it would accept would be text based subtitles.

You'll likely want another format like mkv for that.

Darkmaster006 commented 1 year ago

Was going to ask the same. Also, how can we add vobsubs subtitles from an mp4 that already has them? Is this possible?

Mp4 doesn't allow picture based subtitles. The only format it would accept would be text based subtitles.

You'll likely want another format like mkv for that.

Hmm, I have an mp4 with VobSub subtitles, though. Here: Sin título The Way Of The Dragon 1972 1080p BluRay H264 AC3 DD1 0 mp4-00 09 47 462-#1 When I add them to MKVToolnix, even though it does show them, as you can see there, when I mux, it deletes them, for some reason. The only way I was able to extract (demux) them was with My MP4Box, to then mux them again (I wanted to add an audio and that's the only way I could). I could be wrong, though, I'm just more or less winging it so I don't know much.

jessielw commented 1 year ago

Hmm, I did some brief research over at GPAC (which is the main project that mp4box is developed from) to see what it actually does support. Turns out mp4box does actually support VobSub via IDX. From what I can tell this is exclusive to mp4box and not to the mp4 container as a whole.

So technically I can implement this into the GUI and I likely should since this GUI manipulates mp4box, but as far as wide compatibility goes for the mp4 container text based subtitle types TTXT, SRT, WebVTT, or TTML are technically the supported formats allowed.

VLC and other tools likely will have 0 issues playing it the mp4 created with VobSub but a lot of players, maybe roku is where the problem will likely be apparent. I have not tested this, but thanks for bringing this to my attention.


I've been juggling a lot of projects at once, this has been on the back burner to bring up to speed. I was doing a complete rewrite of the software, so I've been trying to find time. I'll try to prioritize, but I have to focus on the paying projects first of course.