Author Topic: DaVinci Resolve audio auto sync  (Read 17451 times)

Toffifee

  • Member
  • ***
  • Posts: 104
  • 5D Mark III Happy tester
DaVinci Resolve audio auto sync
« on: April 18, 2014, 09:31:23 PM »
Hey,


I'm just curious, has anybody found a way to have resolve auto-nest the audio into your .DNG sequences so that it reads it as one movie file and not 1 .DNG sequence and 1 audio file?

chmee

  • Contributor
  • Hero Member
  • *****
  • Posts: 1031
  • raw2cdng
Re: DaVinci Resolve audio auto sync
« Reply #1 on: April 18, 2014, 09:44:00 PM »
i said already, i need the filename-convention from bmcc to deal with it. do you have?

pathname
+--> dng filename
+--> audio filename

i assume its all about this, because "wav"-files cant carry tc-metadata in itself.

Toffifee

  • Member
  • ***
  • Posts: 104
  • 5D Mark III Happy tester
Re: DaVinci Resolve audio auto sync
« Reply #2 on: April 18, 2014, 09:46:03 PM »
No, but that would be something Blackmagic would have right?
Don't you think we could just ask them?

chmee

  • Contributor
  • Hero Member
  • *****
  • Posts: 1031
  • raw2cdng
Re: DaVinci Resolve audio auto sync
« Reply #3 on: April 18, 2014, 10:12:17 PM »
hmm, instead of asking bm i hoped some of the users worked with bm already and could tell it - the simple way :)

ted ramasola

  • Moderators
  • Hero Member
  • *****
  • Posts: 1250
Re: DaVinci Resolve audio auto sync
« Reply #4 on: April 18, 2014, 10:19:20 PM »
chmee,

I downloaded a footage from a pocket and here's how the first dng is named:
Blackmagic Pocket Cinema Camera_1_2014-01-31_0050_C0000_000000.dng
2nd is:
Blackmagic Pocket Cinema Camera_1_2014-01-31_0050_C0000_000001.dng

and so on.

The wav file is named:
Blackmagic Pocket Cinema Camera_1_2014-01-31_0050_C0000.wav
5DmkII  / 7D
www.ramasolaproductions.com
Texas

chmee

  • Contributor
  • Hero Member
  • *****
  • Posts: 1031
  • raw2cdng
Re: DaVinci Resolve audio auto sync
« Reply #5 on: April 18, 2014, 10:22:48 PM »
the path? or is the pathname negligible? this kind of filenaming can be rebuilt with the filenamegenerator in raw2cdng1.5.0beta2
will test it next minutes..

ted ramasola

  • Moderators
  • Hero Member
  • *****
  • Posts: 1250
Re: DaVinci Resolve audio auto sync
« Reply #6 on: April 18, 2014, 10:26:39 PM »
Ok, the folder name is I think also important.
The folder name convention is:

Blackmagic Pocket Cinema Camera_1_2014-01-31_0050_C0000
5DmkII  / 7D
www.ramasolaproductions.com
Texas

chmee

  • Contributor
  • Hero Member
  • *****
  • Posts: 1031
  • raw2cdng
Re: DaVinci Resolve audio auto sync
« Reply #7 on: April 18, 2014, 10:46:07 PM »
the good news: if you put (virtual) scene- and clipnumber into the name, this path with filesequence will be recognised as film not as path with a sequence inside. (you can see directly in the mediabrowser)

the bad news: it works with files without audiofile. i tried to cut the audiofile to same length as video, did not helped. will look closer now on that. but i m a step forward, i know a little bit better now, how the mediabrowser in resolve works..

Example filename-Template for raw2cdng: [F]_[D]_010_C0000(_)
tested with resolve10

investigating..

regards chmee

ted ramasola

  • Moderators
  • Hero Member
  • *****
  • Posts: 1250
Re: DaVinci Resolve audio auto sync
« Reply #8 on: April 18, 2014, 10:55:50 PM »
note that the wav file from BMPC is 24bit while the extracted wav from mlv via your converter is 16bit. maybe that's the cause?
5DmkII  / 7D
www.ramasolaproductions.com
Texas

chmee

  • Contributor
  • Hero Member
  • *****
  • Posts: 1031
  • raw2cdng
Re: DaVinci Resolve audio auto sync
« Reply #9 on: April 18, 2014, 11:01:15 PM »
just tested. nope. sorry. (but was a good hint)

chmee

  • Contributor
  • Hero Member
  • *****
  • Posts: 1031
  • raw2cdng
Re: DaVinci Resolve audio auto sync
« Reply #10 on: April 19, 2014, 01:20:51 AM »
ok :) blackmagic is putting a xml-stream into the wav-file, thats not gentle, but possible to realize. thnks btw to dyfid
http://www.magiclantern.fm/forum/index.php?topic=7122.msg104365#msg104365

thanks to ted. he sent me some data and i could overview the part :) its about JUNK and bext. most of it is not used, but i think, with timecode and production date/time it will work. (upper part with modellname)



information on JUNK and the whole rest.
http://netghost.narod.ru/gff/vendspec/micriff/ms_riff.txt

regards chmee

ted ramasola

  • Moderators
  • Hero Member
  • *****
  • Posts: 1250
Re: DaVinci Resolve audio auto sync
« Reply #11 on: April 19, 2014, 01:28:36 AM »
yipeee. I knew there was something hidden in there somewhere. Good luck and hope you crack that thing soon chmee!
5DmkII  / 7D
www.ramasolaproductions.com
Texas

QuickHitRecord

  • Member
  • ***
  • Posts: 153
Re: DaVinci Resolve audio auto sync
« Reply #12 on: April 19, 2014, 04:00:48 AM »
I believe that auto audio sync is the last big hurdle for raw shooters. Sounds like you may be close to cracking the code. Good luck!
5DmIII | January 27 2017 Nightly Build (Firmware: 1.23) | KomputerBay 256GB CF Cards (1066x & 1200x)

dyfid

  • Freshman
  • **
  • Posts: 69
Re: DaVinci Resolve audio auto sync
« Reply #13 on: April 22, 2014, 12:24:30 AM »
ok :) blackmagic is putting a xml-stream into the wav-file, thats not gentle, but possible to realize. thnks btw to dyfid
http://www.magiclantern.fm/forum/index.php?topic=7122.msg104365#msg104365

Thanks for the shout out, my post got buried in that thread.

Really miffed about Magic Lantern DNG format, I can add Exif Metadata 'Timecodes' to Magic Lantern DNG's simple enough using Exif Time & Date but Resolve won't read the Timecodes entry, so Resolve won't sync MLV wav & DNG's by Timecode. BUT if I do the same with a Digital Bolex DNG, adding 'Timecodes' Exif data from Time & Date Resolve does read the Timecodes Exif entry for Digital Bolex DNG's. SubIFD vs IFD0 I think.

Hoping Resolve 11 brings some help.

For the <BLACKMAGIC> iXML entries really could do with a wav file from a BM camera with loads of metadata added via the camera to establish the mark up tags to run through BWFEdit as it'll extract an xml file with them all listed.

The iXML injection via BWFEdit also works with audio from or within h264 MOV's as well.

chmee

  • Contributor
  • Hero Member
  • *****
  • Posts: 1031
  • raw2cdng
Re: DaVinci Resolve audio auto sync
« Reply #14 on: April 22, 2014, 01:14:04 AM »
this nested xml is one thing, the other important part is the upper bext-part. (i'm changing both) There is the timecode. Right behind datetime there are 8bytes (long). you can read about it in

// ebu bext references
https://tech.ebu.ch/docs/tech/tech3285.pdf
// and
https://tech.ebu.ch/docs/r/r099.pdf

i'm nearly done. by now i could synchronize the timecodes, but i didnt found the key for the path/file behaviour in the mediabrowser.. so, the good news is also, with sync audio/video with tc works (it seems).

regards chmee

chmee

  • Contributor
  • Hero Member
  • *****
  • Posts: 1031
  • raw2cdng
Re: DaVinci Resolve audio auto sync
« Reply #15 on: April 23, 2014, 02:20:30 PM »
a beta3 of raw2cdng is out. the timecode is working (theoretical :) but i cant get as a file instead of path/dng+wav (when you erase wav, its a file). more hints appreciated.

of course you have to write a "functional" filename. for example

Code: [Select]
[C]_1_[D2]_C0000(_)
regards chmee

Jakobmen

  • Member
  • ***
  • Posts: 122
  • Canon 5D3
Re: DaVinci Resolve audio auto sync
« Reply #16 on: April 23, 2014, 03:39:15 PM »
still says its beta2  :o
Canon 5D3

chmee

  • Contributor
  • Hero Member
  • *****
  • Posts: 1031
  • raw2cdng
Re: DaVinci Resolve audio auto sync
« Reply #17 on: April 23, 2014, 03:59:20 PM »
 :o ok. forgot to change the versioning in sourcecode. (will  change in a few minutes.done)
look into tooltip of the filenamegenerator, theres now a [D2] variable.

chmee

  • Contributor
  • Hero Member
  • *****
  • Posts: 1031
  • raw2cdng
Re: DaVinci Resolve audio auto sync
« Reply #18 on: April 24, 2014, 08:31:51 PM »
if someone's got some more blackmagic audio samples (with path and at least one dng), please send it to me. (zip) raw2cdng@phreekz.de

Veerle

  • Member
  • ***
  • Posts: 107
Re: DaVinci Resolve audio auto sync
« Reply #19 on: May 06, 2014, 02:15:06 PM »
.

ted ramasola

  • Moderators
  • Hero Member
  • *****
  • Posts: 1250
Re: DaVinci Resolve audio auto sync
« Reply #20 on: May 06, 2014, 02:57:04 PM »
I have the same problem. If I auto sync the audio the first audio file is used in every single clip. And even when I manually change the audio in the timeline, or in the mediapool it either has no audio or it still has that first audio file. Has anyone found a solution yet?

what version of Raw2Cdng are you using?
5DmkII  / 7D
www.ramasolaproductions.com
Texas

Veerle

  • Member
  • ***
  • Posts: 107
Re: DaVinci Resolve audio auto sync
« Reply #21 on: May 06, 2014, 09:11:58 PM »
.

chmee

  • Contributor
  • Hero Member
  • *****
  • Posts: 1031
  • raw2cdng
Re: DaVinci Resolve audio auto sync
« Reply #22 on: May 06, 2014, 09:52:45 PM »
drag/drop into the empty list.

Veerle

  • Member
  • ***
  • Posts: 107
Re: DaVinci Resolve audio auto sync
« Reply #23 on: May 07, 2014, 02:11:59 AM »
.