Extract Audio From Mp4

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

11/24/2014

tinyapps.org / blog / Extract audio from MP4 without re-encoding

tinyapps.org / blog
Extract audio from MP4 without re-encoding #
Several approaches distilled (and tested) from MacRumors:
Simply changing the extension from MP4 to M4A "works", but the video track remains,
taking up valuable space. For example, using the extraction methods below, a 760MB MP4
shrunk to a mere 42MB M4A with no loss of sound quality (and no time wasted
transcoding).
FFmpeg (free and open source)
1. $ ffmpeg -i video.mp4 -vn -acodec copy audio.m4a
MPEG Streamclip (free)
1. Open MP4 in MPEG Streamclip
2. "File" > "Save Track" > "Save Audio Track..." > "MP4" > "Save"
3. Change file extension from MP4 to M4A
Fission (shareware)
1. Open MP4 in Fission
2. "File" > "Save Audio..." > "Save AAC (Original Format, Lossless)" > "Save" (save with
M4A extension)
QuickTime Pro 7 (commercial)
1. Open MP4 in QT Pro 7
2. "Window" > "Show Movie Properties"
3. "Sound Track" > "Extract" (another approach is simply to delete the video track
from the MP4: "Video Track" > "Delete")
4. "File" > "Save As..."
5. "Save as a self-contained movie" > "Save"
6. Change file extension from MOV to M4A
FFmpeg is also handy for losslessly extracting audio from other formats like FLV.
AAC/M4A:
$ ffmpeg -i Glenn_Gould_plays_Bach.flv
...
Stream #0:1: Audio: aac, 44100 Hz, stereo, s16, 84 kb/s
...
$ ffmpeg -i Glenn_Gould_plays_Bach.flv -vn -acodec copy audio.m4a

MP3:
$ ffmpeg -i .flv
...
Stream #0:1: Audio: mp3, 22050 Hz, mono, s16, 64 kb/s
...
$ ffmpeg -i .flv -vn -acodec copy audio.mp3

/mac | Nov 22, 2012


Subscribe or visit the archives

https://tinyapps.org/blog/mac/201211220700_extract_audio_mp4.html

1/1

You might also like