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 Tools Post Production > Post - Surround - Video
Register FAQ Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-17-2011, 02:01 PM
Swartling Swartling is offline
Member
 
Join Date: Jul 2011
Location: stockholm
Posts: 1
Default When making mp3's extra length is added

I just noticed that extra length is added (0.160) to the total length, when creating mp3 files from both aif and wav.

why is that?

Normally I use quick time converstion in Pro Tools both for export files and bounce, and with the same result: extra length is added. And same thing when converting aif/wav to mp3 in iTunes, and same in Logic. I also run into the same problem in another studio. Asked our local support and they couldnt tell either...they had the same result.

Right now I'm not in my studio, so I can't say all my versions of software. I use mac, pro tools, mojo...

But some one might have run into the same thing.

Have Apple done anything with the Quick time codecs??

The problem is that when we deliver radio commercials in Sweden we do that in mp3 formats, and a 30s spot can not be 30.160 s., it should be 30.000s

All best!

John

ps) couldn't find anything in the forum about this, so please sorry if this has already been discussed.
Reply With Quote
  #2  
Old 07-17-2011, 02:31 PM
Eric Seaberg's Avatar
Eric Seaberg Eric Seaberg is offline
Member
 
Join Date: Nov 2003
Location: San Diego, CA
Posts: 1,926
Default Re: When making mp3's extra length is added

We use BarbaBatch for all of our encoding and I discovered this when version 8 was released with the better graphic resolution of the waveform. I believe there's additional data within the file that is doing this.

The way we got around it is to export the file within PT and encode that instead of encode the file that's in the session.

I assume you're working with 16-bit sessions, too, as you wouldn't want to MP3 24-bit files.
__________________
Eric Seaberg • San Diego, CA
A.E.S., I.E.E.E., S.M.P.T.E., S.P.A.R.S.
Reply With Quote
  #3  
Old 07-17-2011, 02:33 PM
KMcK KMcK is offline
Member
 
Join Date: Dec 2010
Location: Los Angeles
Posts: 708
Default Re: When making mp3's extra length is added

If they must have MP3 (why would they want compressed format?) at exactly 30 sec, then make your files .160sec shorter before you convert (or whatever length you figure out equals 30 sec after conversion). The extra time is inherent within the MP3 format, and there is nothing you can do that will prevent that from happening. Every MP3 encoder will add that extra time, doesn't matter which one you use, as long as you use the MP3 format you will have extra silence at the beginning and end of the file.

There are actually a few threads buried in the DUC about this, but most are pretty old and now have broken links. This is the best thing I could find of it being discussed in more detail:

http://audacity.238276.n2.nabble.com...-td289876.html
Reply With Quote
  #4  
Old 07-19-2011, 10:34 AM
Rich Breen Rich Breen is offline
Member
 
Join Date: Dec 1969
Location: Burbank, CA USA
Posts: 2,389
Default Re: When making mp3's extra length is added

Quote:
Originally Posted by Eric Seaberg View Post
We use BarbaBatch for all of our encoding and I discovered this when version 8 was released with the better graphic resolution of the waveform. I believe there's additional data within the file that is doing this.

The way we got around it is to export the file within PT and encode that instead of encode the file that's in the session.

I assume you're working with 16-bit sessions, too, as you wouldn't want to MP3 24-bit files.
MP3s (and AACs) are not reliable WRT timing, and are not suitable for professional applications for this reason amongst others - audio can start anywhere within an encode frame, and different encoders pad start and end differently. If you want exact timing you should be using .wav or .aif.

best,
rich
__________________
http://www.richbreen.com

----------------------------------------
Mac Studio / Ventura, PT 2023.12.HDX, Avid HD I/Os and Metric Halo ULN8, 3xS1/Dock
Also running a Mac Studio Ultra / Ventura / HDX / MTRX / S6
Reply With Quote
  #5  
Old 07-22-2011, 03:03 AM
tj_davies tj_davies is offline
Member
 
Join Date: Jul 2004
Posts: 1,224
Default Re: When making mp3's extra length is added

Quote:
Originally Posted by Swartling View Post
I just noticed that extra length is added (0.160) to the total length, when creating mp3 files from both aif and wav.

why is that?

Normally I use quick time converstion in Pro Tools both for export files and bounce, and with the same result: extra length is added. And same thing when converting aif/wav to mp3 in iTunes, and same in Logic. I also run into the same problem in another studio. Asked our local support and they couldnt tell either...they had the same result.

Right now I'm not in my studio, so I can't say all my versions of software. I use mac, pro tools, mojo...

But some one might have run into the same thing.

Have Apple done anything with the Quick time codecs??

The problem is that when we deliver radio commercials in Sweden we do that in mp3 formats, and a 30s spot can not be 30.160 s., it should be 30.000s

All best!

John

ps) couldn't find anything in the forum about this, so please sorry if this has already been discussed.
Hi John,

30.16s is the length when importing back to Pro Tools. Quicktime Player says 30.06s. I think Pro Tools imports all data stored inside the mp3 (as silence) whereas QT subtracts the data and only shows the added silence due to rounding as an additional time (so 100ms of data, 60ms of rounding). This is a known issue:

This has to do with rounding and id tags of mp3. Here in Germany, radio stations also require mp3, and have never alerted an error, because the mp3 is a bit longer than required. I bet they know about this issue themselves.

By the way, the delay differs from material to material, so you can't just playout 160ms shorter signals.
And if you want gapless mp3 for looping - forget it. This is a known problem and there are scripts for Flash to jump to the correct position to play the loop correctly - therefore always deliver wav or aif for loops created in Flash.

Apple noticed this problem in the beginning of iTunes themselves - e.g. when playing Live CDs the gap between tracks (ongoing applause) was noticeable due to a short bit of silence. Apple updated iTunes and included a workaround, that would jump past the additional gaps in mp3s.

Have you tried delivering the mp3 to the radio station? I would assume they won't let them bounce back.

Hope this helps a bit,
Timothy
__________________
Mac Studio Ventura 13.6
PT 2020.12.0
www.pearls-music.com
Reply With Quote
Reply


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 On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
extra notes added to MIDI track musicman691 Pro Tools 11 0 03-08-2014 05:33 AM
Disabling Pro Tools from making extra copies of a MIDI Clip??? ProMac07 Pro Tools 10 2 12-01-2012 06:49 AM
Copied region length auto-adjust to paste location length? greglawrence Tips & Tricks 4 10-23-2011 12:46 PM
Making the most of extra RAM ballsd33p 003, Mbox 2, Digi 002, original Mbox, Digi 001 (Win) 1 04-26-2010 07:41 AM
Making use of extra channels in Strike? StinkyStan Virtual Instruments 5 05-11-2009 10:44 PM


All times are GMT -7. The time now is 03:31 PM.


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