I filmed this panel discussion at the New School and am trying to figure out what the heck happened. Filmed with 3 cameras: BM Ursa 4.6K EF, BM Micro Cinema Camera, and Canon 5D MKIII running ML 1.2.3 to MLVs. I have already post converted the MLVs into DNG sequences. Camera was set to 1920x1038, 24 FPS and was not set to FPS override or off-speed recording.
When bringing the files in, the audio is consistently 20-30% shorter, even if the footage reinterpreted to 29.97.
Every other thread I read, people say their audio is *longer*, but mine is quite the opposite.
Let me know if you have any thoughts. Here are a few clips exhibiting these symptoms that I'm trying to ... resolve. ;)
https://drive.google.com/drive/folders/1KiN1P894edU_Xbpes_FKIdTNv16c7QGe
Thanks!
Todd
Interesting , I'll try your mlv's on my PC Workstation and see what happen
What convertor did you use "MLVFS" etc. .....
Edit:
Can you upload the original mlv's ?
I just downloaded the first file , 2.6GB and all dng's--take a long time
Need the mlv to see if this is a convertor or a nightly build issue .
By the way what's the build date ?
I see you´re using MlRawViewer and it´s strenght is perhaps not dng exporting. Feel free to try another MLV processor such as:
Switch(uses mlv_dump with all bells and whistles from mlvfs and lj92 compression code, Bouncyball, g3gg0, A.Baldwin)
https://www.magiclantern.fm/forum/index.php?topic=15108.msg146822#msg146822
Mlv App
https://www.magiclantern.fm/forum/index.php?topic=20025.msg186965#msg186965
MLVFS
https://www.magiclantern.fm/forum/index.php?topic=13152.msg127218#msg127218
looks like I'm stuck with it.. already dumped the MLVs after not doing the research first. :/
next time. Thanks everyone!
This could probably be fixed with some scripting adding necessary metadata info through bwfmeta edit for example.
Could you upload one folder containing dng files + wav?
Sorry to hear about sound sync problem. I had a problem once when my recording was shut down unexpected, when battery went empty.
I use raw2cdng, and a new version of that couldn't solv the sync problem from MLV files, so I tried an old one 1.6.1 and that fixed it. Even tought I think the video and audio had different lengtes, it synced perfectly in Resolve.
Well, really sorry to hear, maybe it could be fixed with some effort.
For most people using this camera is just a cdng with synced audio the most important thing from a MLV/RAW converting app.
They are free and has to be i guess, you can do donation (which I did a small amount to Chmee) but its really bad that there are so many that shits it up :) but some do it really properly like for example Chmee and others did.
Well its free this, but this can't happen anyway I think, It's so crucial for stuff like this to work.
The raw2cdng app that I was using is sort of 4 years old and it was perfect never had a problem with it, except from now on latest Windows Updates which rolled me back even to an older raw2cdng app.
Quote from: Danne on February 18, 2018, 05:12:51 PM
This could probably be fixed with some scripting adding necessary metadata info through bwfmeta edit for example.
Could you upload one folder containing dng files + wav?
There are a few here:
https://drive.google.com/drive/folders/1KiN1P894edU_Xbpes_FKIdTNv16c7QGe
Another annoying issue with these, is that the audio that Resolve sees in the folder is silent, but the WAVs in the folder have audio. I have to import each WAV for each clip separately and line them up by eye.. thank god for snapping timelines, but it's pretty tedious regardless. The 5D material was more of my B cam [Ronin-M] stuff for other parts of this series, so I have coverage, I would just rather have the ability to use everything I shot and sync it all via waveform / etc.
Thanks!
Here is a script which will add necessary wav info and rename your folders according to Davinci resolve specs
Download:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/audio_resolve_script.zip
It works like this:
1 - Add audio_resolve_script.command and the bin folder in a folder containing your folders with dng files. You can add all folders if you like. It should look something like this in your folder:
audio_resolve_script.command
bin
M15-1622_DNG_000001_C0000
2 - double click audio_resolve_script.command and all included dng folders will get what they need to work in resolve
NOTE: You need to add root privileges to audio_resolve_script.command before double clicking it.
open terminal then do:
chmod u=rwx drag audio_resolve_script.command here
hit enter
Let me know if this works. Recommended that you try out a few folders first before doing this operation on all your folders.
Here´s what the script looks like in full:
#!/bin/bash
workingDir=`dirname "$0"`
cd "${workingDir}"
#script that will add metadata and rename every folder directory according to Davinci resolve specs
#usage:
#double click the script audio_resolve_script.command inside a folder containing dng folders and the included "bin" folder
#to be able to use the script audio_resolve_script.command it needs root privileges so add following:
#chmod u=rwx audio_resolve_script.command then hit enter. Now you can double click the script
#set export path to existing folder
export PATH="${workingDir}"/bin:$PATH
#let´s clean
rm audio.xml
rm folderlist
#list directories
ls -d M*/ | cut -d "/" -f1 > folderlist
while ! [ x"$(cat folderlist)" = x ]
do
cd $(cat "folderlist" | head -1)
FPS=$(echo $(exiftool *000000.dng | grep 'Frame Rate' | awk '{print $4; exit}')*1000 | bc -l | cut -d "." -f1)
#check for wav file and add necessary metadata
if ls *.WAV >/dev/null 2>&1
then
#safety checks
if [ -f ../bin/bwfmetaedit ] && [ -f ../bin/exiftool ]
then
#Black magic audio tag copied from Dmilligan(mlvfs)
echo "<?xml version="\"1.0"\" encoding="\"UTF-8"\"?><BWFXML><IXML_VERSION>1.5</IXML_VERSION><PROJECT>Magic Lantern</PROJECT><NOTE></NOTE><CIRCLED>FALSE</CIRCLED><BLACKMAGIC-KEYWORDS></BLACKMAGIC-KEYWORDS><TAPE>1</TAPE><SCENE>1</SCENE><BLACKMAGIC-SHOT>1</BLACKMAGIC-SHOT><TAKE>1</TAKE><BLACKMAGIC-ANGLE>ms</BLACKMAGIC-ANGLE><SPEED><MASTER_SPEED>$FPS/1000</MASTER_SPEED><CURRENT_SPEED>$FPS/1000</CURRENT_SPEED><TIMECODE_RATE>$FPS/1000</TIMECODE_RATE><TIMECODE_FLAG>NDF</TIMECODE_FLAG></SPEED></BWFXML>" > ../audio.xml
#Add metadata information to the wav file
bwfmetaedit *.WAV --in-iXML=../audio.xml
else
clear
echo $(tput bold)$(tput setaf 1)"necessary binaries are missing"$(tput sgr0)
exit 0
fi
fi
cd ../
rm audio.xml
#if already renamed then skip it
if ! grep 'C0000' <<< $(cat "folderlist" | head -1) >/dev/null 2>&1
then
mv $(cat "folderlist" | head -1) $(cat "folderlist" | head -1)_C0000
fi
echo "$(tail -n +2 folderlist)" > folderlist
done
#the end
rm folderlist