user1804: I have subtitles in .srt file format, and I need to render them on top of video file (prefereably mp4). I have tried handbrake and mediacoder so far, with no luck. What should I do?

user5490: I've just discovered Subler, which makes it super easy to add subtitles to an existing m4v file, and then burn that.  

user3552: Freemake would be my best choice. It gives you great flexibility and also enables you to add subtitles to your video also. There is a variety of codecs and formats available for your testing. Just give a try , after  all its free na ? Here is the Link.

`.freemake: Free Video Converter with Subtitles Support
Convert DVD, MKV, MOV with embedded subtitles to any video format or
  device for free. Add SSA/SRT/ASS external subtitles to any video with
  our free video converter.`

says so in the official site.And they also says, 

.freemake: Fastest Video Converter with CUDA and DXVA
Freemake is the only free video converter that features integrated
  both CUDA and DXVA technologies for the fastest ever video conversion
  and less CPU usage. The software automatically detects the optimal
  conversion parameters and switches on/off CUDA and DXVA for better
  conversion results.


user-1: Here are three ways to burn subtitles onto video:
http://blogs.princeton.edu/hrc/2011/01/three_ways_to_burn_subtitles_into_a_video_avi_file.html


You must use or convert to an AVI file
The subtitle file (.srt) must be named the same exact name as the video file (AVI)
The video file and the subtitle (.srt) file should reside in the same folder.

I will link to the first method I discovered in June:
  https://blogs.princeton.edu/hrc/2010/06/how_to_burn_subtitles_into_a_video_file.html
The second method I used requires a Mac that has Toast Titanium. You
  will then have to download a free program called Perian:
  http://www.perian.org/ (make sure you have the latest version of both
  programs.
Method 2 (Mac): Using Toast Titanium (not free) with Perian (free)

Open Perian  and keep Perian open before and while you either burn a DVD using Toast Titanium or burn a ISO (which is what I did). To see
  if Perian is doing it's job, open the AVI file in VLC (VideoLan
  Client) and see if subtitles show up (you can also check in Quicktime)
  when you play the video. If they do, you are ready to use Toast to
  burn the subtitles into the file.
Open Toast and choose DVD. Drop the AVI file into the space to burn. Don't drop the srt file, but make sure the srt file is in the
  SAME folder as the AVI video file. If you drop the srt file in Toast
  you will get an error, but Perian will work it's magic and burn the
  subtitles into the video, so no need to worry.
Choose either burn to DVD or Disc Image (Disc Image is at the bottom of the window where you dropped the video file into).
Burn the video. You will now either have an ISO or a burned DVD. The files will now be in a DVD structure (VOBs, etc). You can now use
  Handbrake to rip the ISO or DVD to convert the video into another
  format (like mp4).

*Note: My subtitles did get cut off when I converted the video into an mp4 using Handbrake, not sure why.
Method 3 (Windows): Any Video Converter (AVC-free)

Download and install AVC http://www.any-video-converter.com/products/for_video_free/.
Make sure your AVI and .srt files are in the same folder. For AVC, if you have an mp4, you can actually load the mp4 and not have to
  convert it into an AVI file before burning the subtitles into the
  file.
Drag and drop the video file into AVC.
For Output file, choose Customized AVI Movie (*.avi)
Highlight the file (by clicking on it) and under audio options (scroll to bottom) click on the drop down menu next to Subtitle.
The .srt file should appear in the drop down if the video file and the srt file are in the same folder. Choose the correct srt fie.
Choose the rest of your settings for the AVI and click Convert at the top of the program screen.

I hope this helps :-). Here are a few sources I used to figure these
  steps out and find these resources:
http://www.mac-forums.com/forums/os-x-applications-games/101010-how-burn-avi-srt-files-toast.html
http://www.any-video-converter.com/add-srt-subtitle-to-output-video.php
http://forums.support.roxio.com/topic/35597-adding-srt-files-to-dvd/


user3476: With a recent version of ffmpeg (requires the subtitles to be in a separate file, due to current libavfilter limitations):
ffmpeg -i input.mp4 -filter:v subtitles=subtitle.srt -c:a copy -c:v libx264 -crf 22 -preset veryfast output.mp4

If your SRT subtitles are muxed into an MKV container, you can extract them like this:
ffmpeg -i input.mkv -map 0:s:0 subtitles.srt


1804: <p>I have subtitles in .srt file format, and I need to render them on top of video file (prefereably mp4). I have tried handbrake and mediacoder so far, with no luck. What should I do?</p>
 5490: <p>I've just discovered <a href="https://code.google.com/p/subler/" rel="nofollow">Subler</a>, which makes it super easy to add subtitles to an existing m4v file, and then burn that.  </p>
 3552: <p><strong>Freemake</strong> would be my best choice. It gives you great flexibility and also <strong><em>enables you to add subtitles to your video</em></strong> also. There is a variety of codecs and formats available for your testing. Just give a try , after  all its free na ? Here is the <a href="http://www.freemake.com/" rel="nofollow">Link.</a></p>

<blockquote>
  <p>`<strong>.freemake: Free Video Converter with Subtitles Support</strong></p>
  
  <p>Convert DVD, MKV, MOV with embedded subtitles to any video format or
  device for free. Add SSA/SRT/ASS external subtitles to any video with
  our free video converter.`</p>
</blockquote>

<p>says so in the official site.And they also says, </p>

<blockquote>
  <p><strong>.freemake: Fastest Video Converter with CUDA and DXVA</strong></p>
  
  <p>Freemake is the only free video converter that features integrated
  both CUDA and DXVA technologies for the fastest ever video conversion
  and less CPU usage. The software automatically detects the optimal
  conversion parameters and switches on/off CUDA and DXVA for better
  conversion results.</p>
</blockquote>
 -1: <p>Here are three ways to burn subtitles onto video:<br />
<a href="http://blogs.princeton.edu/hrc/2011/01/three_ways_to_burn_subtitles_into_a_video_avi_file.html">http://blogs.princeton.edu/hrc/2011/01/three_ways_to_burn_subtitles_into_a_video_avi_file.html</a></p>

<blockquote>
  <ol>
  <li><p>You must use or convert to an AVI file</p></li>
  <li><p>The subtitle file (.srt) must be named the same exact name as the video file (AVI)</p></li>
  <li><p>The video file and the subtitle (.srt) file should reside in the same folder.</p></li>
  </ol>
  
  <p>I will link to the first method I discovered in June:
  <a href="https://blogs.princeton.edu/hrc/2010/06/how_to_burn_subtitles_into_a_video_file.html">https://blogs.princeton.edu/hrc/2010/06/how_to_burn_subtitles_into_a_video_file.html</a></p>
  
  <p>The second method I used requires a Mac that has Toast Titanium. You
  will then have to download a free program called Perian:
  <a href="http://www.perian.org/">http://www.perian.org/</a> (make sure you have the latest version of both
  programs.</p>
  
  <p>Method 2 (Mac): Using Toast Titanium (not free) with Perian (free)</p>
  
  <ol>
  <li><p>Open Perian  and keep Perian open before and while you either burn a DVD using Toast Titanium or burn a ISO (which is what I did). To see
  if Perian is doing it's job, open the AVI file in VLC (VideoLan
  Client) and see if subtitles show up (you can also check in Quicktime)
  when you play the video. If they do, you are ready to use Toast to
  burn the subtitles into the file.</p></li>
  <li><p>Open Toast and choose DVD. Drop the AVI file into the space to burn. Don't drop the srt file, but make sure the srt file is in the
  SAME folder as the AVI video file. If you drop the srt file in Toast
  you will get an error, but Perian will work it's magic and burn the
  subtitles into the video, so no need to worry.</p></li>
  <li><p>Choose either burn to DVD or Disc Image (Disc Image is at the bottom of the window where you dropped the video file into).</p></li>
  <li><p>Burn the video. You will now either have an ISO or a burned DVD. The files will now be in a DVD structure (VOBs, etc). You can now use
  Handbrake to rip the ISO or DVD to convert the video into another
  format (like mp4).</p></li>
  </ol>
  
  <p>*Note: My subtitles did get cut off when I converted the video into an mp4 using Handbrake, not sure why.</p>
  
  <p>Method 3 (Windows): Any Video Converter (AVC-free)</p>
  
  <ol>
  <li><p>Download and install AVC <a href="http://www.any-video-converter.com/products/for_video_free/">http://www.any-video-converter.com/products/for_video_free/</a>.</p></li>
  <li><p>Make sure your AVI and .srt files are in the same folder. For AVC, if you have an mp4, you can actually load the mp4 and not have to
  convert it into an AVI file before burning the subtitles into the
  file.</p></li>
  <li><p>Drag and drop the video file into AVC.</p></li>
  <li><p>For Output file, choose Customized AVI Movie (*.avi)</p></li>
  <li><p>Highlight the file (by clicking on it) and under audio options (scroll to bottom) click on the drop down menu next to Subtitle.</p></li>
  <li><p>The .srt file should appear in the drop down if the video file and the srt file are in the same folder. Choose the correct srt fie.</p></li>
  <li><p>Choose the rest of your settings for the AVI and click Convert at the top of the program screen.</p></li>
  </ol>
  
  <p>I hope this helps :-). Here are a few sources I used to figure these
  steps out and find these resources:</p>
  
  <p><a href="http://www.mac-forums.com/forums/os-x-applications-games/101010-how-burn-avi-srt-files-toast.html">http://www.mac-forums.com/forums/os-x-applications-games/101010-how-burn-avi-srt-files-toast.html</a></p>
  
  <p><a href="http://www.any-video-converter.com/add-srt-subtitle-to-output-video.php">http://www.any-video-converter.com/add-srt-subtitle-to-output-video.php</a></p>
  
  <p><a href="http://forums.support.roxio.com/topic/35597-adding-srt-files-to-dvd/">http://forums.support.roxio.com/topic/35597-adding-srt-files-to-dvd/</a></p>
</blockquote>
 3476: <p>With a recent version of ffmpeg (requires the subtitles to be in a separate file, due to current libavfilter limitations):</p>

<pre><code>ffmpeg -i input.mp4 -filter:v subtitles=subtitle.srt -c:a copy -c:v libx264 -crf 22 -preset veryfast output.mp4
</code></pre>

<p>If your SRT subtitles are muxed into an MKV container, you can extract them like this:</p>

<pre><code>ffmpeg -i input.mkv -map 0:s:0 subtitles.srt
</code></pre>
