Rip audio file from video file in OSX

Using QuickTime Player:

File / Export / Audio Only

QuickTime Player / File / Export / Audio Only...


You can use -c copy with ffmpeg to extract audio without re-encoding:

ffmpeg -i input_file -c copy audio.m4a

Run ffmpeg -i input_file to see what format the audio stream is. If it is MP3 instead of AAC, change the extension of the output file to mp3.

This would re-encode the audio as 256 kb/s AAC:

ffmpeg -i input_file -ab 256k audio.m4a

It is likely that ffmpeg is not on your system. You can install brew (brew.sh) and then do a brew install ffmpeg to install ffmpeg.


To rip audio from a video file, you can use iTunes. It'll create an AAC file.

  1. Drag the video into iTunes

    enter image description here

  2. Select the file in Movies, and hit the menu commands File - Create New Version. Hit the Option key, and the command Convert To AAC will be enabled.

    enter image description here

  3. The AAC file will be created in the same directory that the mp4 video is located.

    enter image description here