Hello, I am a long time lurker,first time poster. I am having a bit of an issue getting a final copy ready for convention submission and wondered if I could get help.
Just a bit of info before hand:
The AMV is progressive and is running at 24 fps, so I need to switch it to 29.97 fps...fair enough. The 24 fps that is exported from Premiere and encoded through VDub is great.
Problem: Everytime I encode through VirtualDub and convert to 29.97 the footage is running too fast to sync properly with my audio track.
Next I tried going to TMPGEnc and encoding the AVS file into MPEG 2. I read through the extremely informative guide provided by Scintilla and followed it step by step with the exception of adding leader (will explain as to why). Now the problem is that the audio starts too early and is yet agian completely out of sync with the footage.
I have no idea why it is doing this. The only thing I can possibly think of is the fact that I added about 5 seconds of dead space in the begining of my Premiere timeline to act as a leader. However the AVI that is exported from Premiere plays fine on my media player and Virtual Dub. So I am stumped as for what to do.
Is there a way to get a 29.97 converted AVI out of Virtual Dub without the sync issue?
What issue am I having with TMPGEnc to make the audio start too early?
I'll list some AVS scripts below, maybe that help figure things out.
Script for VDub export:
AVISource("D:\AMV's\Turn the Page Perfect.avi")
ConvertToYV12()
ConvertFPS(29.97)
BicubicResize(720,480)
deen("a2d",4,12)
Undot()
vmToon(strength=0)
Script for TMPGEnc export:
AVISource("D:\AMV's\Turn the Page Perfect.avi")
ConvertToYV12()
AssumeFPS(23.976,true)
BicubicResize(720,480)
deen("a2d",4,12)
Undot()
vmToon(strength=0)
AudioDub(last,WAVSource("D:\AMV's\Turn the Page.wav"))
SSRC(48000)
If you need anymore info let me know.
Thanks everyone for the help.
Help request, audio starting too early after TMPGEnc encode
-
- Joined: Mon Apr 28, 2008 1:53 pm
- Scintilla
- (for EXTREME)
- Joined: Mon Mar 31, 2003 8:47 pm
- Status: Quo
- Location: New Jersey
- Contact:
Re: Help request, audio starting too early after TMPGEnc encode
I'm not sure why ConvertFPS() would be causing that problem, unless they changed its behaviour in newer versions of AVISynth. (I'm still running 2.56.) But are you saying that the convention in question will accept AVI files, but only at 29.97fps?Samurai Rocker wrote:Problem: Everytime I encode through VirtualDub and convert to 29.97 the footage is running too fast to sync properly with my audio track.
The issue is with your script. I'm assuming that "Turn the Page.wav" does NOT have five seconds of silence built into it at the beginning, while the audio exported from Premiere does. Your script is swapping out the Premiere export's audio for the original song with the AudioDub() line, hence the mismatch.Samurai Rocker wrote:Next I tried going to TMPGEnc and encoding the AVS file into MPEG 2. I read through the extremely informative guide provided by Scintilla and followed it step by step with the exception of adding leader (will explain as to why). Now the problem is that the audio starts too early and is yet agian completely out of sync with the footage.
I have no idea why it is doing this. The only thing I can possibly think of is the fact that I added about 5 seconds of dead space in the begining of my Premiere timeline to act as a leader. However the AVI that is exported from Premiere plays fine on my media player and Virtual Dub. So I am stumped as for what to do.
What issue am I having with TMPGEnc to make the audio start too early?
The fact that you're doing this swap in the first place means you DID use a sped-up version of the song for editing at 24fps, right? But if so, then I'd suggest something like this:
AVISource("D:\AMV's\Turn the Page Perfect.avi")
ConvertToYV12()
AssumeFPS(23.976,true)
BicubicResize(720,480)
deen("a2d",4,12)
Undot()
vmToon(strength=0)
BlankClip(last,120)++AudioDub(Trim(last,120,0),WAVSource("D:\AMV's\Turn the Page.wav"))
SSRC(48000)
What that does is chop the first five seconds off the video, THEN mix in the original audio file, THEN append five seconds of blank leader.
If, on the other hand, you DIDN'T speed up the song for 24fps editing but just used the original WAV file in your Premiere project, then that AudioDub() line has no business being in there in the first place and you should get rid of it (because otherwise it will cause desync).
Oh, and if you are in fact using the song "Turn the Page", as in the one that was made famous by Bob Seger, then send me a PM or something when you release your vid. ^_^
-
- Joined: Mon Apr 28, 2008 1:53 pm
Re: Help request, audio starting too early after TMPGEnc encode
I realized that shortly after I made the thread. I was looking through the script and realized that I in fact did not take into acount the wav file didn't have a five second delay, so I just swapped it for the original audio that came with the AVI. Just finished the last encode, problem solved!Scintilla wrote:The issue is with your script. I'm assuming that "Turn the Page.wav" does NOT have five seconds of silence built into it at the beginning, while the audio exported from Premiere does. Your script is swapping out the Premiere export's audio for the original song with the AudioDub() line, hence the mismatch.
It is indeed "Turn the Page", but it is the Metallica cover from Garage Inc. Although I am a fan of the Bob Seger original as well. Will PM you as soon as I get down to a uploadable size.Scintilla wrote:Oh, and if you are in fact using the song "Turn the Page", as in the one that was made famous by Bob Seger, then send me a PM or something when you release your vid. ^_^
Thank you very much for your insight.