With the plethora of video formats and codecs available, a video you've downloaded or recorded may not be in your preferred format. In this instance you can convert the video container or codec to something more commonly used. The matroska (MKV) format, while superior in capabilities, especially in terms of high definition to the MPEG (MPG) format, is not as widely compatible. MPG features universal, cross-platform, native support. Converting MKV video on Linux is easy, as you can utilise the inbuilt FFmpeg converter.
- Skill level:
Other People Are Reading
Open your Linux Terminal. This process will differ depending on your distribution. Check the user documentation for more details. This opens a command-line window ready for you to type in a command.
Type "cd" (into the command Terminal), followed by the path for your video, to change the directory. For example, in root, if your video is in "/video/," then type "cd video" and press "Enter."
Type "ffmpeg -i source.mkv output.mpg" (without quotes) into the command window (you won't need to click anywhere, just type). Replace "source" with the file name of your matroska video. Replace "Output" with your desired output file name.
Press "Enter." The video conversion may take up to a few hours, depending on video size, resolution, quality, length and computing capability.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for