Assign time-of-day timecode to audio based on creation dates

Do you have questions about Desktop Video, Converters, Routers and Monitoring?
  • Author
  • Message
Offline

lsanbourne

  • Posts: 67
  • Joined: Sun Oct 15, 2023 6:15 pm
  • Real Name: Larry Sanbourne

Assign time-of-day timecode to audio based on creation dates

PostFri Feb 14, 2025 11:44 pm

Hi, I record cameras with time-of-day timecode, and many channels of audio with no timecode. But the creation dates of the audio files will represent their starting time-of-day timecode. How can I set this automatically on the metadata in Resolve? Or am I thinking about this workflow woefully wrong?

Thanks!!
Larry
Offline

Peter Cave

  • Posts: 4551
  • Joined: Thu Aug 23, 2012 6:45 am
  • Location: Melbourne, Australia

Re: Assign time-of-day timecode to audio based on creation d

PostSat Feb 15, 2025 7:29 am

Go and search Google for correct workflow for what you need. File date is not accurate enough for timecode to be used as a sync tool.
Resolve 20.0 Mac OSX 15.5 Sequoia, Monitor 3G, FSI SDI grading monitor.
Mac M1 Studio Max 32GB
Offline

lsanbourne

  • Posts: 67
  • Joined: Sun Oct 15, 2023 6:15 pm
  • Real Name: Larry Sanbourne

Re: Assign time-of-day timecode to audio based on creation d

PostSun Feb 16, 2025 5:45 am

I am looking to use file date not for frame-accurate sync but for approximate alignment of clips, to help figure out which clips should be waveform-synced with each other. However, if anyone has a better solution, I am all ears.

I am working with 2 Sony cameras and 12 channels of audio recording into a DAW, and no Tentacles or similar devices (too complicated for my 1-man setup).

I have already Googled and read 100s of pages of the Resolve manual. If you can point me to a good resource for learning stuff platform-agnostic workflow recommendations on audio/video sync of multi-take live music, that would also help.
Offline

Peter Cave

  • Posts: 4551
  • Joined: Thu Aug 23, 2012 6:45 am
  • Location: Melbourne, Australia

Re: Assign time-of-day timecode to audio based on creation d

PostSun Feb 16, 2025 7:28 am

In your case you may have to change the audio clip timecode manually to match the creation time. I assume you set all the clocks accurately on each device before shooting?
Resolve 20.0 Mac OSX 15.5 Sequoia, Monitor 3G, FSI SDI grading monitor.
Mac M1 Studio Max 32GB
Offline

kontrakatze

  • Posts: 126
  • Joined: Fri Dec 04, 2020 3:55 pm
  • Location: Berlin
  • Real Name: Stephan Schoenharting

Re: Assign time-of-day timecode to audio based on creation d

PostSun Feb 16, 2025 8:08 am

I'm not sure, if I truly understand your problem.
I have timecode devices on all cameras and audio-recorders. After shooting I import all the files in Davinci, select all and tell Davinci to sync to timecode. Done. Each clip has its audio synced. There is no need to kind of presync manually in my case.
Stephan Schoenharting
Berlin, Germany
https://www.youtube.com/channel/UC9HVF-6TcKDkavfcqu0lFMQ/videos
Offline
User avatar

Joe Shapiro

  • Posts: 4276
  • Joined: Thu Jul 25, 2013 7:23 am
  • Location: Los Angeles CA USA

Re: Assign time-of-day timecode to audio based on creation d

PostSun Feb 16, 2025 9:08 am

Wish people would resist the temptation to scold the user and lean toward answering their question rather than telling them how they should have done it. Clearly the footage has already been shot so telling them they should have used an external timecode device isn’t going to help.
Director, Editor, Problem Solver. Been cutting indie features for 24 years. FCP editor from version 2 to 7.
Resolve 20.0.3B
MacBook Pro 16 M1 Max 64GB RAM, macOS 14.7.2
MacBook Air 13 M1 8GB RAM, macOS 14.6.1
BMPCC4K 8.6 beta
BMCC6K 8.7 beta
Offline

kontrakatze

  • Posts: 126
  • Joined: Fri Dec 04, 2020 3:55 pm
  • Location: Berlin
  • Real Name: Stephan Schoenharting

Re: Assign time-of-day timecode to audio based on creation d

PostSun Feb 16, 2025 5:59 pm

Wow.. That's why I said I may not truly understand the problem. He said, that the video is with timecode. And he recorded several channels of audio without. But I do not know of many recorders recording several channels of audio without the ability to record timecode, too.
Stephan Schoenharting
Berlin, Germany
https://www.youtube.com/channel/UC9HVF-6TcKDkavfcqu0lFMQ/videos
Offline

lsanbourne

  • Posts: 67
  • Joined: Sun Oct 15, 2023 6:15 pm
  • Real Name: Larry Sanbourne

Re: Assign time-of-day timecode to audio based on creation d

PostSun Feb 16, 2025 7:23 pm

Peter Cave wrote:In your case you may have to change the audio clip timecode manually to match the creation time. I assume you set all the clocks accurately on each device before shooting?


Thanks Peter! My audio is recorded in a DAW (Reaper) on a computer with a properly set clock. The audio interface is Merging Hapi or RME UFX III. So, I could write a quick Python script to set the timecodes in Resolve to the audio file creation dates. But I figured if I had to write Python scripts, I was probably working against the best workflow.

So I wanted to understand how Resolve typically figures out timecode from these files to see if I could work more in its expected workflow. In a traditional workflow with a recorder that records timecode, is it always in a certain channel, or is Resolve just analyzing the audio to see if any channels contain TC?

Another option I considered besides Python is: I could have Reaper record time-of-day timecode as another channel and use that for sync. I just don't understand the "most professional" way to do this in a video workflow - just export all the recorded audio channels (including TC) from Reaper as a multi-wav?

Lastly, for the future I am seriously considering getting Tentacle syncs. I'm sorry for another absurdly basic question I haven't been able to answer online, but: for a recording setup (Merging Hapi or RME UFX III) that doesn't have built-in timecode,
Offline

kontrakatze

  • Posts: 126
  • Joined: Fri Dec 04, 2020 3:55 pm
  • Location: Berlin
  • Real Name: Stephan Schoenharting

Re: Assign time-of-day timecode to audio based on creation d

PostSun Feb 16, 2025 9:30 pm

There are more than one way to get timecode to be recognized by Resolve.

a) timecode is in the metadata of the file like here:
Bildschirmfoto 2025-02-16 um 22.15.17.jpg
Bildschirmfoto 2025-02-16 um 22.15.17.jpg (58.57 KiB) Viewed 2985 times


Wavelab can read/write these informations and I guess Reaper too.

Resolve takes this information and puts it here:
Bildschirmfoto 2025-02-16 um 22.09.13.jpg
Bildschirmfoto 2025-02-16 um 22.09.13.jpg (30.73 KiB) Viewed 2985 times


To be found in Meda page/Medial Pool/Metadata/

b) you record timecode as an audio track. In this case you have to tell Resolve to convert the timecode track to the metadate and use this information for syncronisation, which you can do in the Media pane by selecting the files you want to to sync, right click, update timecode from audiotrack. Best would probably be a broadcast wav with all tracks in one file.

There is software that can convert the timestamp of a given file to a timecode in metadata, but the timecode will only roughly be correct. QTchange64 can do this for example.

I don't know about the tentacles, but ambient nanolockits can serve as a midi device, sending and syncing timecode from and to other devices.


I hope this helps,,,
Stephan Schoenharting
Berlin, Germany
https://www.youtube.com/channel/UC9HVF-6TcKDkavfcqu0lFMQ/videos
Offline

Peter Cave

  • Posts: 4551
  • Joined: Thu Aug 23, 2012 6:45 am
  • Location: Melbourne, Australia

Re: Assign time-of-day timecode to audio based on creation d

PostMon Feb 17, 2025 10:01 pm

Can you export the audio from Reaper with timecode in a Broadcast Wave file format? BWF files have dedicated t/c track.
You are discovering why timecode devices like tentacle Sync were invented! They solve all these time/sync issues. I usually shoot with old school slates and use a film post workflow as the methods have been reliable for decades and work without any technology!
Resolve 20.0 Mac OSX 15.5 Sequoia, Monitor 3G, FSI SDI grading monitor.
Mac M1 Studio Max 32GB
Offline

lsanbourne

  • Posts: 67
  • Joined: Sun Oct 15, 2023 6:15 pm
  • Real Name: Larry Sanbourne

Re: Assign time-of-day timecode to audio based on creation d

PostThu Feb 20, 2025 5:49 am

Thanks so much for these clues. I got bwfmetaedit CLI running and can see that Reaper is usually not exporting TimeReference, so that's why it's not working. I am looking into custom scripts that can export my regions and use creation dates from underlying media to calculate timecode...

With Tentacle syncs, would I get 3 - one for my 2 cameras + 1 to feed into my audio interface (RME UFX III or Merging Hardware)?

Thank you again.
Offline
User avatar

Uli Plank

  • Posts: 25478
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: Assign time-of-day timecode to audio based on creation d

PostFri Feb 21, 2025 1:58 am

Good cameras can hold jam sync for quite a while.
My disaster protection: export a .drp file to a physically separated storage regularly.
Please visit digitalproduction.com/author/uliplank/

Studio 19.1.3
2017 iMac, MacOS 13.7.4, eGPU
MacBook M1 Pro and M4 Pro mini, MacOS 14.7.5
SE, USM G3
Offline

kontrakatze

  • Posts: 126
  • Joined: Fri Dec 04, 2020 3:55 pm
  • Location: Berlin
  • Real Name: Stephan Schoenharting

Re: Assign time-of-day timecode to audio based on creation d

PostFri Feb 21, 2025 7:37 am

The tentacle devices can be used as a midi-device giving timecode too your daw.
There is a step by step guide on the tentacle site:

https://support.tentaclesync.com/hc/en- ... nd-TIMEBAR
Stephan Schoenharting
Berlin, Germany
https://www.youtube.com/channel/UC9HVF-6TcKDkavfcqu0lFMQ/videos
Offline

Christoph Schmid

  • Posts: 880
  • Joined: Thu Sep 26, 2019 10:15 am
  • Real Name: Christoph Schmid

Re: Assign time-of-day timecode to audio based on creation d

PostFri Feb 21, 2025 11:13 am

Here is a Python script to change the start timecode of media pool items to the creation time.
If no clips in the media pool are selected, timecode of all clips in the current bin will be changed.

Code: Select all
projectManager = resolve.GetProjectManager()
project = projectManager.GetCurrentProject()
mediapool = project.GetMediaPool()
currFolder = mediapool.GetCurrentFolder()
clips = mediapool.GetSelectedClips()
if not clips:
    clips = currFolder.GetClipList()

for clip in clips:
    old_timecode = clip.GetClipProperty('Start TC')
    time_created = clip.GetClipProperty('Date Created')[-8:]
    timecode = time_created + ':00'
    if clip.SetClipProperty("Start TC", timecode):
        print(f'Changed Start Timecode of "{clip.GetName()}" from {old_timecode} to {timecode}')


Do not use CODE: SELECT ALL as it adds an indent to the code.
You can copy this code and paste it into the “Py3” tab in the DR Console window.

Davinci Resolve Studio 20.0 Build 49
Windows 10 Pro 22H2
Davinci Resolve Studio 19.1.4 Build 11
Linux Ubuntu Studio 24.04 (Rocky 8.6 Container)
Offline
User avatar

Joe Shapiro

  • Posts: 4276
  • Joined: Thu Jul 25, 2013 7:23 am
  • Location: Los Angeles CA USA

Re: Assign time-of-day timecode to audio based on creation d

PostFri Feb 21, 2025 3:17 pm

Very cool! Thanks for this. Wish we had a repository for user generated scripts. If there is one I hope somebody chimes in!
Director, Editor, Problem Solver. Been cutting indie features for 24 years. FCP editor from version 2 to 7.
Resolve 20.0.3B
MacBook Pro 16 M1 Max 64GB RAM, macOS 14.7.2
MacBook Air 13 M1 8GB RAM, macOS 14.6.1
BMPCC4K 8.6 beta
BMCC6K 8.7 beta

Return to Post Production

Who is online

Users browsing this forum: Google [Bot] and 19 guests