|
|||||||||
|
Thread Tools | Search this Thread |
October 4th, 2007, 12:14 AM | #1 |
Regular Crew
Join Date: Dec 2002
Location: NY, NY
Posts: 319
|
Which is higher quality--mp2, mp3, aac
I have some .ogg files I want encoded to files usable for FCS2. I'm using ffmpegx to encode. The options for audio file are to mp2, mp3, aac and I'm wondering which is the highest quality.
I assume aac, which has the highest kbps--448. The mp2 is 224 kbps and mp3 128 kbps. Am I ass-uming correctly or just an ass? |
October 4th, 2007, 12:52 AM | #2 |
Major Player
Join Date: Jul 2007
Location: Marin & Davis, CA, USA
Posts: 418
|
AAC is newer and better. It's what itunes uses.
|
October 4th, 2007, 01:09 AM | #3 |
Major Player
Join Date: Mar 2006
Location: San Francisco, California
Posts: 487
|
Not sure about FCP6, but FCP generally doesn't like to edit compressed audio. It usually works better if you use AIFF.
|
October 4th, 2007, 01:27 AM | #4 |
Major Player
Join Date: Jul 2007
Location: Marin & Davis, CA, USA
Posts: 418
|
Absolutely use uncompressed. But if you must go through a compressor, use AAC as the intermediate step.
|
October 4th, 2007, 03:43 AM | #5 |
Major Player
Join Date: Mar 2007
Location: Madrid, Spain
Posts: 238
|
First: Ogg is only a container format, it can contain audio in various encodings such as FLAC and Vorbis. If it is FLAC then you can just convert to the format most suitable for your use since FLAC is lossless compression. If possible, you may prefer to use ALAC (Apple Lossless).
Otherwise, you should choose according to which conversion reduces quality the least, the result does not depend only on the bit rate of the final format. I don't know ffmpegx, but I know that if you use the command line version of ffmpeg, you can set the bit rate for the target file. If you don't know the audio codec and bitrate of the source, ffmpeg will tell you, at least if you use the command line version. Cheers, Erik |
October 4th, 2007, 08:49 AM | #6 |
Regular Crew
Join Date: Dec 2002
Location: NY, NY
Posts: 319
|
Thanks for the replies.
Yes, I'm anxious to convert to the best format. If anyone knows ffmpegx, I'd appreciate an opinion on which of the options is the best format to convert to. |
October 4th, 2007, 08:59 AM | #7 |
Regular Crew
Join Date: Dec 2002
Location: NY, NY
Posts: 319
|
About the best option I've found there is 'DV'. It delivers pcm dv, 48kHz, 1411 kbps. Unfortunately, it doesn't work with the file I have.
|
October 4th, 2007, 09:11 AM | #8 |
Regular Crew
Join Date: Dec 2002
Location: NY, NY
Posts: 319
|
Cricky, I just see it produces ac3, not aac. Is ac3 better than mp2 or mp3? Thanks.
|
October 4th, 2007, 10:13 AM | #9 |
Major Player
Join Date: Mar 2007
Location: Madrid, Spain
Posts: 238
|
How about checking ffmpegx web site? They have some nice explanation of all this, see http://www.ffmpegx.com/audio.html
First, you can set bit rate for the different encodings, what is shown is likely just default values. I would be surprised if you can't encode mp3 in higher bit rate than 128kbps, AFAIK maximum by standard is 320kbps or 384kbps. Second, you won't gain anything from using a higher sample frequency than the source, but you may add noise and you will loose using a lower sample frequency. The highest frequency that can be encoded is half the sample frequency. If source is 44.1kHz then there are no sounds higher than 22.05kHz, encoding in 48kHz will not add anything, but you may add noise as data is chunked up differently. This is independent of the encoding algorithm you choose. Last, they do write a comparison of the three formats you ask about: "It (AAC) provides an audio quality at 96 kbps which is slightly better than MP3 at 128 kbps and MP2 at 192 kbps." I think that pretty much answers your question, except it doesn't tell anything about any loss when transforming from one compressed format to another. Also, wikipedia has great info on all the different codecs, AC3 appears to be Dolby Digital. Cheers, Erik |
October 4th, 2007, 12:28 PM | #10 | |
Regular Crew
Join Date: Dec 2002
Location: NY, NY
Posts: 319
|
Hey Eric, thanks for all the info and tips. Someone told me about a software that encodes to aif, Max. I downloaded and used that. Sounds pretty good, but thanks, especially enlightening was the info about adding noise when moving up in sample frequency.
Quote:
All in all, this has been a very informative series of emails and I thank you for it!!! |
|
October 4th, 2007, 12:42 PM | #11 |
Major Player
Join Date: Jul 2007
Location: Marin & Davis, CA, USA
Posts: 418
|
No. Don't save to a lower format.
The 48 is a container, and can hold up to 24khz in it. I'd need to brush up on my physics to give a better explanation. Can't remember right now. |
October 4th, 2007, 12:55 PM | #12 |
Trustee
Join Date: Feb 2004
Location: Brookline, MA
Posts: 1,447
|
So don't use ffmpegx. Find something to decompress them to AIFF.
|
October 4th, 2007, 01:56 PM | #13 |
Regular Crew
Join Date: Dec 2002
Location: NY, NY
Posts: 319
|
Thanks very much, gents.
I did find 'Max', an app that seemed to do a very good job, outputting an .aiff file, 16 bit PCM Big Endian signed integer, 44.1 khz. I don't see any way of changing to 48kHz before encoding but I guess I can export that in QT to get 48kHz. Containers? Holding up to 24kHz? Egad! I'm Johnny Baffled. Thanks again!! |
October 4th, 2007, 03:34 PM | #14 |
Major Player
Join Date: Jul 2007
Location: Marin & Davis, CA, USA
Posts: 418
|
24KHz is above the range the human ear can hear.
My best guess here is that the doubling is due to storing a waveform, meaning 24KHz above the center can be stored, and the inverse below (down to 0KHz). I think this is wrong, but it sorta makes sense why it needs twice the space. As I said, I'd need to figure out a few more things with physics [blurry memories now] (and the formats themselves, too). Ok, looked it up-- http://en.wikipedia.org/wiki/Sample_rate Hmm... seems like the double space is just a buffer. //confused. Hz is literally a measure of "per second"... Hz= per seconds. 48k per seconds.... 48k times per second the audio is sampled. I guess this measure is different than the actual pitch of audio. Wish I could explain it better. |
October 5th, 2007, 05:21 AM | #15 | ||
Major Player
Join Date: Mar 2007
Location: Madrid, Spain
Posts: 238
|
Quote:
Quote:
Sometimes it is necessary to change sampling frequency because you mix sources of different sampling frequency. In theory, you should choose the highest sampling frequency of the different sources in order not to loose anything. However, since these high frequency sounds are not detectable by the human ear, it hardly matters much. Rather, you should look at your chosen target format and see if common standards impose any restrictions on your final encoding. Whenever converting from lossy to lossy, you loose quality, so you've got to think about how to reduce the number of conversions and mix in the highest quality then down convert as necessary, not the other way around. |
||
| ||||||
|
|