Audio Sync Problems
Hi first off let me say i have done many kvcd's with no problem.
Here is my avicodecs info Code:
File : 701 Mb (701 Mb), duration 1:25:43, type AVI, 1 audio stream(s 1.Full processing mode 2.resample to 44100 3.save wave convert with headch3e with the same settings as always muxed with tmpge and bbmpeg and both times the sound seems to go quicker then the movie,its not a few seconds behind it just seems to go quicker. I'm lost on what to try Thanx |
Use this in your AVS Script:
Quote:
If the Options of the Delay good you can Mux the Video again with bbmpeg. Where you can choose the outputformat MPEG-1 or 2 you have to change something. In the last line is delay. The AVS Script with this informations you can join in WMP old version and look if it's synchron. If not you have to change the Delay. I hope I could help you. |
Use this in your AVS Script:
Quote: AVISource("***.avi") WAVSource("***.wav") AudioDub(AVISource("***.avi, WAVSource("***.wav")) DelayAudio(280) Master Encoder How do I put this in my script? I use the V3 and V4 scrpts and I tried adding this at the beginning and I get nothing but errors. Do I use this script by itself? do I need plugins? I am using version 2.5 by the way. |
Quote:
|
Well, I tried using youe script and I get an error.
Script Error: expected a, or) C:Eric\VCD|Audio_Script.avs, line4, column 55) AVISource("C:\Eric\VCD\VS\VS.avi",false) SwapUV() WAVSource("C:\Eric\VCD\VS\VS.wav") AudioDub(AVISource("C:\Eric\VCD\VS\VS.avi, WAVSource("C:\Eric\VCD\VS\VS.wav")) DelayAudio(0) Any suggestions? |
EM did a mistake:
this should --- refering to the missed ")" ! -- work: AVISource("C:\Eric\VCD\VS\VS.avi",false) SwapUV() WAVSource("C:\Eric\VCD\VS\VS.wav") AudioDub(AVISource("C:\Eric\VCD\VS\VS.avi"),WAVSource("C:\Eric\VCD\VS\VS.wav")) DelayAudio(0) PS: Check your Codecs on your machine, cause to me it seems a bit strange if SwapUV() is really needed. |
A suggestion : Never use encode master's advices without think a litlle by your own.
Code:
AVISource("***.avi") (more : your swapUV won't do anything !!!) The correct thing to do should be (but it is NOT, see after) Code:
video = Avisource("***.avi").SwapUV() What to do : open the avi with GSPOT, on the left you will have the Audio interleave (Audio I/L). This panel shows the delay indicated for instance as "NG=1200 ms" (stands for -1200 ms) or "p=480 ms" (stands for +480 ms). Note this delay and add it in the delay case of Headache (or besweet). Perhaps you should substract 500 ms to the delay because it is the standard audio delay used by vdub. I'm not sure. |
Right, ...
As I said above the correction by me was just refered to the syntax of the avs. The ONLY way I use this manual "audio delay prediction" ;-) is when I see and hear that in case of captures, which are correct captured, still exist a wrong delay ... delivered wrong by the broadcasting station. Just yesterday I recognised that in a capture, ... but anyhow as mentioned you should use the delay correction in HeadAC3he or Besweet, this method within the avs script is just to find out the needed value. And the correct Way to use this like DialHot showed above is also explained in the avisynth.org guides. So please EM check the guides and docs at avisynth.org if you just pick up something somewhere or developing by your own and afterwards using this as your recommendations in here. Thanx |
Grrr, once again I erased a post insteed of quoting it :-(
(somethign should be done in moderator panel !) So Abond was saying : Quote:
So there is still the solution of GPSOT to find the audio delay automatically and not with a try-error method. |
Quote:
-kwag |
Quote:
In deed I'm serious. When not a moderator of the forum the only button (on the right so) is "Quote". When moderator, you have the button in that order "Quote" "Edit". The most right button is so "Edit" and not "Quote". And that is why I do so much error :-) |
what about this then?
video = Avisource("***.avi",false).SwapUV() audio = Wavsource("***.wav").delay(280) Audiodub(video,audio). Or should I save the avi without the audio in VDUB before doing this? By the way, I seen the A/V of p=480 in GSPOT, so I was going to use this as a reference to just see if it syncs up using this script. Now, since VDUB has the 500mS padding I should actually try -20 in the script. Or, if I was to use Goldwave, I would have no padding and should use the +480 delay in the script. I will play around with it and get back with everyone. One more question, since I need 44100Hz instead of 48000 for a KVCD, when I resample, does the file remain the same size? Or should I resample and add the delay during the WAV to MP2 process? Thanx everyone. |
One more question, since I need 44100Hz instead of 48000 for a KVCD,
(I use VDUB to resample) forgot to mention that |
Yes 44100HZ is standart and it's komplatibler than 48kz. :wink:
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.