Audio sync trouble with H.264

Bigmagic

Well-known member
I am trying to export from Premiere Pro CS4 to an H.264 file. The audio is consistently ahead of the video no matter what settings I'm using. It works fine with wmv. but h.264 is out of whack. Anybody have any suggestions? I have been searching the forums and tweaking the settings in Premiere to no avail. HHHEEELLLPP!
 
I remember this happened with "Stupendous" in LossFest... I think it ended up being off by like 6 frames, maybe try sliding all your audio back 6 frames and seeing if that helps? I'm not an expert, just going off what I remember.
 
I remember this happened to me before. Check to make sure the audio sample rate is correct
 
I had a similar issue with one of my two films in this fest. Using FCP, though, and no one can explain the what causes it. I had the waveforms in the timeline not coinciding with the actual sound at that frame. Basically the waveforms were 2 frames behind the actual audio. So I went by strictly listening and when I rendered out and put the whole film on a new timeline the waveforms were right. I even deleted the waveform cache, deleted preferences, repaired permissions, created a new timeline and dropped everything in, you name it... nothing worked. Apparently it's not an uncommon issue. Guess these programs are destined to remain imperfect. Oh well, the film is done and when you play it, it's in sync. That's all I care about.

My suggestion, as MrSeth said, make sure you audio sample rate is correct. Also make sure all your audio files in the project are the same sample rate and bits, and even file format. That can make a difference and I presume is the issue with mine since I had put a few sounds in without converting them first. Seems to mess up everything.
 
Timeline is actually a avchd 24p timeline. I have used voltaicHD to remove the pulldown and put .wmv clips in the timeline. I encoded a hi rez version with Corel and it worked fine except Corel does not all me to slow the bit rate so the file was too big. I can render it in wmv just fine. I am sliding video back and forth now. Its difficult because after the render the audio moves ahead so its kind of a guessing game. I have tried lots of tweaking of the audio render to no avail. I'm still at it, and will remain at it until it works or the time is up. I have one that is close I could turn in. I think this must be fun or why would I have been at it for as many hours as I have. Thanks for trying to help guys.
 
avchd is h264, this might be what is causing the problem but i don't know what editor you are using.

if you can get it to export to any format where the audio is in sync, you could possibly try and do your final encode using mpeg streamclip (freeware for mac and pc)

download link
http://www.squared5.com/
 
I'm using Premiere Pro CS4, I can render wmv files no problem. H.264 is the only thing not working correctly. Thanks for the link.
 
Yeah, don't edit with H.264. I always transcode to a different codec. In my case with FCP I go to one of the ProRes codecs, usually HQ.
 
Yes, but don't edit in H.264. Edit in another more edit-friendly codec. Output your film and then transcode the film to H.264. That's what I do. I transcode my footage to ProRes 422 HQ and edit, color correct, output in ProRes 422 HQ, then convert to H.264.

EDIT: convert = transcode
 
Last edited:
Premiere Pro stinks! I'm trying to export my movie to a .h264 file and I either get bad quality, or audio out of sync, or the export failing! My DVCPRO HD timeline and my P2 footage are perfect.
I'm going to miss the darn window because of this....

I'm trying to export AVI uncompressed now to put it in Vegas and export from there to see what happens.
 
Export in whatever codec your sequence settings are using. Then use Adobe Media Encoder to transcode to H.264. Works for me on CS4 for Mac, although it sounds like you might be on Windows but maybe it will work for you too.
 
from Premiere I just exported a P2 movie with the same settings as my timeline.
I dropped it in AE and exported a quicktime movie with H.264 encoding.
My file is 291MB.

Still experimenting!
 
I selected h.264(f4v) and it came out alright with a file size of about 49MB but I don't think that format is acceptable for upload. Everything else is failing!

Can it be a quicktime file encoded with h264?
 
never heard of f4v. if it is h.264, you can feel free to upload it and I'll let you know how it plays on my end.

quicktime file: if I'm understanding you, yes.... generally what people submit are h.264 encoded .mov, or .mp4
 
Back
Top