jonogrant
Max Output Level: -89 dBFS
- Total Posts : 99
- Joined: 2015/07/14 21:34:07
- Status: offline
Sonar video sync issue
Hello folks, I'm having an issue involving Sonar with certain video file types. I compose for film and tv and receive various types of video files to work with. The most popular format these days sent around to composers in post production is MP4 or H.264. > Good quality and smaller file size. The issue is that my final cues that are in sync with the video inside of sonar, shift after they are exported. (by about 2.5 frames) Even a broadcast wave file. This doesn't seem to happen when using WMV or AVI files (but nobody really uses those file types in tv post prod. and converting them is not an option for my work flow) So, if I export a music cue from sonar and check it against picture in another program like Sony Vegas for instance, the cue is off by 2.5 frames. I still use Sonar X1d currently but I read that the newer versions (after X3e) now have better video support and don't use the direct show engine etc. I started a demo of Sonar platinum last night but the same issue persists! (I was able to test this by bouncing a clip internally and grabbing it from the audio folder to test it, as the demo won't allow any exporting) > The file was slightly less out-of-sync but still off by almost 2 frames. The only reason I can think of at this point, is whatever codec is running when I'm working with MP4s. I think I'm using LAV video encoders. I'm wondering if that could be the issue? Although, if I did the same test using only Sony vegas I wouldn't get the issue, which still points to Sonar... Anyone have any thoughts on this? Codec? Sonar? Thanks! JG
Jono Grant (Film and TV Composer)Intel Core i7 3930K CPU @ 320 GHz, 32 GB RAM,Windows 8 (64 bit) . {3 X MOTU 2408 MK3} Asus mboard. 550 GB SSD system drive and 3 - 2TB SATA drives. Sonar Platinum x64
|
markyzno
Max Output Level: -66 dBFS
- Total Posts : 1216
- Joined: 2011/02/08 06:40:20
- Location: UK
- Status: offline
Re: Sonar video sync issue
2015/07/15 13:59:05
(permalink)
Codec. Try the kLite video codec pack.
Sonar Platinum 64 bit > Pro tools 10.3.2 >Intel i7 3770K > 16Gb Ram > Gigabyte Z77-D3H Motherboard> NVIDIA GeForce GTX 660 2 GB > ATi RADEON HD5700 > 240GB OCZ Agility 3 SSD> Win 10 home 64 bit> Delta 1010 > MOTU Audio Express > MA-15D's > NI Ultimate 9 > NI Kontrol S61 1.1 > NI MAschine Studio 2.3 / KORG MS-20 Mini - Arturia MicroBrute > KORG SQ1 - KORG Kaoss Pad KP3 > iPad and IO Dock 2 running various bits > Bunch of guitars >Sound Design on IMDB --
|
jonogrant
Max Output Level: -89 dBFS
- Total Posts : 99
- Joined: 2015/07/14 21:34:07
- Status: offline
Re: Sonar video sync issue
2015/07/15 14:39:23
(permalink)
Thanks! I think I had kLite at one time, always tricky to find the right codec pack. I think I have the shark 007 codec pack currently. I'll look more into it. But, to you it sounds like a codec issue? I think sonar's sync is sample accurate across the board, I feel like this issue is related to how the video file gets imported and how the visual time code relates to the project. Thanks for the reply. JG
Jono Grant (Film and TV Composer)Intel Core i7 3930K CPU @ 320 GHz, 32 GB RAM,Windows 8 (64 bit) . {3 X MOTU 2408 MK3} Asus mboard. 550 GB SSD system drive and 3 - 2TB SATA drives. Sonar Platinum x64
|
markyzno
Max Output Level: -66 dBFS
- Total Posts : 1216
- Joined: 2011/02/08 06:40:20
- Location: UK
- Status: offline
Re: Sonar video sync issue
2015/07/15 14:58:13
(permalink)
I always had codec issues (many moons ago) but dont with KLite and Sonar (I'm a sound designer)... Now I dont have any synchronisation issues whatsoever..... SOMETIMES during a project the Hard Embedded TC will be half a frame to a frame out from Sonars but its not a reality as everything is in sync on the export.
Sonar Platinum 64 bit > Pro tools 10.3.2 >Intel i7 3770K > 16Gb Ram > Gigabyte Z77-D3H Motherboard> NVIDIA GeForce GTX 660 2 GB > ATi RADEON HD5700 > 240GB OCZ Agility 3 SSD> Win 10 home 64 bit> Delta 1010 > MOTU Audio Express > MA-15D's > NI Ultimate 9 > NI Kontrol S61 1.1 > NI MAschine Studio 2.3 / KORG MS-20 Mini - Arturia MicroBrute > KORG SQ1 - KORG Kaoss Pad KP3 > iPad and IO Dock 2 running various bits > Bunch of guitars >Sound Design on IMDB --
|
Jimbo 88
Max Output Level: -57 dBFS
- Total Posts : 1828
- Joined: 2007/03/19 12:27:17
- Location: Elmhurst, Illinois USA
- Status: offline
Re: Sonar video sync issue
2015/07/15 15:16:28
(permalink)
How do you mean "shift" after exporting? Does it start in sync and by the end be off by 2.5 frames? One trick to try. i send my music to the client or mixer(who is using Protools 99% of the time) in an OMF file. So I... 1) "save as" a new file 2) "Bounce to Tracks" a stereo mix, then 5-6 stems. Depending on what the mixer asks for. 3) Delete all the midi and raw audio tracks...everything but the mix and stems. 4) Remove silence (I create my own setting for this with a -89db threshold so i do not miss any soft intros or exits. 5) Export the OMF. If i have properly put in the SYMPTE offset and have the correct frame rate in >Preferences>Clock, the OMF drops into perfect place. I get nothing but compliments on how all my cues or OMF files sync up.
Cakewalk By Bandlab Cubase 9.5 Pro Windows 7 64 Bit Core i7-8700 32 Gig Ram 3.20ghz RME Fireface 400 Audio Card Behringer FCA 1616 Sweetwater Creation Station
|
Jimbo 88
Max Output Level: -57 dBFS
- Total Posts : 1828
- Joined: 2007/03/19 12:27:17
- Location: Elmhurst, Illinois USA
- Status: offline
Re: Sonar video sync issue
2015/07/15 15:18:22
(permalink)
You might be working in Sonar with the wrong frame rate selected. By "wrong" I mean the frame rate of your picture and Sonar's frame rate are not matched.
post edited by Jimbo 88 - 2015/07/15 15:28:34
Cakewalk By Bandlab Cubase 9.5 Pro Windows 7 64 Bit Core i7-8700 32 Gig Ram 3.20ghz RME Fireface 400 Audio Card Behringer FCA 1616 Sweetwater Creation Station
|
jonogrant
Max Output Level: -89 dBFS
- Total Posts : 99
- Joined: 2015/07/14 21:34:07
- Status: offline
Re: Sonar video sync issue
2015/07/15 21:46:33
(permalink)
Thanks for the replies! I'm sure it's not a frame rate issue or any user related thing. I'm suspecting the codec or even possibly Sony Vegas which is what I'm using to test the problem. The video FR is at 23.97 and others tested were at 29.97 ND. I have an offset in sonar's clock settings and have it set to export any waves with the offset. Another strange thing is that when I insert the video into Sonar, the first frame of video which displays a visual time code of let's say: 00:59:58:00, will show up in Sonar as 00:59:58:01. And that 1 frame isn't consistent with the 2.5 frames that it's off by. Anyhow, I've sent some test files to a colleague to test for me, if everything is fine then it has something to do with Sony Vegas. I'll report back with the result. Thanks again! JG
Jono Grant (Film and TV Composer)Intel Core i7 3930K CPU @ 320 GHz, 32 GB RAM,Windows 8 (64 bit) . {3 X MOTU 2408 MK3} Asus mboard. 550 GB SSD system drive and 3 - 2TB SATA drives. Sonar Platinum x64
|
jonogrant
Max Output Level: -89 dBFS
- Total Posts : 99
- Joined: 2015/07/14 21:34:07
- Status: offline
Re: Sonar video sync issue
2015/07/17 10:53:11
(permalink)
Test came back with same result. 2.5 frames late. I changed to the kLite codec pack and the issue still there but now is 1.5 frames out. Something to do with the codec in my machine I guess but not sure what to change. There are a lot of variables in the codec settings. If I do a test using only Sony Vegas, the files export and import back in properly. I assume Vegas would be using the same codec for mp4s as Sonar would? The really strange thing is, in all cases, the visual time code on the video matches the codes inside of Sonar and Vegas.
Jono Grant (Film and TV Composer)Intel Core i7 3930K CPU @ 320 GHz, 32 GB RAM,Windows 8 (64 bit) . {3 X MOTU 2408 MK3} Asus mboard. 550 GB SSD system drive and 3 - 2TB SATA drives. Sonar Platinum x64
|
Jimbo 88
Max Output Level: -57 dBFS
- Total Posts : 1828
- Joined: 2007/03/19 12:27:17
- Location: Elmhurst, Illinois USA
- Status: offline
Re: Sonar video sync issue
2015/07/17 13:16:37
(permalink)
How are you doing your test? What is 2.5 frames late? How do you determine that?
Cakewalk By Bandlab Cubase 9.5 Pro Windows 7 64 Bit Core i7-8700 32 Gig Ram 3.20ghz RME Fireface 400 Audio Card Behringer FCA 1616 Sweetwater Creation Station
|
jonogrant
Max Output Level: -89 dBFS
- Total Posts : 99
- Joined: 2015/07/14 21:34:07
- Status: offline
Re: Sonar video sync issue
2015/07/17 13:46:51
(permalink)
☄ Helpfulby Jimbo 88 2015/07/24 22:40:04
1. I bring an MP4 into sonar 2. export out some of the MP4's audio either as a broadcast wave or as a basic riff wave (jotting down the start time code) 3. open the same MP4 video in Sony Vegas 4. bring in the audio exported from sonar into the vegas file at the correct time code or import the broadcast wave 5. Sonar's exported audio is 2.5 frames later then the audio attached to the MP4 (which is the same audio I exported out of sonar) Reverse test: 1. open MP4 in Vegas 2. Export a bit of the audio, jot down the time code start 3. Import the same MP4 into Sonar 4. Import the Vegas exported audio into Sonar (Audio comes into sonar early by 2.5 frames) *Bringing the exported audio back into the SAME program has no sync problem. Basic conclusion so far is that the mp4 in sonar is playing 2.5 late. I should also mention that I've done these tests using audio from different times in the 30 minute video and the amount it is off by is consistent, so it's not a drifting issue. The audio in an MP4 is AAC, wonder if that has anything to do with it.. JG
post edited by jonogrant - 2015/07/17 14:57:53
Jono Grant (Film and TV Composer)Intel Core i7 3930K CPU @ 320 GHz, 32 GB RAM,Windows 8 (64 bit) . {3 X MOTU 2408 MK3} Asus mboard. 550 GB SSD system drive and 3 - 2TB SATA drives. Sonar Platinum x64
|
jonogrant
Max Output Level: -89 dBFS
- Total Posts : 99
- Joined: 2015/07/14 21:34:07
- Status: offline
Re: Sonar video sync issue
2015/07/24 12:17:01
(permalink)
Hey markyzno, Still trying to get to the bottom of the Sonar/ mp4/quick time sync issue. I've posted a new thread on it here: http://forum.cakewalk.com/Sonar-with-QuickTime-MP4-or-H264-not-functioning-correctly-still-m3261535.aspx#3261535 You are using Sonar for sound design so I thought I'd ask you to look at it. I've asked if someone could try a small test, exporting audio out of Sonar from an mp4 on the time line. Bring it back into another program and check the sync. I've tried with every scenario I can think of, different machines etc. same result. Anyhow, trying to figure it out. Cheers! JG
Jono Grant (Film and TV Composer)Intel Core i7 3930K CPU @ 320 GHz, 32 GB RAM,Windows 8 (64 bit) . {3 X MOTU 2408 MK3} Asus mboard. 550 GB SSD system drive and 3 - 2TB SATA drives. Sonar Platinum x64
|
Jimbo 88
Max Output Level: -57 dBFS
- Total Posts : 1828
- Joined: 2007/03/19 12:27:17
- Location: Elmhurst, Illinois USA
- Status: offline
Re: Sonar video sync issue
2015/07/24 22:38:45
(permalink)
jonogrant 1. I bring an MP4 into sonar 2. export out some of the MP4's audio either as a broadcast wave or as a basic riff wave (jotting down the start time code) 3. open the same MP4 video in Sony Vegas 4. bring in the audio exported from sonar into the vegas file at the correct time code or import the broadcast wave 5. Sonar's exported audio is 2.5 frames later then the audio attached to the MP4 (which is the same audio I exported out of sonar) Reverse test: 1. open MP4 in Vegas 2. Export a bit of the audio, jot down the time code start 3. Import the same MP4 into Sonar 4. Import the Vegas exported audio into Sonar (Audio comes into sonar early by 2.5 frames) *Bringing the exported audio back into the SAME program has no sync problem. Basic conclusion so far is that the mp4 in sonar is playing 2.5 late. I should also mention that I've done these tests using audio from different times in the 30 minute video and the amount it is off by is consistent, so it's not a drifting issue. The audio in an MP4 is AAC, wonder if that has anything to do with it.. JG
Very interesting...Everyday I import a video into Sonar, create audio, export a wav from Sonar and load everything back into Vegas. If I keep the wav file exactly the same size as the picture file (control-A) everything lines up in perfect sync always.... However....today I was working and froze a synth, it was an old, 32 bit VST (Virtual Guitar) and guess what?? It was 2.5 frames late, just on a fluke after reading your post I thought to try 2.5 frames. So perhaps there is an issue with Bitbridge, or perhaps you as using, as I do, some plugins that look ahead and is causing this.
Cakewalk By Bandlab Cubase 9.5 Pro Windows 7 64 Bit Core i7-8700 32 Gig Ram 3.20ghz RME Fireface 400 Audio Card Behringer FCA 1616 Sweetwater Creation Station
|
jonogrant
Max Output Level: -89 dBFS
- Total Posts : 99
- Joined: 2015/07/14 21:34:07
- Status: offline
Re: Sonar video sync issue
2015/07/24 23:51:48
(permalink)
I've thought about plug in latency and sound card latency but the tests I've done don't have any plugs or synths loaded. i do have jbridge on some things but not in the test sessions. I've done tests on my sons computer that has no sound card or audio apps at all..same result. My issue is with sonar files that are running any quick time, mp4 or h.264 video. There is no issue with AVI or WMV and especially not just audio with no video, all that syncs up perfectly.. Someone suggested that lossy files like mp4s get padded, adding a short top and tail to the video. Looking into that one. Cheers! JG
Jono Grant (Film and TV Composer)Intel Core i7 3930K CPU @ 320 GHz, 32 GB RAM,Windows 8 (64 bit) . {3 X MOTU 2408 MK3} Asus mboard. 550 GB SSD system drive and 3 - 2TB SATA drives. Sonar Platinum x64
|
jonogrant
Max Output Level: -89 dBFS
- Total Posts : 99
- Joined: 2015/07/14 21:34:07
- Status: offline
Re: Sonar video sync issue
2015/07/25 00:36:26
(permalink)
PS. Even if I select the whole track (ctrl+A) and export, it's late when I import back into Vegas. Even if the video is only ten seconds long I get the sync issue. Which means it's not a drift of any kind. The offset is consistent no matter the length. Another strange thing is, the videos I get have a burn in time code on the display, and it's usually consistent with sonars smpte display. So even if I cut the wave right on the second mark like: 01:02:00:00 and manually bring it in and sync it to that visual time code in vegas, it's off. It doesn't make sence except to say that the export function is delayed in Sonar when working with mp4s etc. My only fix at this point is to set an offset under the clock settings that is 2 frames behind. (I can't set it any smaller than a frame) JG
Jono Grant (Film and TV Composer)Intel Core i7 3930K CPU @ 320 GHz, 32 GB RAM,Windows 8 (64 bit) . {3 X MOTU 2408 MK3} Asus mboard. 550 GB SSD system drive and 3 - 2TB SATA drives. Sonar Platinum x64
|