Take the 2-minute tour ×
Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation. It's 100% free, no registration required.

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?

share|improve this question
add comment

5 Answers

up vote 13 down vote accepted

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
share|improve this answer
add comment

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

  1. You must use or convert to an AVI file

  2. The subtitle file (.srt) must be named the same exact name as the video file (AVI)

  3. 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)

  1. 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.

  2. 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.

  3. Choose either burn to DVD or Disc Image (Disc Image is at the bottom of the window where you dropped the video file into).

  4. 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)

  1. Download and install AVC http://www.any-video-converter.com/products/for_video_free/.

  2. 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.

  3. Drag and drop the video file into AVC.

  4. For Output file, choose Customized AVI Movie (*.avi)

  5. Highlight the file (by clicking on it) and under audio options (scroll to bottom) click on the drop down menu next to Subtitle.

  6. 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.

  7. 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/

share|improve this answer
add comment

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.

share|improve this answer
add comment

I have use Xilisoft Video Converter Ultimate to render hardcoded subs in a video file.

The name from the video and the subs must be the same.

Import the video file:

The subs are coming automatic with the import file. Under Subs you have the options to edit the high and so on from the subs.

I render to DIVX but otherwise is possible.

share|improve this answer
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.