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.

How to remove embedded subtitles from a MP3 file in Linux?

I have a mp3 file with subtitles in it (it is sound of a movie in another language , so you don't have to download the movie again just the sound and it can be merged to the mkv file) The subtitle is translation for captions/text in film

If I play the mp3 file with "Videos" (default Ubuntu video player) it plays fine but if I do

lame myfile.mp3 newfile.mp3

Which should output an identical file, which it does without subtitles but when I try to play that it contains lots of noise/weird sounds. So my guess is that it parsed the subtitles as if they were part of sound.

so the question is how to get rid of any additional embedded stuff in a mp3 file preferably with tools available in linux (Ubuntu)?

As to why I need this is because I need to convert file format and lame doesn't handle this extra embedded stuff well , if you know a converter program capable of handling mp3 subtitles well that would do too.

After some googling it seems the subtitle is embedded similar to how lyrics are , which is some kind of id3 tags. I installed "id3" (a command line tool for Ubuntu which can manipulate id3 tags) but it didn't detect any tags in file . (lyrics are in id3v3 I think)

Images of Properties Windows and Subtitle options

enter image description here

enter image description here

share|improve this question
1  
are you sure it is really mp3 file and not some sort of video just renamed to .mp3? I don't think "subtitles" can be embeded in mp3. –  edvinas.me Apr 5 at 22:00
    
@edvinas.me i wanted to add some images to post but it didn't allow me ... it says "MPEG1 Layer3 (MP3)" for codec in properties window –  Bor691 Apr 5 at 22:33
    
you can add it to imgur.com and post the link :) –  edvinas.me Apr 5 at 22:34
    
MPEG1 Layer3 is video format if I remember correctly. –  edvinas.me Apr 5 at 22:35
    
@edvinas.me added images –  Bor691 Apr 5 at 22:37

1 Answer 1

up vote 1 down vote accepted

You can use MkvToolNix set of tools. The mkvmerge tool can do exactly what you want. Simply open your file -which is in matroska container format- in mkvmerge, choose the track you want to remove (the text track since you want to remove subtitles), uncheck it, and remux.
It'll take a few seconds and won't re-encode everything else. While there, you may want to make sure Compression is set to "none" explicitly on the extra options tab for each track to ensure maximum compatibility.

share|improve this answer
    
i am installing it now , will accept your answer if it worked . –  Bor691 Apr 6 at 9:40

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.