Thank you Noel!! File share link below and a description of the contents:
Here is a link to the various test files in a zipped folder:https://dl.dropboxusercontent.com/u/483200/sonarsynctest.zip Included:1. Short MP4 file
2. Screen shot of Sonar's clock vs burn-in time code clock not lining up
3. Wave file of audio exported out of sonar (from the mp4s audio track)
4. New MP4 rendered in Sony Vegas 12 with both the original audio and the sonar exported audio (I panned it to the opposite side, is out of sync)
5. Screen shot of the two audio files in vegas (out of sync)
6. Platinum bundle file of the session with the mp4
Comments:First off, thank you Noel for having a look at this, I know you get many issues brought to your attention.
- The issue does not show itself within Sonar, the issue is the audio (score in this case) exported from Sonar and brought back into other programs like: (Sony Vegas 12 or ProTools 10 HD) I've also tested with Cubase 7.
You would need a second program to test out this issue as files exported out and then back in to Sonar sync up fine.
When a composer scores in Sonar, obviously his or her output needs to sync back up to the sessions in the film production house. They are generally on Pro Tools as you know. The wave files exported from a Sonar session containing an MP4 or QuickTime file (I'm assuming any compressed video file) will have some sort of padding at the top so that the exported audio plays late in relation to the audio in the original MP4s timeline. I'm using dialogue from the original MP4 to test this out. I believe the encoding on this MP4 was originally H.264. I have made my own MP4 for this test just to make the file shorter but I get the same result as on the original MP4.
The basic test I do is this: - Import MP4 into sonar, set the sample rate 48 KHz, bit depth 24, frame rate 23.97 and clock offset 00:59:52:00
- Export part or all of the audio out as a wave file or better, a Broadcast wave file
- Open the same MP4 in Vegas, Pro tools or any other pro program that handles video and audio
- Import the audio that was exported from Sonar into the other program.
- The audio will be out of sync with the original. (late by 3/4 frame up to 1.5 frames depending on the Sonar version)
- * Go through the bundle's time-line a bit and you'll notice the visual code and sonar's code are off, not consistently either. This is not the same in PT or Vegas, every frame lines up.
* If I do these tests between the other programs (not sonar) I get
sample accurate sync as I should. I think this rules out Windows, the newer MS media platform, or any other third party technology. If it works in the other programs, why not Sonar? Something is odd about the way sonar imports these compressed video files into it's video container. There is no drift and the sync issue occurs right from the start of the file and is consistent to the end of the file.
Even if I get Sonar's clock to line up with the visual code on the MP4, any exported audio will have that padding and be out of sync when I re-sync it in another program. I should also mention that I've tested this with MP4s that have different frame rates, sample rates etc. and/or no clock offset, same issue. Everyone in the business is using mp4 and QuickTime during production these days so this would be a worth while improvement. This message is too long now, if you have any other questions please let me know. Thanks again!
JG