
Installing dependencies on Arch / CentOS / Clear / Debian / Fedora / Gentoo / Ubuntu.Constant quality versus average bit rate draft.Performance How various settings affect encoding speed.Official presets Technical summary of the official presets.Supported source formats Types of video files HandBrake can read.System requirements Make sure your system can run HandBrake.Activity Log Activity Logs help you receive better support.Community support Get help from real people.Troubleshooting common issues What to do if something goes wrong.Using the queue Set up multiple encode jobs at once.Starting encoding Start encoding your new video with one click.Previewing your settings See what your new video will look like in a fraction of the time.Adjusting quality Easily increase visual quality or reduce file size.Selecting a preset Tailored settings for instant compatibility with many devices.Opening a video source How to get your videos into HandBrake.Checking for updates Staying up to date with the latest features and bug fixes.Downloading and installing HandBrake How to get HandBrake onto your computer.Where to get HandBrake The officially supported version.About HandBrake What HandBrake is, does, and does not.Quick start Learn how to make your first video in minutes.MacOS/Linux: for f in *.mkv do ffmpeg -i "$f" -c copy "$ \ All MKV files found in the directory will be converted with their original filename. This can be run directly from command line. If you want to batch convert multiple MKV files, you can switch into the directory that contains MKV files and run the following, depending on OS. Single file conversion example ffmpeg -i example.mkv -c copy example.mp4 If not just substitute with the full path to your ffmpeg binary. These examples assume ffmpeg is in your PATH. Older examples may use -vcodec copy -acodec copy which does the same thing.

With ffmpeg this can be achieved with -c copy. The main factor is disk read/write speed. This avoids any encoding task and hence no quality will be lost, it is also a fairly quick process and requires very little CPU power. The easiest way to "convert" MKV to MP4, is to copy the existing video and audio streams and place them into a new container.

Converting mkv to mp4 with ffmpeg Essentially just copy the existing video and audio stream as is into a new container, no funny business!
