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 > General Discussion & Off Topic > General Discussion
Register FAQ Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-14-2016, 10:37 AM
bob-san bob-san is offline
Member
 
Join Date: Jun 2016
Location: Wilmslow, UK
Posts: 6
Default Timecode problem (BWF TimeReference convert to hours:minutes:seconds:frames)

Hi Guys -

I am having a Timecode problem (discrepancy).

From what I am told the TimeReference values that exist in the bwav metadata are miliseconds * sample rate (in this case 48048). If this is true, there is nothing in this Timecode data that references the frames-per-second! So the TimeReference values in bwav exported from Pro Tools is frame agnostic. Is this true?

The reason for the question is unfortunately our Video and Audio were shot in 29.97 (non-drop), but our Animation is running at 30 fps.

When importing the audio into our custom Maya toolset, the tool takes in the bwav TimeReference values and calculates the hours:minutes:seconds:frames that we are all normally used to. Since this data is frame agnostic, the timecode should match how I see it in ProTools ... but it doesn't.

For example:

01:00:00:00 in ProTools (29.97 fps)
shows up as:

01:00:03:18 in Maya (30 fps)

How is this possible?!

Here is an example TimeReference value that starts at 01:00:00:00 in ProTools:

172972800

172972800 / 48048 = 3600 seconds!

Which is:
01:00:00:00

No matter what frame rate!

.... so why there a 3.6 second discrepancy?!?!

Thanks for your help!


Cheers
- Bob-san

Last edited by bob-san; 06-14-2016 at 10:52 AM.
Reply With Quote
  #2  
Old 06-15-2016, 05:36 AM
joachim's Avatar
joachim joachim is offline
Member
 
Join Date: Dec 2010
Location: Germany, München
Posts: 1,687
Default Re: Timecode problem (BWF TimeReference convert to hours:minutes:seconds:frames)

Quote:
Originally Posted by bob-san View Post
172972800 / 48048 = 3600 seconds!
.... so why there a 3.6 second discrepancy?!?!
172972800 / 48000 = 3.603,6

What was the setting of the audio recorder : sample rate 48048F (or plain 48048) and timecode frame rate to 30ND ?

Maybe check this article : http://www.trewaudio.com/articles/48048-khz/
I am not savvy enough. Maybe you get more answers in the Post-Surround-Video sub forum.
__________________
PT 11.3.2 HD , RME Fireface 800 , Genelec 5.1 ,
Win7 64bit Professional , i7 3930 Hexcore , 48GB Ram , SSD System + SSD PT Session/Audio + SSD Video (all Samsung 840 Evo) + Spinner 1TB Data , 2x Radeon HD 5450 \\ SD 633 Femto MKH8060 MKH8070 MKH30/MKH40 DPA4060

Last edited by joachim; 06-15-2016 at 06:49 AM.
Reply With Quote
  #3  
Old 06-15-2016, 07:04 AM
Frank Kruse Frank Kruse is offline
Member
 
Join Date: Dec 2002
Location: old europe
Posts: 5,981
Default Re: Timecode problem (BWF TimeReference convert to hours:minutes:seconds:frames)

Quote:
Originally Posted by bob-san View Post
Hi Guys -

I am having a Timecode problem (discrepancy).

From what I am told the TimeReference values that exist in the bwav metadata are miliseconds * sample rate (in this case 48048). If this is true, there is nothing in this Timecode data that references the frames-per-second! So the TimeReference values in bwav exported from Pro Tools is frame agnostic. Is this true?
For the record: BWAV is stamped in samples after midnight not milliseconds.

F.
__________________
PTHDn 2024.3 (OSX13.6.5), 8x8x8, MacPro 14,8, AJA LHi, SYNC HD, all genlocked via AJA GEN10, 64GB RAM, Xilica Neutrino, Meyersound Acheron
Reply With Quote
  #4  
Old 06-16-2016, 04:55 AM
bob-san bob-san is offline
Member
 
Join Date: Jun 2016
Location: Wilmslow, UK
Posts: 6
Default Re: Timecode problem (BWF TimeReference convert to hours:minutes:seconds:frames)

You are correct, sorry, meant to say seconds with millisecond/decimal resolution.

Audio was recorded in Pro Tools 12.5 HD in 29.97 ND, and sync'ed in Avid with video that was also 29.97 ND.

The sample rate was recorded as 48kHz, and also delivered in the AAF as 48kHz.

I think I have figured this out though. Apparently the TimeReference values are NOT frame agnostic. Even though frame rate is not considered in the calculations here ... it is considered in the sample rate. Which is why dividing by 48048 actually works. The extra 48 there is .1%, which is the difference between 29.97 ND and 30.

One of my audio programmers wrote a command line tool for me to make this .1% change in the BWF TimeReference values, so our Maya toolset can divide by the correct sample rate of 48kHz as seen in the wav's metadata. Clearing out the problem before it even gets to them.

OF COURSE, the the audio is still playing back a bit slower at 29.97 ND, but since the audio clips are rarely longer than 30 seconds, the drift will never be noticeable between animation and audio. But just in case, now with Timecode fixed, I can opted to resample the audio, and speed it up that .1%, which is really barely noticeable, and fix the problem 100% :].

Thanks again for your help! Looks like we are good now. Hope my findings help others as well.
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 Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Set Minutes and seconds start time Dizzi45Z Pro Tools 10 15 06-14-2023 12:20 PM
User Time Stamp differs from BWAV Timecode Mark Angus macOS 1 09-03-2014 06:57 PM
computer randomly freezing for a few seconds to several minutes audiogeekzine Pro Tools M-Powered (Win) 2 09-30-2010 07:41 PM
Modifying the Minutes:Seconds Ruler Philthy Pro Tools TDM Systems (Mac) 3 10-30-2001 12:40 AM
Any way to switch off frames and teths of seconds on the displays? Jules Pro Tools TDM Systems (Mac) 0 02-22-2001 05:18 PM


All times are GMT -7. The time now is 02:45 AM.


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