HitPaw Video Converter banner picture

HitPaw Video Converter

  • · Download videos from YouTube and other 10000+ hot sites effortlessly
  • · Convert videos to MP4, MP3, AVI, and 1000+ formats without quality loss
  • · Trim and merge your converted video creations
  • · 60x faster video conversion speed with full GPU and CPU acceleration
Home > Video Converter > How to Convert MKV to MP4 Using FFmpeg on Windows 11/10 and Mac

How to Convert MKV to MP4 Using FFmpeg on Windows 11/10 and Mac

Joshua Hill

Posted 2023-05-16

Are you one of the users who wish to convert MKV to MP4 just because of the fact that you have a video in MKV format. The issue with MKV videos is that users can neither open nor play them on different portable devices such as Android phone, Apple iPhone, iPad, or even third-party video players. If you are facing this issue, you can convert those videos to MP4.

Fortunately, transcoding files to MP4 from MKV video is very easy and quick with the help of some converters. Today, through this article, we will talk about one such method that will help you convert MKV file to MP4 using FFmpeg tool easily.

Part 1. How to Install FFmpeg and Convert MKV to MP4 on Windows 11/10/8/7

Installing FFmpeg is very easy and as simple as a child’s play. First, and foremost, the tool is free and easy to download. And so is the conversion process. All you have to do is follow the below steps to know the FFmpeg convert MKV to MP4 process.

  • 1

    Start by downloading Windows's package of FFmpeg and select the latest 32bit or 64bit Static version from as per your PC configuration. This can be done by visiting www.ffmpeg.org and clicking the big green Download option.

  • ffmpeg convert mkv to mp4
  • 2

    Once the package is downloaded, right-click it and extract the ffmpeg.exe file using 7zip.

  • convert mkv to mp4 using ffmpeg
  • 3

    Next, make a new folder in the system directory, and give FFmpeg as its name. Paste all the extracted files to the FFmpeg file folder.

  • convert mkv to mp4 with ffmpeg
  • 4

    Now, navigate to My computer >> Properties >> Advanced system settings >> Environmental Variables >> New. Here, set the variable name as Path, and the Variable value as C:\FFmpeg\bin.

  • 5

    Once you have done this, click OK.

  • 6

    Now, with the Windows Key + R key combination, open the Run window. Enter CMD to open Command Prompt in administrator mode.

  • 7

    Type ffmpeg –version in the command prompt and hit Enter.

  • convert mkv to mp4 ffmpeg
  • 8

    If you see tons of content, you are successfully done with the installation.

  • 9

    Now, copy the path of the source MKV video.

  • 10

    In command prompt, type cd video_path. Here, video_path is nothing but the path that you just copied. Hit Enter.

  • 11

    Now, type ffmpeg -i video_name.mkv -vcodec copy -acodec copy video_name.mp4. Here, video_name is the name of the source video. Make sure to replace it with the name of your actual video.

  • 12

    Now, hit Enter. As soon as you hit Enter, the convert MKV to MP4 FFmpeg process is done and your videos is converted.

Part 2. How to Install FFmpeg and Convert MKV to MP4 on Mac?

Now that you have learned how to use this tool on Windows, it is time for the Mac users to solve their conversion issue. The FFmpeg convert MP4 to MKV process for Mac users is simple and pretty similar to that of Windows. Follow the below steps to know more.

  • 1

    To begin with, install Homebrew by running the following line of code on your Terminal. $ /usr/bin/ruby -e "$(curl –fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  • 2

    Now, install the FFmpeg by using the Homebrew command line and run the following code.
    $ brew install ffmpeg

  • ffmpeg convert mp4 to mkv
  • 3

    Add Space and type clear to clear the Terminal.

  • 4

    Add Space and type in cd video_path. Here, video_path is path of the source MKV video. Now, hit Enter.

  • 5

    Add Space and type ffmpeg -i video_name.mkv -vcodec copy -acodec copy video_name.mp4 command. Here, video_name is the name of the source video. Make sure to replace it with the name of your actual video.

Part 3. Common Issues of Using FFmpeg to Convert MKV to MP4

Now that you have learned how to convert MKV file to MP4 using FFmpeg on Windows and Mac, you can easily convert them. But, there is always other side of a coin. The method has some certain drawbacks. Below are some issues that users face while using this tool.

  • After converting videos using FFmpeg, most of the users have observed that the converted MP4 video lacks audio.
  • In addition to this, users have also found that the converted MP4 videos does not have the subtitles that where originally present in MKV source video.
  • Most of the times, the conversion command does not work when using FFmpeg.
  • FFmpeg is very difficult to and needs some amount of technical knowledge. Also, it is not that user-friendly as compared to other converters.

Part 4. The Best FFmpeg Alternative to Convert MKV to MP4 Easier and Faster

With so many disadvantages, users feel the need to have a converter that is simple to use, is simple to understand, and that offers good quality output. One such tool is HitPaw Video Converter. Users can use this tool to easily convert MKV to MP4 videos. It does not need any technical knowledge and is quite user-friendly. In addition to this, the tool offers best output quality. Follow the below steps to know how to convert MKV to MP4 without losing quality using this converter.

Step 01Download and install the tool. Select the Add Video to import your files.

convert mkv to mp4

Step 02Select and open the Convert all to menu from the bottom. Go to video tab and select the desired format from the list in the left pane. Here, choose your desired resolution.

convert mkv file to mp4

Step 03Select a target folder in the interface and click Convert to convert MKV video to MP4 format. Once the conversion is done, go to the Converted section from the top. You can see the converted MP4 video here.

how to convert mkv file to mp4

Conclusion

In a nutshell, you just had a look at FFmpeg convert MKV to MP4 process for Mac and Windows. In addition to this, we also saw that FFmpeg can be difficult to use and understand. To counter this situation, using HitPaw Video Converter is the best option that can perform any conversions easily and that too without any quality loss.

Recommend Product

HitPaw Watermark Remover

HitPaw Watermark Remover

One Click to Remove Video / Image Watermark.

HitPaw Screen Recorder

HitPaw Screen Recorder

The best recording and live streaming software.

You May Be Interested

download
Click Here To Install