4

I have been searching something which can multiplex subtitle with video files in Linux environment. The key thing is that it should softly embed the subtitle to video, not encode again. (like avidemux). After this multiplexing process, user should be able to open/close subtitle using VLC for example.

While searching that, I found a software which can do exactly what I need, named AVI-Mux GUI in Windows environment. However, I need these software's Linux alternative.

Thanks.

3
  • This may be helpful. If not, then try this or this. Commented Aug 27, 2010 at 14:10
  • When I was googling, I have found tools that was mentioned in these articles but unfortunately these are not the ones that I search. Most of them hardly embed the subtitle to video file... Commented Aug 28, 2010 at 10:43
  • 2
    That's not always possible. It depends on the file format. To get an overview of what actually is possible, have a look at a comparison of container formats
    – wnrph
    Commented Jan 28, 2012 at 10:16

1 Answer 1

3

The AVI container format does not support embedded (muxed) subtitles at all - it only supports hard subs, which requires re-encoding the video with the subtitles actually in each video frame.

To have muxed subtitles you need to use either the MKV or MP4 container formats, depending on the subtitle format.

Your AVI files can be remuxed into either container, again depending on the video and audio codecs. See Comparison of container formats on Wikipedia for compatibility tables.

I have found that MKV supports far more combinations than MP4

The MKVToolNix package is available for Linux and will do everything you need

For MP4 the tool to use is MP4Box

If you need more info on the difference between a container format (e.g. AVI, MP4, MKV etc.) and a codec (e.g. DivX, Xvid, H.264 etc.) then Digital container format and it's linked articles is a good place to start.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .