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 - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-01-2014, 04:18 PM   #1
cybernetico
Member
 
Registered: Feb 2014
Location: Lisboa/Portugal
Distribution: Ubuntu 15.04 Vervet Vivid
Posts: 108

Rep: Reputation: Disabled
What program can I use to put subtitles into AVI movies?


Hello everyone...
What program can I use to put subtitles into AVI movies? I use the distro Ubuntu 14.10.
I have some urgency in tackling this my problem.
I thank anyone who can help me.

Be well.
 
Old 11-01-2014, 05:04 PM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by cybernetico View Post
What program can I use to put subtitles into AVI movies? I use the distro Ubuntu 14.10.
it depends a lot more on what player you use to play your video files.
Suppose you're using VLC (Videolan), then I'd recommend to store your subtitles as separate files in .srt format. That's a plain text format, can easily be created and edited with any simple text editor, and VLC automatically displays these subtitles if the .srt file is in the same directory as the video file and has the same base name.

[X] Doc CPU
 
Old 11-01-2014, 05:12 PM   #3
cybernetico
Member
 
Registered: Feb 2014
Location: Lisboa/Portugal
Distribution: Ubuntu 15.04 Vervet Vivid
Posts: 108

Original Poster
Rep: Reputation: Disabled
Sorry, I did not explain well what I want. I want to put subtitles on some AVI movies to view on TV without having to connect the pc to TV.
Thank helps...
 
Old 11-01-2014, 05:34 PM   #4
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
AVI doesn't support subtitles, so you'll have to burn them into the video itself.
https://trac.ffmpeg.org/wiki/HowToBu...itlesIntoVideo

However, many DVD players that can play DivX also support .srt or similar subtitle files as long as the titles match. Check the manual.

Last edited by metaschima; 11-01-2014 at 05:35 PM.
 
Old 11-01-2014, 05:51 PM   #5
cybernetico
Member
 
Registered: Feb 2014
Location: Lisboa/Portugal
Distribution: Ubuntu 15.04 Vervet Vivid
Posts: 108

Original Poster
Rep: Reputation: Disabled
What I really want is to put the AVI file in a pen drive and read it on my TV.
My TV only recognizes AVI files.
 
Old 11-01-2014, 06:49 PM   #6
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Check the manual, maybe it supports .srt or some other type of subtitle file. If not just burn them in, see the link I posted.
 
Old 11-02-2014, 06:14 AM   #7
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
You'll also have to read the manual and see what codecs you can use that will be accepted by the TV. You may have to use avidemux or some similar program to change the codecs if need be.
jdk

Last edited by jdkaye; 11-02-2014 at 10:58 AM.
 
Old 11-02-2014, 08:10 AM   #8
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by cybernetico View Post
What I really want is to put the AVI file in a pen drive and read it on my TV.
let's assume we understood that so far.

Quote:
Originally Posted by cybernetico View Post
My TV only recognizes AVI files.
That's not really helpful information, but I can't blame you.
Look, the complicated thing about digital video is that there are two or even three nested levels of information.
  1. The video encoding (codec): That describes how the raw video data is encoded, and it's the most important thing to know for a player. Popular encodings/codecs are H.264 (also called MPEG4 Part 10 or MPEG4 AVC) for HDTV, MPEG2 for DVDs and SDTV, or MPEG4 ASP (sometimes called MPEG4 Part 2) for general-purpose video.
  2. The same for the audio data. Frequently used codecs here are mp3, AC3, AAC or MPEG audio.
  3. The packaging or container format, sometimes called encapsulation. It describes how the video and audio streams are arranged and organized in the file. That could be mp4 (typically with H.264 content), avi (often with MPEG4 ASP content, rarely with H.264), MPEG-PS or MPEG-TS (usually with MPEG2 payload). Note that not all combinations of video codec, audio codec and encapsulation are valid.
  4. Finally, the file name extension. This is causing most of the confusion, because it's the only thing you can see as a layman, and yet it's almost meaningless. An extension of .mp4 typically indicates mp4 encapsulation, as you would expect. A .avi extension suggests an avi container, and .mpg or .mpeg is usually an MPEG-PS container (on DVDs, the extension .vob is used instead).
As you noticed, the extension .avi that you insist on may contain at least two different video formats, so it's important to know which one the player (your TV set in this scenario) really supports. If the set is an HD-TV, it must support H.264, so it's very likely that it supports this codec also when playing from file. Mine, for instance, will play MPEG2 and MPEG4 AVC (H.264), but not MPEG4 ASP.

At any rate, if your TV set doesn't support subtitles in a separate file, you'll have to blend them into the video stream. While mp4 allows for a subtitle stream inside the file (so you can turn subtitles on and off during playback), avi does not. In that case, your only way is to mix the subtitles in as part of the video image. Avidemux can do that, for example. The drawback is that you won't be able any more to play the video without subtitles.

[X] Doc CPU

Last edited by Doc CPU; 11-02-2014 at 11:04 AM.
 
Old 11-26-2015, 08:42 PM   #9
smilefacesss
LQ Newbie
 
Registered: Nov 2015
Posts: 1

Rep: Reputation: 0
Have you tried Avdshare?
It will show you a step by step guide on how to find and download the right subtitles for your MP4 videos as well as add subtitles to MP4. In fact, this guide also applies to add subtitles to AVI, MKV, WTV, WMV, VOB, MPG, MOV, DV, FLV, WebM, OGV, and etc.
 
Old 11-27-2015, 12:07 AM   #10
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by smilefacesss View Post
Have you tried Avdshare?
It will show you a step by step guide on how to find and download the right subtitles for your MP4 videos as well as add subtitles to MP4. In fact, this guide also applies to add subtitles to AVI, MKV, WTV, WMV, VOB, MPG, MOV, DV, FLV, WebM, OGV, and etc.
Hi smilefacesss and welcome to LQ! Since the last post to this thread is over one year old, I doubt very much that the OP will be still around. S/he's probably solved the problem long ago and moved on to other things. In the future check out the date of thread you want to contribute to. It will save you wasting your time.
Cheers,
jdk
 
Old 11-27-2015, 07:20 AM   #11
debguy
Member
 
Registered: Oct 2014
Location: U.S.A.
Distribution: mixed, mostly debian slackare today
Posts: 207

Rep: Reputation: 19
[mod_edit]To maintain my own sanity and the reputation of LQ as a well-informed forum I have removed this nonsense. This is all getting a bit much.[/mod_edit].

Last edited by Tinkster; 12-01-2015 at 03:21 PM.
 
Old 11-27-2015, 10:35 AM   #12
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by debguy View Post
it's ILLEGAL for you to play AVI movies using unix unless your running microsoft OS under linux, HAVING PAID for the full OS

microsoft designed AVI to be incompatible with animated GIF, mpg, etc specifically to prevent their users from "leaving the platform" or from being able to share media with the apple iie or unix (many) platforms

this question is also 30 years old, avi is a "dead format", and i have a hard time beleiving it is re-appearing

simply put: it says in your microsoft license you are not allowed, why ask us how to do it?
Wrong, and please stop posting things that are either misleading or incorrect. AVI is a file format, and it is NOT proprietary, and hasn't been for quite some time (close to 20 years). Read the Wikipedia page for it. Also, AVI is not 'dead' by any stretch, since quite a few higher end cameras record in that format, and most editing software supports it.

Please at least TRY to read up on something before posting:
https://en.wikipedia.org/wiki/Audio_Video_Interleave
 
1 members found this post helpful.
Old 12-01-2015, 02:34 PM   #13
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by debguy View Post
simply put: it says in your microsoft license you are not allowed, why ask us how to do it?
Where are your incorrect ideas about Microsoft's licenses coming from? You certainly didn't get them from the licenses themselves.

Last edited by dugan; 12-01-2015 at 06:42 PM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Right Click Movies To Download Subtitles In Ubuntu LXer Syndicated Linux News 0 10-14-2009 08:30 AM
Cyrillic avi subtitles with Mplayer (--T--) Linux - Software 3 01-08-2009 11:59 AM
add subtitles to the avi/mpg DBabo Linux - Software 6 02-08-2008 09:55 AM
Merging movies (and subtitles) Belegdol Linux - Software 1 08-20-2005 12:10 PM
Xvid movies with VobSub subtitles Haiyadragon Linux - General 1 12-31-2004 09:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:26 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