Results 1 to 6 of 6

Thread: Convert *.MKV to *.AVI in Ubuntu

  1. #1
    Join Date
    Mar 2010
    Posts
    27

    Convert *.MKV to *.AVI in Ubuntu

    I have Ubuntu installed on my computer. I would like to convert a .mkv video file that I have on my computer downloaded from internet to .avi file format. Is this possible? How? Do I need some software? Which one?

  2. #2
    Join Date
    May 2008
    Posts
    4,085

    Re: Convert *.MKV to *.AVI in Ubuntu

    MKV is not a video codec, but a container. So you can use any of the AVI presets depending on the source video file. For the converter software search for avi converter and you will have number of software listed.

  3. #3
    Join Date
    May 2008
    Posts
    859

    Re: Convert *.MKV to *.AVI in Ubuntu

    The method is quiet simple in Ubuntu. All you need is Mencoder. Try to dump the compressed video and audio out of the mkv file using mplayer, and then mux the video and audio into an avi container with the help of mencoder. Here is the command to do so:

    Code:
    mplayer file.mkv -dumpaudio -dumpfile abc.mp3
    mplayer file.mkv -dumpvideo -dumpfile xyz.264
    
    mencoder -vf harddup -oac copy -ovc copy -o newxyz.avi -audiofile abc.mp3 xyz.264

  4. #4
    Join Date
    May 2008
    Posts
    1,020

    Re: Convert *.MKV to *.AVI in Ubuntu

    Download and install SUPER 2009 on your computer. Follow the below steps to convert MKV file to AVI in Ubuntu:

    1. Start SUPER 2009.
    2. Select the MKV file you want to convert. Right click on the main interface and then choose the "Add Multimedia File(s)" option.
    3. Select the output container as AVI, the output video codec as DivX.
    4. Click on "Encode(Active Files)" button to start the conversion process.

  5. #5
    Join Date
    Jan 2008
    Posts
    3,388

    Re: Convert *.MKV to *.AVI in Ubuntu

    Why do you want to convert that video file from MKV to AVI? If you are thinking that the resolution could be the problem and so wanted to do then here is the code to change the resolution of the file without the need to convert it to AVI:

    Code:
    mencoder -mc 0 -noskip -vf expand=:::::16/9,scale=720:480,hqdn3d,harddup -ovc xvid -oac mp3lame -xvidencopts fixed_quant=3.8:me_quality=6:noqpel:nogmc:trellis:chroma_me:chroma_opt:hq_ac:vhq=4:lumi_mask:max_key_interval=300:quant_type=mpeg:max_bframes=2:closed_gop:nopacked:profile=asp5:autoaspect:bvhq=1 -lameopts vbr=2:q=6:aq=2 -o outfile.avi infile.mkv

  6. #6
    treemme96 Guest

    Re: Convert *.MKV to *.AVI in Ubuntu

    Maybe you can try FormatFactory.

Similar Threads

  1. How to convert PDF file to JPG or PNG in ubuntu?
    By Bengal Tiger in forum Windows Software
    Replies: 3
    Last Post: 03-04-2012, 12:37 AM
  2. Replies: 6
    Last Post: 30-01-2012, 07:16 PM
  3. Replies: 4
    Last Post: 26-07-2011, 08:28 PM
  4. Easily Convert Windows in Ubuntu Look
    By Twitter in forum Tips & Tweaks
    Replies: 2
    Last Post: 28-03-2010, 05:22 AM
  5. Replies: 1
    Last Post: 26-07-2008, 02:30 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,896,085.87638 seconds with 17 queries