Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multipe audio and subs tracks on output? #28

Open
Ichisuke83 opened this issue Jul 26, 2023 · 5 comments
Open

Add multipe audio and subs tracks on output? #28

Ichisuke83 opened this issue Jul 26, 2023 · 5 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Ichisuke83
Copy link

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 jessielw self-assigned this Jul 26, 2023
@jessielw jessielw added the enhancement New feature or request label Jul 26, 2023
@jessielw
Copy link
Owner

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
Copy link

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

@jessielw
Copy link
Owner

jessielw commented Aug 4, 2023

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
Copy link

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
Copy link
Owner

jessielw commented Aug 4, 2023

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.

@jessielw jessielw added the good first issue Good for newcomers label Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants