-
Open Spotlight:
-
Search Terminal and press enter:
-
In Terminal, paste the command below and press enter to install brew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Install ffmpeg by brew:
brew install ffmpeg
Assuming you have MP4 file of name Video.mp4
on Desktop, and you want to convert it to a WMV of name Output.wmv
:
-
Change working directory to Desktop in Terminal:
cd ~/Desktop
-
Convert by typing/pasting the command below:
ffmpeg -i Video.mp4 Output.wmv
If you want to change to output quality, say bitrate of video as 3000 kbps and bitrate of audio as 192 kbps, you may supply more options:
ffmpeg -i Video.mp4 -b:v 3000k -b:a 192k Output.wmv