Go Back   MacRumors Forums > Special Interests > Visual Media > Digital Video

Reply
 
Thread Tools Search this Thread Display Modes
Old Aug 15, 2006, 12:52 PM   #1
johnathan.macle
macrumors member
 
Join Date: Jul 2006
Extract audio from mp4

I have several mp4 files that have been burned from cds using HANDBRAKE. I am looking for a way to extract the audio to make it into an acc/mp3 file.

Thanks in advance.

Johnny
__________________
johnathan.macle is offline   0 Reply With Quote
Old Aug 15, 2006, 01:19 PM   #2
Texas04
macrumors 6502a
 
Texas04's Avatar
 
Join Date: Jul 2005
Location: Texas
Send a message via AIM to Texas04
Garageband? and delete the video file that might work
__________________
-The Tex.
Texas04 is offline   0 Reply With Quote
Old Aug 15, 2006, 01:20 PM   #3
XIII
macrumors 68040
 
XIII's Avatar
 
Join Date: Aug 2004
Location: England
Send a message via AIM to XIII Send a message via MSN to XIII Send a message via Skype™ to XIII
QuickTime Pro will do this.. Export audio.
__________________
"I want to win the championship, win the UEFA Champions League and be consistent. It's that simple."
-------Arsene Wenger
XIII is offline   0 Reply With Quote
Old Aug 15, 2006, 01:27 PM   #4
Keebler
macrumors 68030
 
Join Date: Jun 2005
Location: Canada
audio hijack will work too. simply play the mp4 and record the audio..most popular formats outputted as well.
Keebler is offline   -1 Reply With Quote
Old Jan 7, 2009, 06:00 AM   #5
Canubis
macrumors member
 
Join Date: Oct 2008
Location: Vienna, Austria
Hi, sorry for re-activating this old discussion. However, I found it on google and thought it would be more appropriate to add my question here. :-)

I have a few videos in the MP4 format and want to get the audio track saved to a seperate audio file. As the audio track is already AAC there should be no reencoding required. Unfortunetely, when I simply remove the video track using QuickTime Pro and save the remaing audio track a .mov is created. Using the export function won't be losslessly writing the data from the audio track to the disk but reencoding it as I guess.
I believe GarageBand will do just the same, not sure about Audio HiJack.

Isn't there a tool with which I can just take the audio track of a video file and save it to disk as a seperate file without reencoding it? Any ideas?
Canubis is offline   0 Reply With Quote
Old Jan 7, 2009, 08:04 AM   #6
DPA
macrumors 65816
 
DPA's Avatar
 
Join Date: Dec 2008
Location: trapped as a prisoner of a purple aurora and an aluminum device
You don't need QT Pro! In QT, click File>Export and where it says export, chose Sound to AIFF. AIFF is the highest quality of sound export avaiable. This should help.

Regards,
David
__________________
iForum Rules Nazi
DPA is offline   1 Reply With Quote
Old Jan 7, 2009, 05:43 PM   #7
Canubis
macrumors member
 
Join Date: Oct 2008
Location: Vienna, Austria
Thanks for the hint FCP.guru.guy. However, I was already aware of this possibility. And you're right, exporting the Audio into the AIFF format should't lower the quality but at the same time also increases the file size dramatically though not needed at all. I just hoped it would there would be a possibility to simply take the raw data of the audio track in AAC format and write it to directly to disk into an AAC file. Without any reencoding or reformating. Ain't there some tools out there for lossless audio editing that should also handle things like that?
Canubis is offline   0 Reply With Quote
Old Jan 7, 2009, 05:59 PM   #8
DPA
macrumors 65816
 
DPA's Avatar
 
Join Date: Dec 2008
Location: trapped as a prisoner of a purple aurora and an aluminum device
Well, if your final destination is iTunes, you can make an AAC version and pitch the original AIFF one in the Trash (don't forget to empty once and a while) This will create a file that is the size that it should be as an AAC. If your final destination is something other than iTunes, just take the trip there for 1 minute. Add it to you library, make an AAC version, and delete both of them out of your library but KEEP THE FILES!!! When it asks you to move to Trash or keep files make sure you choose keep files other wise they will be moved to the Trash.

David
__________________
iForum Rules Nazi
DPA is offline   -1 Reply With Quote
Old Jan 17, 2009, 01:38 AM   #9
halfthelaw
macrumors newbie
 
Join Date: Jan 2009
No, FCP.guru.guy, you really don't get what Canubis is trying to do.

Canubis, here's how I do what you're describing:
1. Get Rogue Amoeba's Fission
http://rogueamoeba.com/fission/
2. Open the movie file with Fission
3. Go to File > Save Audio and you will be able to save the audio track losslessly
halfthelaw is offline   0 Reply With Quote
Old Feb 13, 2009, 01:07 AM   #10
1975homero1975
macrumors newbie
 
Join Date: Feb 2009
i got it canubis

it took me HOURS but i finally found something that does it. i know exactly what ur trying 2 do canubis cuz ive been tryin 2 do it for days. extract audio "as is" no compressing or converting. in other words just open the mp4 container and take it out. ur absolutly right, makes no sense to recompress.

guru.guy, do some research youll see. technically ur losing quality even if its hard 2 tell the diffrence. what we want is 2 "eject" the cassette tape & take it with us rather than "dubbing" it.

go here:

http://www.afterdawn.com/guides/arch...dio_page_2.cfm

self explanatory except it says if you get the "yamb" u wont need to download "mp4box". for sum reason my yamb didnt install mp4box but i just downloaded it from this same page and end of story.

dont know if u know how 2 put the files in m4a containers cuz i sure dont. but u can set an option 2 extract them 2 mp4 containers which is fine unless u must have m4a for some reason. otherwise the default extracts them as raw aac files.

if u already found a way let me know if ur way is faster or better for whatever reason. "flvextract" does the same with flv (flash video) files in case u need it too. works in LITERALLY 2 seconds or less, maybe 1 second. compression is not done in 1 second so u know its lossless.
1975homero1975 is offline   0 Reply With Quote
Old Feb 13, 2009, 01:15 AM   #11
1975homero1975
macrumors newbie
 
Join Date: Feb 2009
by the way

this is free, u have 2 pay with "fission" the above post by "halfthelaw" so thats why i didnt try that method so i dont know if it does what we want.
1975homero1975 is offline   0 Reply With Quote
Old Feb 19, 2009, 06:07 PM   #12
harlequin53
macrumors newbie
 
Join Date: Feb 2009
Yamb/mp4box

any ports to Mac OS? This is a Windows app.
harlequin53 is offline   0 Reply With Quote
Old Mar 8, 2009, 12:02 PM   #13
voodoofish
macrumors regular
 
Join Date: Jan 2004
Quote:
Originally Posted by halfthelaw View Post
No, FCP.guru.guy, you really don't get what Canubis is trying to do.

Canubis, here's how I do what you're describing:
1. Get Rogue Amoeba's Fission
http://rogueamoeba.com/fission/
2. Open the movie file with Fission
3. Go to File > Save Audio and you will be able to save the audio track losslessly
I think i have found a way to do this with SimpleMovieX. This is better than using Fission in that its free trial just makes you wait 12 seconds before it'll save, rather than altering it's output, meaning you can realistically use it for free, unlike fission.

To do this I added an MP4 (H.264 video/AAC audio) file to SimpleMovie X, then went Edit > Separate Tracks, then on the audio track I went File > Save As, then I renamed to file from MP4 to M4A. Once I added it to iTunes I could use it as any other M4A, and the file transfers to and plays on my iPod mini, which as far as I'm aware can't play MP4 so I'm pretty sure what SimpleMovieX is outputting is actually M4A even though it gives it a MP4 file extension.

The only thing with SimpleMovieX is it doesn't explicitly say it is doing this losslessly, but it implies it is on the page that I link to above, and once the 12 seconds has passed it saves the file so quickly it seems unlikely it is re-encoding it.
voodoofish is offline   0 Reply With Quote
Old Mar 18, 2009, 02:35 PM   #14
new.to.mac
macrumors newbie
 
Join Date: Mar 2009
Quote:
Originally Posted by voodoofish View Post
I think i have found a way to do this with SimpleMovieX. This is better than using Fission in that its free trial just makes you wait 12 seconds before it'll save, rather than altering it's output, meaning you can realistically use it for free, unlike fission.

To do this I added an MP4 (H.264 video/AAC audio) file to SimpleMovie X, then went Edit > Separate Tracks, then on the audio track I went File > Save As, then I renamed to file from MP4 to M4A. Once I added it to iTunes I could use it as any other M4A, and the file transfers to and plays on my iPod mini, which as far as I'm aware can't play MP4 so I'm pretty sure what SimpleMovieX is outputting is actually M4A even though it gives it a MP4 file extension.

The only thing with SimpleMovieX is it doesn't explicitly say it is doing this losslessly, but it implies it is on the page that I link to above, and once the 12 seconds has passed it saves the file so quickly it seems unlikely it is re-encoding it.
It doesn't seem to work with a file that is video - H.264/MPEG-4 AVC, and audio - mp4a: MPEG-4 AAC LC. Any suggestions?
new.to.mac is offline   0 Reply With Quote
Old Mar 19, 2009, 11:04 PM   #15
Fomaphone
macrumors regular
 
Join Date: Jan 2009
canubis... have you looked into what compressor can do? what about mpeg streamclip?
__________________
Live by the foma that make you brave and kind and healthy and happy.-- The Books of Bokonon
- 2009 Octad 2.66, 24GB, 4870- -MacBook Pro 2.66 i7, 8GB, 17" HD-
iPhone 3G S
Fomaphone is offline   0 Reply With Quote
Old Mar 20, 2009, 04:44 AM   #16
dhd
macrumors member
 
Join Date: Dec 2007
Location: Hamster-Dam
Open the file in Qt Pro, press command+J extract the audio (you know that already), save it as a mov file. When is done change the extension to m4a, mp4 or whatever you need without reencoding.

let me know if it works for you.

Greetings
__________________
www.davidhdpercussion.com

MBP 2.2 GHz SR

Last edited by dhd; Mar 21, 2009 at 04:12 AM.
dhd is offline   0 Reply With Quote
Old Jun 12, 2013, 09:26 AM   #17
Elias Hedberg
macrumors newbie
 
Join Date: Jun 2013
Quote:
Originally Posted by halfthelaw View Post
No, FCP.guru.guy, you really don't get what Canubis is trying to do.

Canubis, here's how I do what you're describing:
1. Get Rogue Amoeba's Fission
http://rogueamoeba.com/fission/
2. Open the movie file with Fission
3. Go to File > Save Audio and you will be able to save the audio track losslessly
Small update to halfthelaw’s post: with the latest version of Fission (2+) there is no "Save Audio" option, just use "Save as…" and it will save the audio separately and, as far as I can tell, without doing any recompression (hence it should be the original aac track).
Elias Hedberg is offline   0 Reply With Quote
Old Oct 29, 2011, 11:54 AM   #18
efekt
macrumors newbie
 
Join Date: Oct 2011
Solution is simple: Audacity

It's a free audio editing tool. You simply drag the video onto the window you open and export it to mp3. Simplz.
efekt is offline   -1 Reply With Quote
Old Feb 29, 2012, 02:19 PM   #19
justytylor
macrumors newbie
 
Join Date: Sep 2002
Location: Washington, DC
Solution: Extract audio from mp4

Okay: I'm assuming you have access to QuickTime Pro 7 (where the Command-J command works).

You will open the movie in QTPro 7.

Type Command-J (or choose "View -> Show Movie Properties").

The top pane of that window will have all the resources within the .mp4 file listed. You'll have a Video track and a sound track. Click on the sound track.

Click the "Extract" button. This will open just the sound track in a new QuickTime document window.

Choose "Export..." from the File menu.

In the Export dialog box, in the Export: pull down menu, choose "Movie to MPEG-4". Click the "Options..." button next to that pull-down menu.

In the next window, choose the "Audio" tab."

In the "Audio Format:" pull-down menu, choose "pass-through".

Click "OK" to commit that change and exit this dialog box.

Name your file, click "Save" and you'll have exactly what you want: an audio-only .mp4 file with no reencoding.
justytylor is offline   1 Reply With Quote
Old May 15, 2012, 05:11 PM   #20
bleater
macrumors newbie
 
Join Date: Jul 2008
Quote:
Originally Posted by justytylor View Post
Okay: I'm assuming you have access to QuickTime Pro 7 (where the Command-J command works).

You will open the movie in QTPro 7.

Type Command-J (or choose "View -> Show Movie Properties").

The top pane of that window will have all the resources within the .mp4 file listed. You'll have a Video track and a sound track. Click on the sound track.

Click the "Extract" button. This will open just the sound track in a new QuickTime document window.

Choose "Export..." from the File menu.

In the Export dialog box, in the Export: pull down menu, choose "Movie to MPEG-4". Click the "Options..." button next to that pull-down menu.

In the next window, choose the "Audio" tab."

In the "Audio Format:" pull-down menu, choose "pass-through".

Click "OK" to commit that change and exit this dialog box.

Name your file, click "Save" and you'll have exactly what you want: an audio-only .mp4 file with no reencoding.
I can confirm that this is the best way to achieve the desired result of extracting AAC audio from an MP4 file without re-encoding it and using only Apple-provided tools.

I would add only one more thing, which is when saving the file, give it the .m4a extension (or rename it with this extension once exported). That way, iTunes will correctly list it as "AAC audio file" rather than "MP4 video file" (even though it has no video track).
bleater is offline   1 Reply With Quote
Old May 31, 2012, 03:27 PM   #21
Sami.
macrumors newbie
 
Join Date: May 2012
Solution

Use TSmuxer.
Sami. is offline   0 Reply With Quote
Old Jun 22, 2012, 06:06 PM   #22
CJYetman
macrumors newbie
 
Join Date: Nov 2002
great ideas.... thanks. but couldn't you just extract directly from the video file? another words, skip to the "Choose "Export.."" step and just make sure in the Options that on the "Video" tab you have the video format set to "none"?

I think that would do the same thing and make this a bit less complicated.
-cj


Quote:
Originally Posted by justytylor View Post
Okay: I'm assuming you have access to QuickTime Pro 7 (where the Command-J command works).

You will open the movie in QTPro 7.

Type Command-J (or choose "View -> Show Movie Properties").

The top pane of that window will have all the resources within the .mp4 file listed. You'll have a Video track and a sound track. Click on the sound track.

Click the "Extract" button. This will open just the sound track in a new QuickTime document window.

Choose "Export..." from the File menu.

In the Export dialog box, in the Export: pull down menu, choose "Movie to MPEG-4". Click the "Options..." button next to that pull-down menu.

In the next window, choose the "Audio" tab."

In the "Audio Format:" pull-down menu, choose "pass-through".

Click "OK" to commit that change and exit this dialog box.

Name your file, click "Save" and you'll have exactly what you want: an audio-only .mp4 file with no reencoding.
CJYetman is offline   0 Reply With Quote
Old Aug 10, 2012, 01:02 PM   #23
SkwidSpawn
macrumors newbie
 
Join Date: Jan 2010
Here's how it worked for me

Here's how it worked for me under Mountain Lion, for anyone who finds this on Google and simply wants to pull the audio out of a movie file:

Open the file in Quicktime Player, then go to:
File->Export… (or hit command-shift-S)


Then select "Audio Only" from the Format drop-down:


Then Save it:


It appears to work as a pass-through rip, and I don't know if it works on every file, but it worked a charm on this one, pulling out 256kb/s aac audio.
SkwidSpawn is offline   0 Reply With Quote
Old Dec 9, 2012, 02:23 PM   #24
smaghe
macrumors newbie
 
Join Date: Dec 2012
Extract audio from multiple mp4

Hi everybody,

Thanks to the previous messages I was able to succeed in splitting the audio from the video.
However, I needed to automate the steps, as I had a lot of videos to split.

Here's the script that I wrote :

#!/bin/bash
for f in *.mp4; do
./ffmpeg -i "$f" -vn -acodec copy "${f%.mp4}.m4a"
done


For people who aren't so much into scripts, open Terminal, type "Nano"
Paste the script. Type Ctrl + X to close the editor, a prompt asking what to do will appear, save the file with ".sh" suffix.
Assuming you saved it in a convenient folder, navigate to the directory where the script is with the terminal. For example, script being in the Resources folder (mentioned in page 2), type :
cd Desktop/Resources/
Being in the folder, where your script and videos are, you then have to make the script executable; type :
chmod u+x nameofscript.sh
Then you just have to run the script in the same folder of the videos, to do so type :
./nameofthescript.sh


Thanks for the help that you gave me.
Cheers.


Stas
smaghe is offline   0 Reply With Quote
Old May 15, 2014, 02:20 AM   #25
teamsuccessta
macrumors newbie
 
Join Date: May 2014
Quote:
Originally Posted by johnathan.macle View Post
I have several mp4 files that have been burned from cds using HANDBRAKE. I am looking for a way to extract the audio to make it into an acc/mp3 file.

Thanks in advance.

Johnny
I just google search a step by step guide how to extract audio from MP4 video:

This guide helps to:

Extract audio in MP3, AAC, AC3, WAV, WMA, Apple Lossless, M4A, DTS, AIFF, MP2, AU, RA, FLAC, OGG and etc from video files.
Extract audio from all kinds of video files like extract audio from MP4, extract audio from FLV, extract audio from AVI, extract audio from MOV, extract audio from MKV, extract audio from WMV, ASF, SWF, VOB, OGV, WTV, RMVB, WebM, MVI, MXF, AVCHD, MPEG, 3GP, and etc.

Hope it also helps for you.

The only pity is it is sharewhare, but i think it worth the deal
teamsuccessta is offline   0 Reply With Quote

Reply
MacRumors Forums > Special Interests > Visual Media > Digital Video

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Best MP4 Audio extractor? LeandrodaFL Mac Applications and Mac App Store 7 Aug 5, 2014 09:38 AM
Lost audio when FF MP4 files jwatc75 Digital Video 2 May 27, 2014 09:17 AM
Losslessly extract audio from mp4/m4v split by chapters vladobizik Mac Applications and Mac App Store 2 Dec 2, 2013 03:05 PM
No audio from MP4 video file on ATV. Why? institute Apple TV and Home Theater 0 Sep 20, 2013 10:09 AM
MP4 videos AAC 5.1 -> AC3 (quickest audio encode?) alexeliasson Apple TV and Home Theater 2 Feb 7, 2013 07:24 AM

Forum Jump

All times are GMT -5. The time now is 02:31 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC