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

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 19, 2012, 03:00 PM   #51
Cjsimmons0
macrumors newbie
 
Join Date: Feb 2012
Found fix

If you are looking to extract the audio from a mp4, just use ffmpegX to convert the mp4 into a FLV file. Once you have converted, use the program iExtractMP3 to convert to mp3. Works well and is VERY fast!
Cjsimmons0 is offline   -2 Reply With Quote
Old Feb 29, 2012, 02:19 PM   #52
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   #53
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   #54
Sami.
macrumors newbie
 
Join Date: May 2012
Solution

Use TSmuxer.
Sami. is offline   0 Reply With Quote
Old Jun 22, 2012, 06:06 PM   #55
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   #56
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   #57
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 Jun 12, 2013, 09:26 AM   #58
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 May 27, 2014, 10:20 AM   #59
berthaconners
macrumors member
 
Join Date: May 2014
Without using any software:

Upload the videos to youtube.
Copy and paste the URL for the youtube page into youtube-mp3 converter.
You now have audio track.

I know that that is quite a process, but it works, and you dont have to install anything to your computer.
berthaconners is offline   0 Reply With Quote
Old May 27, 2014, 01:10 PM   #60
Dave Braine
macrumors 68030
 
Join Date: Mar 2008
Location: Warrington, UK
Without having to have an internet connection:
refer to post #56 above. Quicktime is already installed on you Mac.
__________________
PPC Mini, 10.4.11, Intel Mini, 10.6.8, White MacBook 10.9.2
iPhone 3GS, using o2 PAYG
Dave Braine is offline   0 Reply With Quote
Old May 27, 2014, 04:14 PM   #61
512ke
macrumors 6502
 
Join Date: Sep 2003
Sorry if somebody else already suggested it, but I use

AUDACITY

The Swiss Army knife of audio. You can drag just about anything into audacity including videos, and it will extract the audio. Then you just export it in any format you need.

The great benefit is that you can use the filters, for instance AMPLIFY to make sure your audio is at uniform and maximum sound-good level.
512ke is offline   0 Reply With Quote
Old May 28, 2014, 10:22 AM   #62
berthaconners
macrumors member
 
Join Date: May 2014
I suppose there are easier ways than the one I suggested. I have learned from reading
berthaconners is offline   0 Reply With Quote
Old Dec 22, 2014, 10:08 PM   #63
newyorknight
macrumors newbie
 
Join Date: Feb 2008
OP's original question is still not answered!

Wow, I can't believe that this question is still not answered, years ago.

And the question is simple: how do you extract the audio file from a .mp4 video file without any loss? Logically, the audio file should be much smaller than the video. Has anyone found a method?

I have tried the following methods:
1) opened the .mp4 video in Audacity and then exported out as AIFF.
2) opened the .mp4 video in Quicktime (not Pro) and exported out as AIFF.
3) opened the .mp4 video in VLC. Then Convert/Stream to WAV.

All resulted in huge files, much larger than the .mp4 video, about 3 times the size of the video file. That makes no sense to me.

Further, and importantly: the .mp4 video plays better and louder than the WAV or AIFF, suggesting loss of audio. Problem. Greater file size for lesser quality? There must be a better way.

Has anyone found a way to simply extract the audio only from a .mp4 video?

Thanks!

Last edited by newyorknight; Dec 22, 2014 at 10:26 PM. Reason: adding technical note.
newyorknight is offline   0 Reply With Quote
Old Dec 23, 2014, 07:05 AM   #64
KeithPratt
macrumors 6502a
 
Join Date: Mar 2007
Quote:
Originally Posted by newyorknight View Post
Wow, I can't believe that this question is still not answered, years ago.
I answered it three and a half years ago:

Quote:
Originally Posted by KeithPratt View Post
  • Download MPEG Streamclip
  • Open video
  • File > Save Track > Save Audio Track
  • In Finder, change extension from MP4 to M4A
  • Bada boom bada bing
KeithPratt is offline   0 Reply With Quote
Old Jan 3, 2015, 02:37 AM   #65
newyorknight
macrumors newbie
 
Join Date: Feb 2008
Which file format in the dropdown under extract audio?

Keith, thank you for those instructions.
However, it is not exactly consistent with the latest version of MPEG Streamclip, 1.9.2 and 1.9.3b8.

There is an option to File/Export Audio.

From there, you have dropdowns of choices of AIFF, or MP4 AAC at 256kbps.

Which one should I pick?

I am guessing the AAC format since the video format in mp4 does not contain HQ audio anyway. At least not AIFF level quality.
The downside is that AAC is really an Apple format and I would rather have AIFF.

So is there any way to extract a lossless audio file from a (for example, youtube) video?

Many thanks
newyorknight is offline   0 Reply With Quote
Old Jan 3, 2015, 11:04 AM   #66
KeithPratt
macrumors 6502a
 
Join Date: Mar 2007
Quote:
Originally Posted by newyorknight View Post
Keith, thank you for those instructions.
However, it is not exactly consistent with the latest version of MPEG Streamclip, 1.9.2 and 1.9.3b8.

There is an option to File/Export Audio.
Are you following the instructions precisely? File > Save Track > Save Audio Track?

I haven't used MPEG Streamclip (1.9.3b8) since my Snow Leopard days, but that would save the audio portion to an MP4 file without re-encoding.
KeithPratt is offline   0 Reply With Quote
Old Jan 3, 2015, 12:40 PM   #67
patent10021
macrumors 68000
 
patent10021's Avatar
 
Join Date: Apr 2004
Location: Japan
I've found that I can simply click "Export as Audio" in QTX and it does the job. However the audio ends up much quieter than the source. For example when I import the movie and the exported audio file into Logic X the source has nice waveforms and the exported waveform is barely visible. Maybe it's because QTX is exporting to m4a and doesn't allow for export options like QTP7?
patent10021 is offline   0 Reply With Quote
Old Jan 3, 2015, 11:23 PM   #68
newyorknight
macrumors newbie
 
Join Date: Feb 2008
Keith, ok. I see it now. Interesting. I wonder how this is different from the export audio function.

So, ultimately, if the video doesn't have a lossless, AIFF quality audio segment, then this is the best we can do, is that right?

Thanks!

Last edited by newyorknight; Jan 3, 2015 at 11:32 PM.
newyorknight is offline   0 Reply With Quote
Old Jan 4, 2015, 04:31 AM   #69
KeithPratt
macrumors 6502a
 
Join Date: Mar 2007
Quote:
Originally Posted by newyorknight View Post
Keith, ok. I see it now. Interesting. I wonder how this is different from the export audio function.
It doesn't recompress the audio, just repackages it on its own in an MP4 file.
KeithPratt 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 08:08 PM.

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

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