LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-19-2010, 04:25 PM   #1
jsteel
Member
 
Registered: Mar 2007
Location: England
Distribution: Arch
Posts: 392

Rep: Reputation: 34
Set Totem subtitle to "None" or remove subtitles from mp4?


Hi,

I've transcoded a number of videos into mp4 which include subtitles. I was using VLC before which did not show these by default but now I want to use Totem.

Totem has the option to turn these off (change subtitles to none from auto) but I cannot find a way to set this globally (and it doesn't remember the setting for each file).

Is there a way to set "never show subtitles by default" globally or is there a way to delete the subtitles from the mp4 file? (They are not rendered on the video; they can be turned off).

Otherwise I may have to start my transcoding from scratch! (Disabling any subtitles).

Thanks
 
Old 09-20-2010, 09:05 AM   #2
jangovich
LQ Newbie
 
Registered: Sep 2010
Location: Mississauga, Ontario
Distribution: Ubuntu 10.04
Posts: 21

Rep: Reputation: 5
Have you tried google -a bunch of results show up, some of them suggest that you can either use mp4box or YAMB (Windows) to accomplish this. Wine page says that YAMB will work on Linux. Not a native Linux way, but it should work Good luck.
 
Old 09-20-2010, 09:38 AM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I'm sure you can use mencoder or ffmpeg to permanently remove subtitles if they are not hardcoded.

Code:
ffmpeg -i input.mp4 -acodec copy -vcodec copy -sn output.mp4

Last edited by H_TeXMeX_H; 09-20-2010 at 09:44 AM.
 
Old 09-20-2010, 02:30 PM   #4
jsteel
Member
 
Registered: Mar 2007
Location: England
Distribution: Arch
Posts: 392

Original Poster
Rep: Reputation: 34
Yes I tried Google first and as you say, there are some suggestions for Windows users. Thanks for your suggestions, they both sound promising! I will give them a go soon and report back.
 
Old 08-29-2013, 03:14 AM   #5
hermannpernell
LQ Newbie
 
Registered: Aug 2013
Posts: 2

Rep: Reputation: Disabled
i just find a step by step guide on how to remove MKV subtitles, it also applies to remove subtitles from MP4, AVI, FLV, WebM, OGV, VOB, MPEG, RMVB, WMV, WTV and etc.
 
Old 08-29-2013, 08:43 PM   #6
paziulek
Member
 
Registered: Mar 2009
Location: N.C.
Distribution: "gentoo|debian|arch"
Posts: 106

Rep: Reputation: 11
Code:
ffmpeg -i imput.mp4 -c:a copy -c:v copy output.mp4
or
Code:
mencoder input.mp4 -ovc copy -oac copy -o output.mp4
in any case, as already suggested by TexMex, use ffmpeg, the >>only<< Swiss Army Knife in the audio/video conversion category.
( mencoder is part of mplayer package, and it's also using ffmpeg libraries, as well as 90+% of all converters, transcoders, [ bloatware ] available on the net )

4 TexMex
 
Old 08-16-2014, 09:40 AM   #7
cookances
LQ Newbie
 
Registered: Aug 2014
Posts: 2

Rep: Reputation: Disabled
After a little bit of digging, I found an article which inform us:

As we all know, video formats, such as MKV, MP4 and AVI, can contain several subtitle streams in different formats or languages in one file. Technically, subtitles are divided into two types: hard subtitle and soft subtitle in video files. Hard subtitle is a part of the video images, and you cannot disable or hide it when playing the video file. Soft subtitle is an independent stream, and you can turn on or turn off it when playing.

The article also introduces a method on how to remove subtitle from MKV, MP4, AVI, etc, happy with it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bash - how to remove lines from "FILE_A" which presents in "FILE_B" ? Vilmerok Programming 4 03-13-2009 04:27 AM
How to set the size of icons for "Starterbar" in "Gdekslets" Blue Jacket Linux - Software 4 11-23-2005 02:42 AM
"go-open" video series about linux ( mp4 ) egag General 11 08-05-2005 03:20 AM
Subtitle for "The Code Linux" Boby General 0 06-13-2005 12:56 PM
trouble compiling xmms mp4 plugin from source: "no such file.." mayasedai Linux - Software 3 02-01-2005 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration