changed the extension from .mp4 to .m4a in Finder. Had the exact desired effect - went from movie to audio file, file size didn't change, audio quality didn't decrease.
Yes this would work, but as the file size does not change it means that the video track is still in the file using up space.
In Quicktime Pro, pressing Command+J lets you easily delete the video track from the .mp4 file. This saves as a .mov then you can change the extension to .m4a.
Question answered!
Yes this would work, but as the file size does not change it means that the video track is still in the file using up space.
In Quicktime Pro, pressing Command+J lets you easily delete the video track from the .mp4 file. This saves as a .mov then you can change the extension to .m4a.
Question answered!
faad -w -f 2 inputfile.mp4 | lame -r -h -b 192 - outputfile.mp3
I did some googling and found this:
> ffmpeg -i Ultimate_Car_Sounds__Part_II.mp4 -vn -acodec copy ucs.m4a
it looks like there is no codec, so it should extract the audio portion to an mp4-audio-only file (.m4a)
Compare this command with this one:
> ffmpeg -i Videofile.mp4 -vn -acodec mp3 audiofile.mp3.
Hope this helps.
ffmpeg -i source.mp4 -vn -acodec copy destination.m4a
Freeware, most platforms.... use the convert/save function, give it a destination, select the codec and container and bob is your uncle!
http://www.videolan.org/vlc/
I did some googling and found this:
> ffmpeg -i Ultimate_Car_Sounds__Part_II.mp4 -vn -acodec copy ucs.m4a
it looks like there is no codec, so it should extract the audio portion to an mp4-audio-only file (.m4a)
Compare this command with this one:
> ffmpeg -i Videofile.mp4 -vn -acodec mp3 audiofile.mp3.
Hope this helps.
This is the best answer.
ffmpeg lets you extract the audio with no transcoding.
####
the command:
Code:ffmpeg -i source.mp4 -vn -acodec copy destination.m4a
- calls up ffmpeg
- -i asks for the input file
- the input file in this case is source.mp4, change to your mp4
- -vn disables video recording, effectively ignoring the video
- -acodec asks for the audio codec
- in this case, the special value copy is given to specify that the raw codec data must be copied as is, so you know no transcoding is happening
- and finally we specify an output file, in this case destination.m4a, but you could name it whatever you'd like
####
- Download MPEG Streamclip
- Open video
- File > Save Track > Save Audio Track
- In Finder, change extension from MP4 to M4A
- Bada boom bada bing
One of the basics of Streamclip is ffmpeg. Otherwise, it wouldn't be free. MPEG Streamclip does rely on Perian, and doesn't do much more than offering a GUI to Perian.mpeg streamclip (free app) does the same thing as ffmpeg with a graphical interface (no re-encode). Thanks to KeithPratt for mentioning it.
Note: you have to get the beta version, regular doesn't have the 'save to track' feature.
get it here: http://www.squared5.com/svideo/mpeg-streamclip-mac.html
One of the basics of Streamclip is ffmpeg. Otherwise, it wouldn't be free. MPEG Streamclip does rely on Perian, and doesn't do much more than offering a GUI to Perian.
Sorry, maybe I just don't get it or you don't actually understand what I intend to do.
If I understand you right, FCP.guru.guy, you tell me to convert the video to AIFF to just get the audio out and then convert it back to AAC for a smaller filesize. But this is definitely not lossless and its reencoding for two times.
What I am looking for is a direct way of splitting the audio from the video track and saving it to disk as is. In the same format. No reencoding.
I apologize honestly if I just didn't understand what you told me.