Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
    
This may be helpful. If not, then try this or this. –  Sergiy Byelozyorov Aug 27 '10 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... –  Onur Şentüre Aug 28 '10 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 –  artistoex Jan 28 '12 at 10:16
add comment

1 Answer

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.

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.