Home > Linux > Convert video files to mp3 in Ubuntu

Convert video files to mp3 in Ubuntu

In my previous post, I explained how to convert audio files from one format to another in Ubuntu. Ubuntu provides native support for this through Sound Converter which can be installed using a simple command. After trying Sound Converter, I was confident that there will be similar applications to convert video files. That made me to install applications like WinFF, Avidemux.

My objective was to convert *.DAT files from a VCD into *.mp3. I decided to try WinFF first. The interface was pretty simple to use.

But when I pressed the “Convert” button, I got the following message,



WinFF reported that the encoder ‘libmp3lame’ is unknown. I tried to install that via apt-get but could not find that in the repository as well. I tried to convert to other formats but in vain. I understand that I miss some libraries/encoders, but the help message was not very useful. The application could have suggested me to install the respective library like Sound Converter does for “mp3″ support.

Since WinFF failed to get the job done for me, I tried Avidemux this time. When I started avidemux, I quickly realised that this not going to be an application which everyone can use effortlessly. Avidemux might be a great tool but unless it gets a decent user interface it’s not going to be used by many. But since I was determined to convert my video files, I proceeded ahead with Avidemux.

When I tried to load the “DAT” file, Avidemux complained that it could not open that file.

I searched the Avidemux wiki but still couldn’t solve the problem. My search continued and in one forum I got a suggestion that I can rename the file to “mpg” and change the “video”, “audio” options to “MPEG-4 ASP (Xvid4)”, “MP3 Lame” respectively. But the result was same. Avidemux couldn’t open the file.


Then I realised that another user had the same frustrations like me and eventually opted to run the popular windows only tool FormatFactory on top of Wine. I decided to follow suit but I thought of trying out AnyVideoConverter on top of Wine. But AnyVideoConverter failed to start which left me with no options but to turn for FormatFactory.

I downloaded and installed FormatFactory using Wine and it started without any issues on my Ubuntu.

Since I wanted to convert video files into “MP3″ format, I clicked the “Audio” tab in the left pane and chose the option “All to MP3″. Then I was prompted to add the necessary files.

Once I added the necessary files, all I had to do was to click “Start” button.

After a few seconds, FormatFactory successfully converted the “DAT” files into “MP3″ format.

Thanks to FormatFactory and Wine, I was able to convert “DAT” files without booting into Windows. Many thanks to this wonderful article which was an eye opener for me.

I haven’t yet tried the FormatFactory|Wine combination to convert my videos into other format. Why don’t you try it and share your experience with us?

 

Related posts:

  1. Convert audio files in Ubuntu with Sound Converter
  2. Increasing the screen resolution of Ubuntu-7.10 on VirtualBox
  3. Good news for Google Talk users on Linux
  4. Customizing Ubuntu to provide stunning looks
  5. Ubuntu 8.10 – A Productive Java Development Environment

  1. July 13th, 2009 at 00:04 | #1

    I've been trying to learn how to use Ubutnu for months, been collecting articles like these and saving them to Delicious and just banging through them one by one.

  2. annie
    July 27th, 2009 at 14:48 | #3

    @solitarygeek
    Thankyou so much.
    Instructional articles like this are vital for people new to Ubuntu.I can’t stress enough that I,not being a ‘computer person” as such but enthusiastic in my quest to understand and get away from MS,NEEDS your imput.
    Thankyou,very grateful

  3. sundaymicky
    September 10th, 2009 at 18:40 | #4

    You can try Cucusoft DVD and Video Converters Suite which includes Cucusoft Ultimate DVD and Video Converter Suite. It is the best all-in-one DVD and video conversion software converts DVDs and videos to play on almost any portable device including iPod, iPhone, Zune, PSP, video capable MP3 players, video capable mobile phones, and Pocket P.C., etc.

  4. November 30th, 2009 at 17:13 | #5

    My friends often ask me the questions:which video converter should I choice?which video converter is best?when I listen to the questions,I don’t know how to answer them.But friends, I can give you some advice if you need convert video.

  1. No trackbacks yet.