Log in

View Full Version : TMPGenc Audio Sync Problems


finchys
1st July 2007, 20:20
I'm having problems with audio sync for a DVD compilation I'm trying to create.

Workflow as follows:

1. Convert 692MB avi file using CCE SP v 2.70.02.12 as per Doom9 guides.

GSpot details on avi file are:
Video - 576 x 320, DAR 1.800, xvid codec
Audio - MPEG-1 Layer 3, 48kHz 139kb/s total, VBR

I wanted to make the DVD 16:9 ratio (PAL) so used the following AVISynth scipt for input into CCE

avisource("e:\filename.avi")
BicubicResize(720,400)
AddBorders(0,88,0,88)
ResampleAudio(44100)

CCE creates MPV file.

2. Extract audio wav file using DirectStream in nanDUB then use BELight to convert to AC3 or MP2. Tried a two bitrates for the audio conversion (192 and 128).

3. When I then bring the MPV and audio files into TMPGenc DVD Author 3 the audio is completely out of sync. Tried all three audio formats wav, MP2 and AC3 but none in sync.
TMPGenc shows the video file as been 1hr 36mins 17secs however the audio files are completely different lengths as follows:
Wav - 1hr 39mins 55s
MP2 - 58mins 23s
AC3 - 41mins 0s

Any ideas what I'm doing wrong?

System: XP SP2 with latest updates/firmware.

setarip_old
1st July 2007, 21:26
Hi!Audio - MPEG-1 Layer 3, 48kHz 139kb/s total, VBRTMPGenc products have always had problems dealing with VBR audio.

Unless something's changed, this is likely the source of your difficulty.

1) What software and procedures did you use to create the .AVI?

2) What is the original source material that you used to create the .AVI?

3) Have you played the .AVI to determine whether its audio and video are in sync?

4) Have you played the original source material on your PC to determine whether its audio and video are in sync?

45tripp
1st July 2007, 23:07
Any ideas what I'm doing wrong?


First you're extracting with direct stream copy in nandub when you should be full processing to uncompressed.

Second you're using belight.
Look to aften for dolby encoding.
Find a gui like encWAVtoAC3 or aftengui.

"resampleaudio(44100)"
is completely useless.
kill it.

might as well disable audio in avisynth:
avisource("e:\filename.avi", false)

gl

manono
2nd July 2007, 16:38
Not to mention the fact that your Resize and AddBorders is all wrong for a 16:9 reencode for MPEG-2. You could just:

Lanczos4Resize(720,576)

and skip the AddBorders. Also, if the source AVI is 23.976fps, as seems to be the case (but you didn't say), and you're encoding for 25fps, then you'll have even more serious audio synch problems.
Any ideas what I'm doing wrong?
Just about everything possible.

And welcome to the forum. :)

finchys
2nd July 2007, 22:01
To answer the questions:

Source of AVI file unknown / download.
File plays ok on computer with audio in sync.
TMPGenc VBR problems.....is there another piece of software I should be using?

I'll try the aften tip and report back. "resampleaudio(44100)" is as per guide.

Addborders once again as per guide. Yes source AVI is 23.976fps. How can this be changed to 25fps successfully or is it necessary?

Yes I have no idea, so, can I ask what my workflow should be in order to try and obtain a MPEG-2 in with audio sync?

setarip_old
3rd July 2007, 00:32
Source of AVI file unknown / download.You might want to RE-read the "Announcement" at the top of the "Newbies" sub-forum, as well as all of the Forum Rules (particularly #6)...