Converting *.mkv to *.avi on Ubuntu
November 27, 2008
.mkv file ဆိုတာက matroska file လို႔သိၾကတဲ႔ extentable open standard Audio/Vidoe container file ပါ။ တခ်ဳိ႕ Movie ေတြကို ဒီ format နဲ႔ လုပ္ၾကတယ္။ စာအိပ္နဲ႔တူတယ္လို႔လဲေျပာၾကတယ္ ဘာျဖစ္လို႔လဲဆိုေတာ႔ အဲဒီမွာ audio, video, subtitle streams ေတြထည့္ထားလို႔ပါ။ သူက compression format မဟုတ္ပါဘူး ဆိုလိုတာက အရင္က video cd ေတြမွာ အသံ အရုပ္ စာတန္းေတြကို တခါတည္း decode လုပ္ထားတဲ႔ compressed video format မ်ဳိး မဟုတ္တာကိုေျပာတာပါ။
.avi file ကိုေတာ႔ လူေတာ္ေတာ္မ်ားမ်ားရင္းႏွီးႏွီး သိပါတယ္။
က်ေနာ္ ခုေရးမွာက .mkv ကေန .avi ကို ဘယ္လိုေျပာင္းလဲဆိုတာပါ။ အဲဒီအတြက္ ffmpeg ကို install လုပ္ထားေပးပို႔လိုပါတယ္။
Install ffmpeg
$ sudo apt-get install ffmpeg
ၿပီးရင္ က်ေနာ္တို႔ convert လုပ္ပါေတာ႔မယ္။
Convert .mkv to .avi
$ ffmpeg -i filename.mkv -target vcd filename.avi
filename.mkv မွာ filename ေနရာမွာ ကိုယ္ေျပာင္းခ်င္တဲ႔ mkv file name ေရးေပးရမယ္၊ filename.avi မွာက်ေတာ႔ filename ကို ကိုယ္ေပးခ်င္သလိုတပ္ေပးလို႔ရတယ္။
Examples
$ ffmpeg -i TheCloneWarsS01E01.mkv -target vcd TheCloneWarsS01E01.avi ဒါမွမဟုတ္
$ ffmpeg -i TheCloneWarsS01E01.mkv -target vcd TheStarWarsS01E01.avi
Audio-Video Converter on Linux
November 16, 2008
Soundconverter can convert between various audio formats like Ogg/Vorbis, MP3, FLAC, and WAV.
Install Gstreamer Codecs
$ sudo apt-get install gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad
Install Soundconverter
$ sudo apt-get install soundconverter
Soundconverter will be at Applications > Sound & Video
MEncoder
MEncoder is a command-line tool to encode and decode videos.
Install MPlayer
$ sudo apt-get install mplayer
Install MEncoder
$ sudo apt-get install mencoder
Howto MEcoder



