Sunday, June 17, 2007

Ubuntu: Hot to add subtitles to an AVI file.

All major Linux media players (Totem, mplayer, VLC player) allow you to add subtitles to a movie while watching it. This post describes how you can permanently add the subtitles in an AVI file, which is useful if you want to burn the movie to a video DVD. (Notice however that this technique does not allow you to add more than one subtitle streams to the movie, or disable the subtitles while watching the movie; the subtitles are hard-wired to the movie).

The software package we are going to use is called avidemux and it can be easily installed through aptitude if the universe/multiverse packages are enabled.

The procedure required to add the subtitles is this:

  1. Launch avidemux.
  2. Open the .avi file. With all files I have tried so far, I get these warnings:
    It is best to let avidemux do what it wants to do - it only takes a few seconds.
  3. Select a video encoder from the pull-down menu on the left pane, where it says Video. I believe this can be anything, but it is preferable to choose the same encoder as the one used in the original movie. I normally use Xvid4 and it works just fine.
  4. Configure the encoder by clicking the "Configure" button. In my opinion, no configuration is actually require in order to get an acceptable result. Even one-pass encoding works fine. The only thing that you might want to adjust is the size of the output file.
  5. Add a subtitler filter. First click on the "Filters" button in the left pane (under Video). This brings up the following window:
    Select Subtitles→Subtitler. You can now configure your subtitles using the window shown in the image below.
    This window allows you to select the subtitles file, the encoding (it supports UTF-8, so it works fine with non-latin alphabets), and the font, color, size and position of the subtitles.
  6. It appears that there is no need to select an audio encoder; "COPY" works just fine (since we do not wish to make any changes to the sound). Make sure that the "Format" is set to "AVI". The result can be previewed by clicking on the far right icon and then pressing play.
  7. To finalize the process, click Save and type in a name for the output file. Note that the whole process can take a while. For example in my laptop it took maybe more than an hour to encode a 40min movie file, at an average speed of 16FPS (while doing other stuff as well).

25 comments:

iSplicer said...

Thanks, works great

gsounds said...

thanks! good how-to, easy to put in practice, what i was looking for....

Colin Brayton said...

Good explanation, helped me out of a major brain fart situation. Many thanks.

Anonymous said...

Really helped me out. I appreciate it.

Alberto restuccia said...

I don't know why, but I did everything you said and I cannot still see the subtitles.... Any Idea?

Anonymous said...

Thanks -- this was really helpful.

Alberto, I think your problem might be that avidemux might not be picking up your fonts (that's what's happened to me) as it doesn't seem to give a warning about that. Try clicking browse on the font file it selects for the subs and see if that leads anywhere.

Doug

Anonymous said...

This theme is simply matchless :), it is pleasant to me)))

Anonymous said...

Ich bin endlich, ich tue Abbitte, aber meiner Meinung nach ist dieses Thema schon nicht aktuell. viagra rezeptfrei cialis preis [url=http//t7-isis.org]cialis[/url]

Anonymous said...

I like this phrase :)

Anonymous said...

Shine

Anonymous said...

Can be


I can suggest to visit to you a site, with an information large quantity on a theme interesting you. Hot Health

Anonymous said...

hi

can anyone help me
i have tried for over a week now to get a loan,i have very bad credit history mainly due to a failed marrage ,i have had all the usual ,wh loans,advantage loans ,yes loans ,get in touch and promise a [url=http://www.usainstantpayday.com]bad credit loans[/url] on paying the brokerage fee,i am reluctant due to reviews on the net and i have been stung before by a company called wentorth finance ,and never got the loan of the 50 pound fee back,
i have had an offer from flm but need a gaurantor which isnt really an option either .
i wondered if anyone had any loan companys that considered bad credit ,but loaned direct without these numerous sites with different alias but mainly did same thing pay us and we will get u loan (maybe)senario
has anyone also heard of a company called fresh loans they have they sent me details out but the may be a charge but not always ,i suspect she didnt want to tell me there was a charge

thanks
Betnainty

Anonymous said...

[url=http://cpcheat.org/]Club Penguin Codes[/url] provides you with a [url=http://cpcheat.org/club-penguin-money-maker/]Club Penguin Money Maker[/url] that allows you to gain a lot of coins in Club Penguin.
[url=http://cpcheat.org/]Club Penguin Codes[/url] also gives you [url=http://cpcheat.org/club-penguin-trackers/]Club Penguin Trackers[/url] such as a [url=http://cpcheat.org/club-penguin-aunt-arctic-tracker/]Club Penguin Aunt Arctic Tracker[/url], a [url=http://cpcheat.org/club-penguin-cadence-tracker/]Club Penguin Cadence Tracker[/url], a [url=http://cpcheat.org/club-penguin-gary-tracker/]Club Penguin Gary Tracker[/url], a [url=http://cpcheat.org/club-penguin-band-tracker/]Club Penguin Band Tracker[/url], a [url=http://cpcheat.org/club-penguin-rockhopper-tracker/]Club Penguin Rockhopper Tracker[/url], and a [url=http://cpcheat.org/club-penguin-sensei-tracker/]Club Penguin Sensei Tracker[/url].
Finally,[url=http://cpcheat.org/]Club Penguin Cheats[/url] gives you [url=http://cpcheat.org/club-penguin-bots/]Club Penguin Bots[/url] and [url=http://cpcheat.org/]Club Penguin Mission Cheats[/url] and [url=http://cpcheat.org/]Club Penguin Coin Cheats[/url]

Anonymous said...

[b]All of these girls are online now! just click on your favourite to go to their cam![/b]

[url=http://adf.ly/1DUJ][img]http://www.hourlynetnews.com/mtree/1.jpg[/img][/url] [url=http://adf.ly/1DUJ][img]http://www.hourlynetnews.com/mtree/2.jpg[/img][/url]
[url=http://adf.ly/1DUJ][img]http://www.hourlynetnews.com/mtree/3.jpg[/img][/url] [url=http://adf.ly/1DUJ][img]http://www.hourlynetnews.com/mtree/4.jpg[/img][/url]
[url=http://adf.ly/1DUJ][img]http://www.hourlynetnews.com/mtree/5.jpg[/img][/url] [url=http://adf.ly/1DUJ][img]http://www.hourlynetnews.com/mtree/6.jpg[/img][/url]
[url=http://adf.ly/1DUJ][img]http://www.hourlynetnews.com/mtree/7.jpg[/img][/url] [url=http://adf.ly/1DUJ][img]http://www.hourlynetnews.com/mtree/8.jpg[/img][/url]
[url=http://adf.ly/1DUJ][img]http://www.hourlynetnews.com/mtree/9.jpg[/img][/url] [url=http://adf.ly/1DUJ][img]http://www.hourlynetnews.com/mtree/10.jpg[/img][/url]

this will keep updating with the latest girls!

Anonymous said...

loved las vegas? dote on an pains the all modish [url=http://www.casinolasvegass.com]casino[/url] las vegas at www.casinolasvegass.com with greater than 75 up to rendezvous unstinting [url=http://www.casinolasvegass.com]online casino[/url] games like slots, roulette, baccarat, craps and more and payment a toothsome in licit coins with our $400 laid-back bonus.
we from unbroken wise games then the crumbling online [url=http://www.place-a-bet.net/]casino[/url] www.place-a-bet.net!

Anonymous said...

China and Russia put the blame on some screwed up experiments of US for the earthquake that happened in Haiti.
Chinese and Russian Military scientists, these reports say, are concurring with Canadian researcher, and former Asia-Pacific Bureau Chief of Forbes Magazine, Benjamin Fulford, who in a very disturbing video released from his Japanese offices to the American public, details how the United States attacked China by the firing of a 90 Million Volt Shockwave from the Americans High Frequency Active Auroral Research Program (HAARP) facilities in Alaska
If we can recollect a previous news when US blamed Russia for the earthquake in Georgio. What do you guys think? Is it really possible to create an earthquake by humans?
I came across this [url=http://universalages.com/hot-news/what-happened-in-haiti-is-it-related-to-haarp/]article about Haiti Earthquake[/url] in some blog it seems very interesting, but conspiracy theories have always been there.

Anonymous said...

I truly believe that we have reached the point where technology has become one with our world, and I think it is safe to say that we have passed the point of no return in our relationship with technology.


I don't mean this in a bad way, of course! Ethical concerns aside... I just hope that as the price of memory decreases, the possibility of downloading our brains onto a digital medium becomes a true reality. It's a fantasy that I dream about all the time.


(Posted on Nintendo DS running [url=http://quizilla.teennick.com/stories/16129580/does-the-r4-or-r4i-work-with-the-new-ds]R4[/url] DS qqPost)

Anonymous said...

[color=#b4445c]Hello

With the continuing rise in popularity of tagged poker chips as a virtual currency in zynga texas holdem poker a lot of hackers have engaged themselves, who try their best to trick unsuspecting players out of their hard earned facebook poker chips. All over the internet forums are littered with posts by innocent people who have had their poker chips stolen. Nothing is as sorry state as logging to Facebook or MySpace to play a few games of poker only to find that someone has already been in your account and your poker chips are gone.[/color]

[url=http://www.chipshut.com][img]http://www.chipshut.com/img/facebook-poker-chips-hut.jpg[/img][/url]

[color=#b4445c]Follow these tips to keep your facebook poker chips safe:

Never give your password to a stranger: Trust is a delicate thing that takes a long time to build but only second to destroy. You may meet a stranger in poker room and you are friends with him/her. He/she will keep interacting with you days before playing her trick. So be carefull enough to protect your login credentials to yourself, else this may lead to disaster.

Be careful about what you download: Regular online gamers are looking for cheats or hacks for the games they play in order to give them an advantage on their opponents. Poker is no different and there are many websites on the internet having facebook poker cheats and hacks for those brave enough to download and install them. But many of these so called facebook poker cheats have viruses or trojan programs. The moment you install any of these your computer is at the risk of attacks by the creator of the program. He can then have access to vital information that you access from your computer. Leaving your facebook poker account at risk of been hacked. If you never downloaded any of these programs then you’re probably safe, and if you have then you should run a spyware detection program. The best move will be for get your computer formatted to avoid any loop holes.

Phishing Links: This way of hacking has been thee for quite sometime now. Scammers send legitimate and official looking emails to your inbox. When you open them you are asked to click on the link and login in order to save your account or win free facebook poker chips, but in reality you are logging into a fake site that sends your information off to the scammer who made it. Before you find it out, its too late to react and they would have already broken into your account and emptied it of any facebook poker chips that you may have.

YouTube scams: If you do a search on youtube for facebook poker cheats, zynga poker hacks, or free facebook poker chips you’ll find hundreds of videos on the topic. More than 90% of them are made by idiots hoping to convince you to send them your account information. They range from slightly clever to completely moronic.

Image Photo Having Exe Embedded In it: This one is hard to catch. This is the latest fashion that is used by hacker, you will be asked to share family photo's. When you open their photo, that will innitiate an exe in the background which will steal all your information and send to the mastermind behin it. So be careful with whom you share photos.

Hope these tips help you saving your chips.

These tips have been brought to you by [/color][url=http://www.chipshut.com]Chips Hut[/url][color=#b4445c] if you are looking to buy [/color][url=http://www.chipshut.com]facebook poker chips[/url], [color=#b4445c]you may go to our online store.

Have a nice day[/color][img]http://www.chipshut.com/img/chips-hut-smily.gif[/img]

Anonymous said...

hello! descry mac scrap torrents here
http://www.osxtorrents.com

Anonymous said...

Ola, what's up amigos? :)
In first steps it's very nice if somebody supports you, so hope to meet friendly and helpful people here. Let me know if I can help you.
Thanks in advance and good luck! :)

Anonymous said...

According to one of the uploaders the following changes have been made to build 7227

1. Changes in the mechanism for displaying thumbnails in the taskbar.

2. Pop-Up lists for the panel

3. Pop-Up lists for Remote Desktop

4. Applying the settings of the taskbar

5. Multitouch zoom

6. Invert selection

7. You can search for music by artist

8. View the contents of the search results

9. Intelligent indexing after installation

10. Reducing the length of playback sounds system

11. Changes in the panel Devices and Printers

12. Changes in the mechanism of extraction devices

13. Support for FireWire-cameras

14. Reduction in section in system

15. Improved driver support

16. Reducing the paging file

17. Assigning a letter to boot with two OS loaded

18. Naming the section reserved for the system.

There are rumors out there that this build could be fake and that build 7230 will be leaked tomorrow evening.
to know how the new SP looks and to see the screen shots visit [url=http://technoages.com/operating-system/windows-7-operating-system/windows-7-sp1-leaked-check-out-all-the-new-features-of-windows-7-service-pack-1/]this pageabout windows 7[/url]

Anonymous said...

Watch Gossip Girl Online For Free - Gossip Girl Streaming Online

[CENTER][URL="http://www.gossip-girl.watch-movies-and-series-online.com"][IMG]http://www.youronlinemovies.net/includes/public/images/movies/gossip-girl.png[/IMG][/URL]

Hi [B]Upper East Siders[/B]!
Come And Welcome to my website: [B][URL="http://gossip-girl.watch-movies-and-series-online.com"][B]Gossip Girl[/B][/URL][/B]
Whether you’re a Hampton Baby, Central Park [B]Prada[/B] gal, or you even dwell in *[B]gasp[/B]* Brooklyn, [I]this site is for you.[/I]
Why? The answer’s easier than deciding [B]what to wear[/B] tomorrow to school.
[B]Because [/B]my website has [B]all [/B]the latest [B]gossip[/B] about [B]Serena[/B], [B]Blair, Dan [/B]and the other poor little rich kids on the Upper East Side.


[/CENTER]

Anonymous said...

Witam doszedlem do wniosku ze ta strona jest najlepsza jezeli chodzi o [url=http://www.youtube.com/user/kredytstudencki]kredyt studencki[/url].

http://identi.ca/kredytstudencki

Anonymous said...

good afternoonpeople this is a great forum hope im welcome :)

Anonymous said...

Great website.

Want to remodel your home in style?

[url=http://x.azjmp.com/3kzMR?sub=xr]Direct Buy Membership[/url]