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?
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?
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.
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
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.
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
Maybe you can try FormatFactory.
Bookmarks