How To Embed Subtitles To MP4 & FLV Videos Using Avidemux

Ads by Google

how to embed subtitlesAvidemux is an open-source video editor that satisfies your simple editing needs, such as cutting and encoding, and is available for Windows, Mac, Linux and BSD. You can also use this tool to compress videos using VirtualDub (which you can also do in Windows Movie Maker, but the video will most likely end up with black bars).

It is one of many video editors for Linux, some of which are meant for more professional video production (Cinelerra and Lightworks). Although Avidemux isn’t a powerhouse video-editing software, it actually has a lot of the features that I thought made VirtualDub shine for the price of $0.


One of these features I previously discussed is the ability to embed subtitles permanently in videos. A limitation that you’re presented with if you use VirtualDub a lot (despite all it can do) is that this Windows-only program only accepts a small set of video file types, mainly AVI, MPG, and MPEG. Nowadays, if you own any sort of portable device, be it an Android smartphone, an MP3 player (iPod Touch) or some gaming device like the PSP, you will certainly need your videos to be in MP4 format. Avidemux not only supports MP4 but it also is capable of embedding subtitles so perhaps you can save yourself loads of video-converting steps (though you might still benefit from using dedicated converters for iPhone, PSP, etc.)

You will need to have the Xvid codec installed (recommended also if you’re interested in publishing videos on Youtube), which is pretty standard for video encoding applications.

how to embed subtitles

1. Once you have loaded Avidemux up, press Ctrl + O to open your video (alternatively, go to File in the menu bar > Open) and select any AVI, MP4, or FLV video.

add subtitles to mp4

Ads by Google

2. If you want to trim part of the imported video, use the sliders to set start and end points. Otherwise, go ahead and select the Xvid codec/mode in the Video drop-down menu. This enables you to use filters, which you can’t do in the default Copy Video mode.

add subtitles to mp4

You’ll get the Video Filter Manager window where you can select preset filters for common tasks, such as cropping, resizing, etc. Head to the Subtitles category, where you can choose to embed subtitles in SubRip text format (.srt), MicroDVD subtitle file format (.sub), or the more customizable SubStation Alpha file format (.ssa, .ass), which you saw on How To Create Your Own Subtitles. You can get the subtitles in the latter format using Subtitle Workshop, and Aegisub, which are among the best tools to edit subtitle files.

3. Double-click on the appropriate subtitle filter. Now select your subtitle file.

add subtitles to mp4

If you’re using the SSA subtitle filter like I am, there is really no need to adjust the line spacing, font scale, etc. since you probably specified those settings when you were creating your subtitles with, Aegisub for example, so the default values will do fine. If you downloaded the subtitles from the net, you can, of course, adjust these values.

Close out of the Video Filter Manager.

Even though there’s a Preview button, strangely enough, you won’t be able to preview the video with the subtitles. If, however, you use any other filter, such as resize, Preview will work fine.

4. Choose Copy under Audio mode, although you can also use the LAME codec for MP3, which you can learn more about in Audio File Formats Explained in Simple Terms.

embed subtitles

Then select the video container/format (either FLV, MP4, AVI) you want to save the video.

5. Save the video.

embed subtitles

The time taken to encode the video will depend on the length of the original video.

how to embed subtitles

That’s it! One of the strongest points about Avidemux is definitely the ability to import FLV and MP4, something VirtualDub can’t currently do. One area where VirtualDub does shine though, is filters or plugins. There seems to be way more filters available on the web which can’t be ported to Avidemux. If there is one thing I wish Avidemux wouldn’t do is crash whenever I try to save the video in FLV. Otherwise, it works perfectly.

What do you use to embed subtitles permanently or do you prefer soft-subbed videos?

Photo credit: MazenI77

Join live MakeUseOf Groups on Grouvi App Join live Groups on Grouvi
Best Linux Apps
Best Linux Apps
18 Members
Linux for New Switchers
Linux for New Switchers
22 Members
Linux Distros Talk
Linux Distros Talk
11 Members
Master the Linux Command Line
Master the Linux Command Line
14 Members
Ads by Google
Comments (12)
  • xXjose130Xx

    Thanks, I’ve been looking for an easy way to embed subtitles. I tried ConvertXToDVD 4, but it was a trial, which put a watermark that went every 5 – 6 seconds. Now, I can embed them free and easy.

    • Jessica Cam W.

      MakeUseOf has also covered how to do embed subtitles for free with Virtualdub, another open-source video editor here.

  • subtitle

    wow nice info, we only know to insert subtitle to avi file using avisubtitler . Dont know if we also can insert subtitle to mp4 and flv video file… thanks again !

  • Jessica Cam W.

    Sure, there are many websites like that. I like Subscene because it’s got a big collection, but if you don’t like that, check out The 3 Best Subtitle Sites For Your Movies & TV Series. They all provide subtitles with times that generally match the movies’ dialogue in their original length.

    Sometimes though, you’ll find a subtitle file that doesn’t match the movie exactly. These subtitle editors (and this online one) will let you either shift all subtitles in a file by your desired number of milliseconds, or change the times for specific lines.

    Be sure to ask any of your questions on MakeUseOf Answers since you’ll get more responses there.

  • Sharninder

    This is neat. I’ve used iMovie on the mac for embedding simple text in movies, but I didn’t know adding subtitles to a whole movie also was this easy. Is there a website where we can get dialogues for movies though that we can then use in subtitles. And how does one control the speed and synchronisation between the movie and text?

    • Jessica Cam W.

      Sure, there are many websites like that. I like Subscene because it’s got a big collection, but if you don’t like that, check out The 3 Best Subtitle Sites For Your Movies & TV Series. They all provide subtitles with times that generally match the movies’ dialogue in their original length.

      Sometimes though, you’ll find a subtitle file that doesn’t match the movie exactly. These subtitle editors (and this online one) will let you either shift all subtitles in a file by your desired number of milliseconds, or change the times for specific lines. Be sure to ask any of your questions on MakeUseOf Answers since you’ll get more responses there.

  • just me

    i wonder there is .. a software that lets me to add over an logo and a subtitle and lets me to control the size of the video …

Load 10 more
Affiliate Disclamer

This review may contain affiliate links, which pays us a small compensation if you do decide to make a purchase based on our recommendation. Our judgement is in no way biased, and our recommendations are always based on the merits of the items.

For more details, please read our disclosure.
Affiliate Disclamer

This review may contain affiliate links, which pays us a small compensation if you do decide to make a purchase based on our recommendation. Our judgement is in no way biased, and our recommendations are always based on the merits of the items.

For more details, please read our disclosure.