|
Avid Pro Audio CommunityHow to Join & Post • Community Terms of Use • Help Us Help YouKnowledge Base Search • Community Search • Learn & Support |
#1
|
|||
|
|||
H264 audio sync
I've noticed this on several projects previously where H264 video files appear to introduce a small offset on the corresponding audio file of 1-2 frames compared to a more reliable codec eg. ProRes.
On a recent project, time was of the essence and so I grudgingly accepted an H264 to reconform (with timecode burned in the frame). Before using the H264 file, I convert it using Shutterencoder to MXF (Avid DNX HD codec, OP-atom format) and then import it into PT. The strange thing is the video was in sync and I could verify this with the timecode, but the audio had been pushed back by a frame compared to the ProRes audio reference and the OMF (admittedly different edits so could be an issue caused elsewhere). So I decided to try this myself, and I made a test video file in Premiere (same NLE as the project). I insert academy leader with tone and timecode... I export MXF and everything lines up on import. However, with H264 the video is in the right place but this time the audio is early by ~520 samples (huh?!?!?). Anyone else observed this? Is H264 audio sync altered on encoding or is it an issue with the conversion back to MXF or via direct audio import into Pro Tools? Either way, it basically means H264 cannot be trusted as a reference for audio sync. ps. I knew H264 couldn't be trusted beforehand just wanted to confirm this, and I know 520 samples is not much altho' I've seen up to 1-2 frames diff... I'm hoping I missed something here :/ pps. On my test, H264 export setting in Premiere were High Quality 720p on a 23.976fps sequence (Avid DNX). |
#2
|
||||
|
||||
Re: H264 audio sync
H264, due to the nature of Long GOP codecs, is not a good codec to work with in PT. Sync can be haphazard when stopping and starting playback, especially if you are trying to spot fx etc. I've found that DNxHD 36 is reliable every time.
__________________
Dell Precision 490 Workstation, dual 4 core 5355 Xeon, 16gb Samsung DDR2 ECC Ram - Windows 7 Ultimate - Nvidia GTX 650 - 3 x Internal WD Blacks - PT 2018.3 - Digi 002R - Original Mackie HUI - 3 screens - JBL Monitoring. Dell XPS 8700 i7-4790 - 24gb RAM - Windows 10 - Nvidia GTX 1060 6GB with Studio driver 546.01 - 2 x Internal Samsung 860 EVO SSDs, and MSATA card - Davinci Resolve Studio 18.6.4 - 3 screens - Blackmagic Speed Editor - MK1 Presonus Faderport - Canon C100 mk2 - Atomos Ninja 2 - Zoom H2n |
#3
|
||||
|
||||
Re: H264 audio sync
520 samples is over 10ms, it is a lot. Monitoring voiceover would be impossible while it does not yet lose lip sync (one frame at 48k = 1920 samples)
__________________
Janne What we do in life, echoes in eternity. |
#4
|
|||
|
|||
Re: H264 audio sync
Quote:
My observation is that when an H264 is decoded (or even perhaps encoded) it introduces an audio offset, and therefore there is no way of using it for sync reference when importing in Pro Tools. I understand GOP codecs cannot be used for sync from a visual standpoint, but I did expect the audio would be correct...
__________________
Studio: Mac Pro | OSX Monterey | PT 2023.9 HDX | DAD AX32 Remote: Macbook Pro | OSX Ventura | PT 2023.9 Ultimate | UAD X8 |
#5
|
|||
|
|||
Re: H264 audio sync
Quote:
|
#6
|
|||
|
|||
Re: H264 audio sync
Yes that's what I thought as a workaround, although I tried that in my Premiere test and the 2Pop ended in the right place but started early (I assume this is a bug as the pop should be 1 frame long)
__________________
Studio: Mac Pro | OSX Monterey | PT 2023.9 HDX | DAD AX32 Remote: Macbook Pro | OSX Ventura | PT 2023.9 Ultimate | UAD X8 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
H264 conversion to DNxHD | MIKEROPHONICS | Post - Surround - Video | 21 | 06-30-2016 08:47 AM |
H264 Codec | zoing123 | Post - Surround - Video | 23 | 04-08-2013 02:16 PM |
Need Help with 59.94 H264 pix with 29.97 OMF | amptbuddy | Post - Surround - Video | 6 | 01-27-2009 05:34 PM |
Need Help with 59.94 H264 pix with 29.97 OMF | amptbuddy | Post - Surround - Video | 2 | 01-26-2009 09:06 PM |
qt h264 | tape2tape | Post - Surround - Video | 1 | 02-08-2007 05:32 PM |