I'm sure the answer is somewhere on these forums, and I'm sure I'm making a stupid mistake, but I just can't find it. Here's the sitch:
I exported my video as a Huffyuv with 5 seconds of black surrounding for a con. My computer sorta broke so I can't re-export it. (It no longer likes my editor.)
I would like to cut off the black 5 seconds and add opening and closing silent bumps to it, and through researching the most helpful forums, have written the following script:
AVIsource("D:\AMVfiles\Arjuna\Wood-Earthy Huffyuv.avi")
Lanczosresize(848,480)
trim(120,3394)
video=AudioDub(last,WAVSource("D:\AMVfiles\music\angelic (slackergirl edit v2).wav"))
vidstart=AVIsource("D:\AMVfiles\Arjuna\Angelic Earth begin credit.avi")
audstart=BlankClip(vidstart,audio_rate=44100,stereo=true)
start=AudioDub(vidstart,audstart)
vidend=AVIsource("D:\AMVfiles\Arjuna\Angelic Earth end credit.avi")
audend=BlankClip(vidend,audio_rate=44100,stereo=true)
end=AudioDub(vidend,audend)
start+video+end
The video comes through fine, but there is no audio. I think my problem is when or how I'm defining "video". Or some audio issue unknown to me. (The wav file is in 44100 stereo.) I'm very confused.
no audio when joining files in avisynth
- slackergirl
- is the Ultimate Boy Scout
- Joined: Sat May 12, 2001 2:46 pm
- Location: Historic NJ, USA
- Pwolf
- Friendly Neighborhood Pwaffle
- Joined: Thu May 03, 2001 4:17 pm
- Location: Some where in California, I forgot :\
- Contact:
v = AVIsource("D:\AMVfiles\Arjuna\Wood-Earthy Huffyuv.avi").Lanczosresize(848,480).trim(120,3394)
a = WAVSource("D:\AMVfiles\music\angelic (slackergirl edit v2).wav")
video = AudioDub(v,a)
vidstart=AVIsource("D:\AMVfiles\Arjuna\Angelic Earth begin credit.avi")
audstart=BlankClip(vidstart,audio_rate=44100,stereo=true)
start=AudioDub(vidstart,audstart)
vidend=AVIsource("D:\AMVfiles\Arjuna\Angelic Earth end credit.avi")
audend=BlankClip(vidend,audio_rate=44100,stereo=true)
end=AudioDub(vidend,audend)
start+video+end
a = WAVSource("D:\AMVfiles\music\angelic (slackergirl edit v2).wav")
video = AudioDub(v,a)
vidstart=AVIsource("D:\AMVfiles\Arjuna\Angelic Earth begin credit.avi")
audstart=BlankClip(vidstart,audio_rate=44100,stereo=true)
start=AudioDub(vidstart,audstart)
vidend=AVIsource("D:\AMVfiles\Arjuna\Angelic Earth end credit.avi")
audend=BlankClip(vidend,audio_rate=44100,stereo=true)
end=AudioDub(vidend,audend)
start+video+end
- Pwolf
- Friendly Neighborhood Pwaffle
- Joined: Thu May 03, 2001 4:17 pm
- Location: Some where in California, I forgot :\
- Contact:
Pwolf wrote:v = AVIsource("D:\AMVfiles\Arjuna\Wood-Earthy Huffyuv.avi").Lanczosresize(848,480).trim(120,3394)
a = WAVSource("D:\AMVfiles\music\angelic (slackergirl edit v2).wav")
video = AudioDub(v,a)
vidstart=AVIsource("D:\AMVfiles\Arjuna\Angelic Earth begin credit.avi")
audstart=BlankClip(vidstart,audio_rate=44100,stereo=true)
start=AudioDub(vidstart,audstart)
vidend=AVIsource("D:\AMVfiles\Arjuna\Angelic Earth end credit.avi")
audend=BlankClip(vidend,audio_rate=44100,stereo=true)
end=AudioDub(vidend,audend)
return start+video+end
- Scintilla
- (for EXTREME)
- Joined: Mon Mar 31, 2003 8:47 pm
- Status: Quo
- Location: New Jersey
- Contact:
- Pwolf
- Friendly Neighborhood Pwaffle
- Joined: Thu May 03, 2001 4:17 pm
- Location: Some where in California, I forgot :\
- Contact:
- slackergirl
- is the Ultimate Boy Scout
- Joined: Sat May 12, 2001 2:46 pm
- Location: Historic NJ, USA
Hmmm... My reply from yesterday didn't post...
Anyways, it still doesn't work. The wav file is alright. If I comment out the start and end parts and return "video", I get the audio fine. Do I need to be defining more parameters for the silence blocks? Might something in VDM be set wrong? (I've changed nothing from install.) I'll play around with it some more, but any advice would be appreciated. Here is my revised script for review:
v=AVIsource("D:\AMVfiles\Arjuna\Wood-Earthy Huffyuv.avi").Lanczosresize(848,480).trim(120,3394)
a=WAVSource("D:\AMVfiles\music\angelic (slackergirl edit v2).wav")
video=AudioDub(v,a)
vidstart=AVIsource("D:\AMVfiles\Arjuna\Angelic Earth begin credit.avi")
audstart=BlankClip(vidstart,audio_rate=44100,stereo=true)
start=AudioDub(vidstart,audstart)
vidend=AVIsource("D:\AMVfiles\Arjuna\Angelic Earth end credit.avi")
audend=BlankClip(vidend,audio_rate=44100,stereo=true)
end=AudioDub(vidend,audend)
start++video++end
Anyways, it still doesn't work. The wav file is alright. If I comment out the start and end parts and return "video", I get the audio fine. Do I need to be defining more parameters for the silence blocks? Might something in VDM be set wrong? (I've changed nothing from install.) I'll play around with it some more, but any advice would be appreciated. Here is my revised script for review:
v=AVIsource("D:\AMVfiles\Arjuna\Wood-Earthy Huffyuv.avi").Lanczosresize(848,480).trim(120,3394)
a=WAVSource("D:\AMVfiles\music\angelic (slackergirl edit v2).wav")
video=AudioDub(v,a)
vidstart=AVIsource("D:\AMVfiles\Arjuna\Angelic Earth begin credit.avi")
audstart=BlankClip(vidstart,audio_rate=44100,stereo=true)
start=AudioDub(vidstart,audstart)
vidend=AVIsource("D:\AMVfiles\Arjuna\Angelic Earth end credit.avi")
audend=BlankClip(vidend,audio_rate=44100,stereo=true)
end=AudioDub(vidend,audend)
start++video++end
- slackergirl
- is the Ultimate Boy Scout
- Joined: Sat May 12, 2001 2:46 pm
- Location: Historic NJ, USA