Avid Pro Audio Community

Avid Pro Audio Community

How to Join & Post  •  Community Terms of Use  •  Help Us Help You

Knowledge Base Search  •  Community Search  •  Learn & Support


Avid Home Page

Go Back   Avid Pro Audio Community > Pro Mixing > Avid Pro Mixing General Discussion

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-27-2019, 01:10 AM
frenchman frenchman is offline
Member
 
Join Date: Aug 2003
Location: Rochefort (17) France
Posts: 541
Default Why MP3 encoding restricted to 16 bit ?

Hi,
I am increasingly relying on the Wav 32 bit floating point as a main format to transfer down the line of the workflow (mix->mastering, mastering treatments -> finalizing/brickwall limiting)
And I am discovering some quite surprising stuff on the way : I recently received to be mastered (yes I know crazy things happen sometimes) an mp3 file with a very hot level, audio in it that far exceeds 0dB when opened and decoded in Wavelab 9.5 ! And no clipping !
To such extent that by attenuating by -10 dB I still had peaks approaching 0dB !!! Obviously not just inter-sample peaks.

Suddenly I realize there are plenty of software out there that output 32 bit float signals, and this includes Pro Tools 2019 ! If you bounce stuff *really* hot into a 32bit float file, open it in Wavelab 9.5 (my goto two track treatment and mastering software), attenuate it, no clipping ! Magic ! (opening it in Pro Tools poses another problem, that I will discuss in another thread)
What this demonstrates is the fact that mp3 encoding is by design a 32 bit float resolution process ! Originally, since most encoding is made extracting CD no wonder the signal of most files circulating is dithered 16 bit just under 0 dB FS
Now I am getting quite pissed off at companies like Avid, Steinberg, Apple etc for not (or little) documenting questions about how resolution is handled throughout their platforms and the output busses and hardware.
For example, I tested the AES/EBU signal on the back of my HD IO, and since this format is 24 bit fixed point, there is a very small and subtle amount of dithering, which actually is a good thing. I used to mix through this AES/EBU output, but now I prefer to bounce my mixes in 32Bit float to really get the max resolution out of PT without any extra signal added.

And now to the subject of this post, I want to point to the way Pro Tools exports mp3 : I see the Fraunhofer logo so obviously it is the official codec.
But it is very annoying that the output is *forced* to 16 bit without any explanation or option !
I perfectly understand the reason, preventing people from creating "ceilingless" overly hot mp3 files that could distort on "normal" players (that where meant to read audio normalled or brickwall limited to 0dBFS or just slightly under)
[Edit to make myself really clear, obviously if you bounce to 16 bit wav or mp3 with a very hot signal, your file will be heavily clipped. The problem with a "hot" MP3 file encoded (not on Pro Tools) from a 32bitf signal exceeding 0dBFS, is that it will play ok on certain players (VLC for example) but will distort like hell on others]

But folks, this is *professional* software, even Logic Pro leaves you the choice of what the input resolution into the mp3 encoder you want. If you choose 32 bit float, no dither is needed and you can happily exceed 0dB FS on your mp3 file ! I not sure this is a good idea, but that, IMHO, is for the user to decide

And by the way, I tested this and I confirm that Pro Tools mp3 encoding is 16 bit as announced and WITHOUT DITHER, so if you don't want to end up with sub standard audio, YOU HAVE TO insert a 16 bit dither plugin on the master fader BEFORE bouncing.
The problem is that Pro Tools offers you the possibility to bounce let's say in 24 bit, AND make an mp3 at the same time if you check the "Add MP3" box. So you are left with this dilemma: Either you dither you 24 or 32 file to 16 bit which is absurd, or you make your mp3 out of truncated 16 bit, which is bad.

Oh and just for the fun of it, if you read a extra-boosted over the top mp3 on VLC, you lower the volume on VLC *OR ON THE MAC* --> no distortion :
Which means that the whole audio chain in a the mac is in fact 32bit float.
At this stage it seems this is not the case with iTunes.

This all for now , thanks for reading !
__________________
Mark Haliday
Engineer, Mixer, Writer, Teacher
Pro Tools Ultimate HDX
Mac Pro 2013 & Chassis

Last edited by frenchman; 12-27-2019 at 06:24 AM.
Reply With Quote
  #2  
Old 12-27-2019, 02:49 AM
deanrichard deanrichard is offline
Member
 
Join Date: Dec 2011
Location: Waukesha, WI
Posts: 907
Default Re: Why MP3 encoding restricted to 16 bit ?

I'm not sure you understand bit depth. The number of bits does not increase or decrease levels. it only increases signal detail and raises the S/N ration. You can overload a signal just as easily in 16-bit as higher bit depths.

If a player distorts with a 32-bit version of an MP3, and does not distort with the 16-bit version of that same file, it is broken.

Quote:
Originally Posted by frenchman View Post
Hi,
...

I perfectly understand the reason, preventing people from creating mp3 files that will distort on "normal" players (not on VLC though if you lower the volume)

...
Reply With Quote
  #3  
Old 12-27-2019, 04:00 AM
LDS LDS is offline
Member
 
Join Date: Jul 2014
Location: Sydney, Australia
Posts: 1,495
Default Re: Why MP3 encoding restricted to 16 bit ?

Quote:
Originally Posted by deanrichard View Post
I'm not sure you understand bit depth. The number of bits does not increase or decrease levels. it only increases signal detail and raises the S/N ration. You can overload a signal just as easily in 16-bit as higher bit depths.

If a player distorts with a 32-bit version of an MP3, and does not distort with the 16-bit version of that same file, it is broken.

The OPs post makes sense to me. Fixed point audio, regardless of whether it is 16,24 or 32 bit will adhere to a limit of 0dbfs where it inevitably clips and information is lost forever. A 32 bit floating point audio file (like used in PT and most modern DAWs) is different. It has a 24bit mantissa that essentially carries the audio sample information, and an 8 bit exponent that effectively scales the range of audio up and down across a huge dynamic range.

If you create a 32bit floating point file with peaks well beyond 0dbFS, you can still play it through a 16bit fixed point converter without clipping. All you need to do is turn down the gain digitally so that the peaks are below 0dbfs. According to the OP, this is possible even with common apps like VLC on OSX.

I never considered 32bit floating point as a delivery standard. It's an interesting thought. How do you compress and brick wall limit to 0dbFS if there effectively is t one?
__________________
Pro Tools Ultimate 2024.3. OSX 13.6.5. Win 10. HD Native. Lynx AES16e. Lynx Aurora 16. i9-13900KF. ASRock Z690 Steel Legend. 64GB Ram. AMD Vega 64. BM Decklink. Dolby Atmos Renderer 5.2. Trinnov D-Mon. D-Command.
Reply With Quote
  #4  
Old 12-27-2019, 05:47 AM
frenchman frenchman is offline
Member
 
Join Date: Aug 2003
Location: Rochefort (17) France
Posts: 541
Default Re: Why MP3 encoding restricted to 16 bit ?

Quote:
Originally Posted by deanrichard View Post
I'm not sure you understand bit depth. The number of bits does not increase or decrease levels. it only increases signal detail and raises the S/N ration. You can overload a signal just as easily in 16-bit as higher bit depths.

If a player distorts with a 32-bit version of an MP3, and does not distort with the 16-bit version of that same file, it is broken.

I am sorry if you understood my post like this, I happen to teach and write for technical magazines, so I think I do understand bit depth quite well. I always try not to be too long, which on such subjects is not an easy task... As most of my business is done in french maybe something wasn't clear enough I will read this now and see what can be corrected !
I just edited my port to make things a little clearer, I hope
__________________
Mark Haliday
Engineer, Mixer, Writer, Teacher
Pro Tools Ultimate HDX
Mac Pro 2013 & Chassis

Last edited by frenchman; 12-27-2019 at 06:10 AM.
Reply With Quote
  #5  
Old 12-27-2019, 08:36 AM
AlexLakis AlexLakis is offline
Member
 
Join Date: Feb 2006
Location: Annapolis, MD
Posts: 1,347
Default Re: Why MP3 encoding restricted to 16 bit ?

I use third-party software (MP3 Encoder from the App Store), it has batch converting, high quality encoding, etc..
Reply With Quote
  #6  
Old 12-27-2019, 09:29 AM
danyg danyg is offline
Member
 
Join Date: Sep 2013
Location: Belgium
Posts: 313
Default Re: Why MP3 encoding restricted to 16 bit ?

we all still use mp3 today but ...

"On April 23, 2017, Technicolor's mp3 licensing program for certain mp3 related patents and software of Technicolor and Fraunhofer IIS has been terminated.
We thank all of our licensees for their great support in making mp3 the defacto audio codec in the world, during the past two decades."
__________________
Mac Studio - Ventura- 64 Gb ram - SSD int 2T - SSD ext 4T - Antelope Galaxy 32
Reply With Quote
  #7  
Old 12-29-2019, 12:26 AM
frenchman frenchman is offline
Member
 
Join Date: Aug 2003
Location: Rochefort (17) France
Posts: 541
Default Re: Why MP3 encoding restricted to 16 bit ?

Quote:
Originally Posted by danyg View Post
we all still use mp3 today but ...

"On April 23, 2017, Technicolor's mp3 licensing program for certain mp3 related patents and software of Technicolor and Fraunhofer IIS has been terminated.
We thank all of our licensees for their great support in making mp3 the defacto audio codec in the world, during the past two decades."
Very interesting, I will investigate this, thank you for bringing this up !
Mark
__________________
Mark Haliday
Engineer, Mixer, Writer, Teacher
Pro Tools Ultimate HDX
Mac Pro 2013 & Chassis
Reply With Quote
  #8  
Old 12-29-2019, 01:12 AM
danyg danyg is offline
Member
 
Join Date: Sep 2013
Location: Belgium
Posts: 313
Default Re: Why MP3 encoding restricted to 16 bit ?

you're welcome,
another one

https://www.cnbc.com/2017/05/15/mp3-...licensing.html


Quote:
“Most state-of-the-art media services such as streaming or TV and radio broadcasting use modern ISO-MPEG codecs such as the AAC (Advanced Audio Coding) family or in the future MPEG-H,” said Fraunhofer IIS in a press announcement.

“Those can deliver more features and a higher audio quality at much lower bitrates compared to mp3.”
__________________
Mac Studio - Ventura- 64 Gb ram - SSD int 2T - SSD ext 4T - Antelope Galaxy 32
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Admin Access vs. Restricted user access emf1138 Pro Tools 12 0 03-09-2016 09:42 AM
AC3 encoding? KingTor Post - Surround - Video 4 10-01-2009 04:54 PM
PT will it run in restricted or guest accounts? Brad Newman 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Win) 0 03-16-2007 10:55 AM
Encoding Digitrove Post - Surround - Video 5 07-20-2004 11:13 PM
DVD encoding jang kyung won Pro Tools TDM Systems (Mac) 2 02-19-2001 10:58 AM


All times are GMT -7. The time now is 07:48 AM.


Powered by: vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Limited. Forum Hosted By: URLJet.com