Hi everyone. I have ran into a bit of a problem when following some of the great guides here on this forum about using FitCD to make an AVIsynth avs file to use in my encoder. My encoding Software is TMPGEnc Xpress 4.0 and it seems to work great for me normally, but gives me all kinds of difficulty with avisynth scripts.
What I am trying to do is resize some AVI files to adjust for overscan and convert them into MPEG files ready for DVD authoring. The problem I'm now encountering is that when I load the avisynth file created in FitCD (as per instructions from Fucilives guide), I noticed that the audio goes completely out of sync with the video in TMPGEnc Xpress. If I recall correctly, the video ended before the audio (though I'm not sure if it was the other way around.) In any case it was a good bit out of sync.
What do you think might be the problem and how do I fix it? What's the prober way to convert an AVI file into MPEG DVD via AVISynth and TMPGEnc Xpress?
I have been stumped on this for a very long time so any help on this is so appreciated that I might just have to name my grandbabies after the one who solves this.![]()
+ Reply to Thread
Results 1 to 11 of 11
-
-
Post your script.
"Shut up Wesley!" -- Captain Jean-Luc Picard
Buy My Books -
Originally Posted by 1980sumthin
-
Originally Posted by manono
Here's the aviscrypt...
# -= AviSynth v2.5.8.1 script by FitCD v1.2.8 =-
AVISource(the correct location on my hard drive directory)
LanczosResize(656,448,0,2,336,252)
AddBorders(32,16,32,16)
#Trim(0,17983).FadeOut(150)
ConvertToRGB24() # For TMPGEnc or VFAPI
The settings on TMPGenc Xpress are the templates that came in the program. I used "DVD Mpeg" and even tried to use manual mpeg settings using reccomendations I found from searching, and any way I did it, the audio was still out of sync when using avisynth (and only with an avisynth script).
Thank you guys VERY much for you help so far. -
There's nothing in the script that changes the length. I don't use TMPGEnc and wouldn't know if any of the templates could do so. This out-of-synch, is it constant (off by the same amount all the way through), or is it progressive (gets worse as the video goes along). Constant is easy to fix. Progressive points to a more serious problem.
-
"Shut up Wesley!" -- Captain Jean-Luc Picard
Buy My Books -
That's a good point and one I forgot to mention. It adds to my earlier reply about handling the audio separately. I don't use TMPGEnc but have read that it handles VBR MP3 audio poorly, which can lead to the problem described. Since the audio is still in the script, personally I'd extract it, convert it separately, and remove the audio from the script entirely:
AVISource("C:\Path\To\Movie.avi",False) #False disables the audio
LanczosResize(656,448,0,2,336,252)
AddBorders(32,16,32,16)
ConvertToRGB24()
And, as gadgetguy says, there could already be a delay in the audio that's not being accounted for. -
manano I think you are exactly right about the vbr. (Well first, let me adress the earlier question asked and say that the problem is progressive. It starts in synch, but by 10 minutes or so into it, the audio is lagging behind.) I just opened the file (strait from the source) in VirtualDubMod in order to try your suggestion of extracting the audio seperately, but I got this error...
"VirtualDub has detected an improper audio encoding in the source AVI file (audio stream 1).
The current preference is to rewrite the audio header with standard CBR headers during processing for better compatability. This may introduce up to 830 ms of skew from the video stream. If this is unacceptable, decompress the *entire* audio stream to an uncompressed WAV file and recompress with a constant bitrate encoder. (bitrate 89.2 + 11.2 kbps)
Do you still want to rewrite the header?" -
What do you think I should do to solve this?
Similar Threads
-
Problem with TMPGEnc Xpress 4
By milindb1 in forum Video ConversionReplies: 1Last Post: 20th Aug 2008, 03:43 -
BIG Problem TMPGENC Xpress V.4.4.1.237 + TMPGEnc DVD Author ver.3.1.2.176
By milindb1 in forum Authoring (DVD)Replies: 1Last Post: 20th Aug 2008, 02:41 -
TMPGEnc 4.0 XPress - audio only no video?
By Trang-Ly in forum Video ConversionReplies: 3Last Post: 2nd Jun 2008, 12:47 -
TMPGEnc 3.0 Xpress problem
By adamthered in forum Video ConversionReplies: 2Last Post: 7th Jul 2007, 17:22 -
Avisynth/TMPGEnc Xpress Audio Sync Issue
By Borflex in forum Video ConversionReplies: 4Last Post: 2nd Jun 2007, 14:10