Camera Hacker

Wiki

Older Revision of DivX and MP3 Codecs for Ubuntu

Revision: 20070827_201717 | All Revisions


DivX and MP3 Codecs for Ubuntu

When I make home videos for distribution on the web, I tend to use Microsoft Windows Movie Maker to edit the segment I want to distribute and export it to DV. Then I would load up the video segment in VirtualDub for post-processing, such as deinterlace, level, brightness/contrast, saturation, resize, etc. Finally, I'd export to XviD/MP3 format; the video portion will be encoded in XviD (similar and playable using the DivX codec), while the audio portion will be encoded in MP3. The DivX/MP3 format seems to provide the best quality and the smallest file size ratio for now.

My video process work-flow usually involves a Windows notebook PC. But I have several Linux computers around my home running various flavors of Ubuntu. My favorite right now is Ubuntu 7.10.

Last night, I made two video segments from my friend's wedding the day before. I encoded them into the DivX/MP3 format. But I moved to my living room computer (so I can watch TV with my wife) running Ubuntu to process the photos. I double clicked on the videos I made, which started Totem Movie Player automatically. Unfortunately it couldn't play the video because the DivX and MP3 codecs aren't installed. But through this process, I found out how easy it is to install these codecs so that you can watch DivX videos and MP3 audios on Ubuntu. And I'll show you how in this wiki document.

Easiest Way to Install DivX and MP3 Codecs

Installing DivX and MP3 Codecs Manually

If you are comfortable with the UNIX command-line interface, you can also install these codecs manually. Simply type in the following commands in order and the codec packages will be installed.

sudo apt-get install gstreamer0.10-plugins-ugly
sudo apt-get install gstreamer0.10-ffmpeg
sudo apt-get install gstreamer0.10-plugins-bad-multiverse

Related Links

    DivX Microsoft Ubuntu VirtualDub XviD