Guide: Converting MP4 to WMV video files on a Mac (for free)

Last modified on:

The free and quick way to convert MP4 to WMV (or MP4 to WMV) video files on a mac

ffmpeg will be your friend here. It’s a command line tool, but don’t be scared – just follow these steps:

  • Install Macports by downloading the OS X Package Install file and following the instructions from the mac ports site.
  • Install ffmpeg
    Open the terminal.app found in the folder ~/Applications/Utilities and run this command:

     

    sudo port install ffmpeg

    Follow the prompts to finish the install.
    *If you want to install ffmpeg with h265 support for hevc files then run the following command instead:

    sudo port install ffmpeg +gpl +postproc +lame +theora +libogg +vorbis +xvid +x264 +a52 +faac +faad +dts +nonfree +x265 +libtheora
  • In the terminal app, move to the folder containing the MP4 video file you want to convert to WMV. For instance, if the file was on your desktop:
    cd ~/Desktop
  • Finally, run the following command to encode from MP4 to WMV remembering to replace input.mp4 and output.wmv with the name of your input file and your desired name for the output.
    ffmpeg -i input.mp4 -q:a 2 -q:v 2 -vcodec msmpeg4 -acodec wmav2 output.wmv

    If you want to encode from WMV to MP4 then use this code:

    ffmpeg -i input.wmv -c:v libx264 -crf 20 -c:a aac -q:a 100 output.mp4

    There might be a lot of text output, but hopefully (after some minutes, depending on how big your source file is) you will see something like:

    frame= 2749 fps= 27 q=2.0 Lsize= 230486kB time=00:01:49.95 bitrate=17172.4kbits/s speed=1.09x 
    video:226596kB audio:1717kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.951954%
  • And your done – use finder to open the folder you were using in Terminal and you should find your shiny new WMV file ready to go.
  • Caution – spaces in file names need to be handled with care. Either enclose the filename in double quotation marks such as “your filename.mp4” or simply change the file name to something short and without spaces. You can always rename it when you are finished.

    Tips

    Change the CRF value to a higher number to reduce the quality and achieve a faster encode. Equally a lower number will provide higher quality at the cost of speed.

    Automate!

    You can turn this into a mac service and start encoding files using two clicks of the mouse. Just follow my 2 minute guide.

    Why would you want to convert an MP4 video file to WMV?

    Some corporate environments still use old versions of microsoft office that don’t support the embedding of MP4 files and so we are forced to put up with WMV. WMV has never been a good file format for the mac. There are loads of programmes that will charge you to convert mp4 to wmv on a mac, but this free and simple solution exists so you don’t have to install any crappy bloated software on your mac.

    FFMPEG is a powerful media converter

    The best thing about this is you now have ffmpeg installed on your mac for all your media conversion needs. ffmpeg is really powerful, so to find out more about what you can do with it, check out the ffmpeg documentation.

    Stuck? Something not right?

    Let me know in the comments and I might be able to help you out or point you to someone/somewhere that can.


    Published on

    in

    by

    4 responses to “Guide: Converting MP4 to WMV video files on a Mac (for free)”

    1. Peter Neslon avatar

      Very informative! Thanks for showing clearly how to convert videos. I’d also recommend xxxx xxxx which I have used for many years. It’s a free web-based application to convert videos, you don’t have to install anything. Compatible with Windows and Mac.

    2. oliver avatar

      I may be wrong, but that is not free, is it? That’s why I’ve removed the name. If you can prove me wrong, I’ll add it back in.

      Nice profile stuffing of the facebook account too… (https://www.facebook.com/app_scoped_user_id/100004549093601/)

    3. europeancataclism avatar

      Can I install without using macports?

    4. Oliver Jobson avatar

      You can also use home brew, but I haven’t tried installing it without a package manager. The ffmpeg site has some links to some builds for mac here: https://www.ffmpeg.org/download.html

    Leave a Reply

    Your email address will not be published. Required fields are marked *