Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to use SRT file with MP4

I want to use soft subtitles with video so I still have the option to play them without subtitles if I wish. How can I enable QuickTime Player to play MP4 with soft subtitles SRT extension? I can play AVI with subtitles in QuickTime (QT doesn't have codecs for AVI, duh, but I installed Perian to overcome that weakness). I can export the MP4 as AVI, but when I do, the result looks terrible. It seems QuickTime cannot correctly export MP4 to AVI. I can play MP4 with SRT subtitles in VLC Player, but the subtitles don't have decent shading to make them readable, like they do in QuickTime Player. Because of that, I want to find a solution for using MP4 with SRT in QuickTime Player. Any suggestions?

three Macs, Mac OS X (10.4.11)

Posted on Aug 14, 2009 8:03 AM

Reply
52 replies

Jun 25, 2015 11:14 PM in response to Moof666

I realize this post is ancient, but apparently people still find it relevant.

The easiest approach imo. is to use ffmpeg, which you can install via homebrew (brew install ffmpeg) or through some other means.


To embed a srt ("softsub") file into an mp4 container so that QuickTime Player can use it, run the following command:

ffmpeg -i video.mp4 -i sub.srt -c:v copy -c:a copy -c:s mov_text -metadata:s:s:0 language=eng out.mp4


video.mp4
is your source video clip.

sub.srt
is your subrip subtitle file.

eng
is the language the subtitle will be tagged with, and consequently listed as in Quicktime's subtitle menu. If the sub is in another language, specify that language instead (e.g. fra, ger, rus ..)

out.mp4
is the name of the target file that will contain the combined three streams (video, audio and subtitle).


This procedure is completely lossless, so you retain full quality of all three streams.

Sep 12, 2016 4:04 AM in response to Moof666

Subler ( https://subler.org/ ) will add subs to your file so you can use quick time. VLC is great but lacks the possibility to send the video to airplay (apple tv for ex). if you are mirroring the whole computer it works with VLC or other video player but the laptop will warm up considerably and the kicks in. if you just send the file from quick time if works just fine.

How to use SRT file with MP4

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.