DaVinci Resolve audio auto sync

Started by Toffifee, April 18, 2014, 09:31:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Toffifee

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

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.
[size=2]phreekz * blog * twitter[/size]

Toffifee

No, but that would be something Blackmagic would have right?
Don't you think we could just ask them?

chmee

hmm, instead of asking bm i hoped some of the users worked with bm already and could tell it - the simple way :)
[size=2]phreekz * blog * twitter[/size]

ted ramasola

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

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..
[size=2]phreekz * blog * twitter[/size]

ted ramasola

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

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
[size=2]phreekz * blog * twitter[/size]

ted ramasola

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

just tested. nope. sorry. (but was a good hint)
[size=2]phreekz * blog * twitter[/size]

chmee

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
[size=2]phreekz * blog * twitter[/size]

ted ramasola

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

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

Quote from: chmee 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 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

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
[size=2]phreekz * blog * twitter[/size]

chmee

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

[C]_1_[D2]_C0000(_)

regards chmee
[size=2]phreekz * blog * twitter[/size]

Jakobmen

Canon 5D3

chmee

 :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.
[size=2]phreekz * blog * twitter[/size]

chmee

if someone's got some more blackmagic audio samples (with path and at least one dng), please send it to me. (zip) [email protected]
[size=2]phreekz * blog * twitter[/size]


ted ramasola

Quote from: Veerle on May 06, 2014, 02:15:06 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


chmee

[size=2]phreekz * blog * twitter[/size]