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

Automatically embed subtitles in mkv files #5410

Open
zJoul opened this issue Apr 12, 2015 · 3 comments
Open

Automatically embed subtitles in mkv files #5410

zJoul opened this issue Apr 12, 2015 · 3 comments

Comments

@zJoul
Copy link

@zJoul zJoul commented Apr 12, 2015

Since it's possible to embed subtitles in mp4 (in a hard coded way probably), is there a way to embed subtitles files with mkvmerge or with ffmpeg in the post-processing option ?

(Maybe use the --exec command)

@jaimeMF jaimeMF added the request label Apr 12, 2015
@kphillisjr
Copy link

@kphillisjr kphillisjr commented Nov 5, 2015

This is an interesting idea, and to modify the program requires one to know the proper way to call mkvmerge.

# Example Invocation muxing streams into a specified file:
mkvmerge -o "MyMuxedVideo.mkv" videostream.mp4 --default-track 0 subtitle.enUS.ass subitle.esLA.ass subtitle.ptBR.ass
# Above example, but adding language Identifiers:
# NOTE: Language codes are based on ISO639-2
mkvmerge -o "MyMuxedVideo_withLanguages.mkv"  videostream.mp4 --default-track 0 \
   --language 0:en subtitle.enUS.ass  \
   --language 0:es subtitle.esLA.ass \
   --language 0:por subtitle.ptBR.ass
@kdeldycke
Copy link
Contributor

@kdeldycke kdeldycke commented Jun 6, 2017

Isn't that one already supported via the --embed-subs option?

@zJoul
Copy link
Author

@zJoul zJoul commented Jun 20, 2017

I can't tell if at the time, the option was available, or at least available for mkv videos.

I did not dig in the source code, but maybe this option hardcode the subtitle into the video, altering the source. I wanted a way for softsubbing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.