11-01-2003, 02:34 PM
|
Free Member
|
|
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
Video : 626 Mb, 1021 Kbps, 23.976 fps, res. 512*384 (4:3), XVID = XVID Mpeg-4, Supported
Audio : 74 Mb, 121 Kbps, 48000 Hz, 2 chan., 0x55 = MPEG Layer-3, Supported
When i open Virtualdub to save wave i get the vbr message
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
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
11-01-2003, 02:50 PM
|
Free Member
|
|
Join Date: Mar 2003
Location: (^_^)
Posts: 504
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Use this in your AVS Script:
Quote:
AVISource("***.avi")
WAVSource("***.wav")
AudioDub(AVISource("***.avi, WAVSource("***.wav"))
DelayAudio(280)
|
I think there's a little delay of 2 seconds.
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.
|
12-10-2003, 12:28 PM
|
Free Member
|
|
Join Date: Nov 2003
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
12-10-2003, 12:43 PM
|
Free Member
|
|
Join Date: Mar 2003
Posts: 243
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Do I use this script by itself?
|
Yes,that's it.
|
12-10-2003, 07:45 PM
|
Free Member
|
|
Join Date: Nov 2003
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|
12-11-2003, 04:27 AM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
12-11-2003, 04:29 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
A suggestion : Never use encode master's advices without think a litlle by your own.
Code:
AVISource("***.avi")
WAVSource("***.wav")
AudioDub(AVISource("***.avi, WAVSource("***.wav"))
DelayAudio(280)
By doing this you load twice the video and the audio, dub them, and then add a delay (to what ? the audio is already dubbed, that's too late !)
(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()
audio = Wavsource("***.wav").delay(280)
Audiodub(video,audio).
But this solution is still a crap. First, you do not know exactly wich delay to put in "delay". Second, you will encode the audio with tmpgenc and in this case it is not mandatory.
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.
|
12-11-2003, 04:37 AM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
12-11-2003, 05:37 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Grrr, once again I erased a post insteed of quoting it
(somethign should be done in moderator panel !)
So Abond was saying :
Quote:
Quote:
But this solution is still a crap. First, you do not know exactly wich delay to put in "delay". Second, you will encode the audio with tmpgenc and in this case it is not mandatory.
|
Nobody even mentioned the word "encoding". This script should be PLAYED in media player to listen the audio synch and correct the delay in the script until it is synch.
|
In this case you're right, I do not read EM post till its end.
So there is still the solution of GPSOT to find the audio delay automatically and not with a try-error method.
|
12-11-2003, 06:27 AM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Dialhot
Grrr, once again I erased a post insteed of quoting it
(somethign should be done in moderator panel !)
|
Or in dialhot's keyboard
-kwag
|
12-11-2003, 07:07 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by kwag
Quote:
Originally Posted by Dialhot
Grrr, once again I erased a post insteed of quoting it
(somethign should be done in moderator panel !)
|
Or in dialhot's keyboard
-kwag
|
.
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
|
12-11-2003, 04:43 PM
|
Free Member
|
|
Join Date: Nov 2003
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
12-11-2003, 04:47 PM
|
Free Member
|
|
Join Date: Nov 2003
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
One more question, since I need 44100Hz instead of 48000 for a KVCD,
(I use VDUB to resample)
forgot to mention that
|
01-04-2004, 11:12 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: (^_^)
Posts: 504
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Yes 44100HZ is standart and it's komplatibler than 48kz.
|
All times are GMT -5. The time now is 06:28 AM — vBulletin © Jelsoft Enterprises Ltd
|