AVS wrong framerate

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
Spaceman
Joined: Tue May 13, 2003 10:26 am
Org Profile

AVS wrong framerate

Post by Spaceman » Fri Mar 07, 2008 8:24 pm

I'm trying to create an avs file to do a final encode of my AMV and I keep getting this error trying to view it in Vdub. I get this error.

Image

I exported my video from Vegas 7.0 as uncompressed and in 23.976 fame rate. I listed my avs file below.

Code: Select all

video=last
AVISource("C:\Mai Hime.avi")
LanczosResize(720,480)
AudioDub(last,WAVSource("C:\01-HFWC.wav"))
SSRC(48000)
leader=BlankClip(120,720,480,"RGB32",23976,1000,48000,true,true,000000)
leader++last++leader
I would appreciate any help on this. Thank you.

User avatar
Zarxrax
Joined: Sun Apr 01, 2001 6:37 pm
Contact:
Org Profile

Post by Zarxrax » Fri Mar 07, 2008 8:31 pm

Try this:

AVISource("C:\Mai Hime.avi")
LanczosResize(720,480)
AudioDub(last,WAVSource("C:\01-HFWC.wav"))
SSRC(48000)
AssumeFPS("ntsc_film")
leader=BlankClip(120,720,480,"RGB32","ntsc_film",48000,true,true,000000)
leader++last++leader

Spaceman
Joined: Tue May 13, 2003 10:26 am
Org Profile

Post by Spaceman » Sat Mar 08, 2008 12:02 am

I tried the script and get this error:

Image

User avatar
LantisEscudo
Joined: Thu Mar 08, 2001 5:21 pm
Location: Eastern Massachusetts
Contact:
Org Profile

Post by LantisEscudo » Sat Mar 08, 2008 12:08 am

You could also try

Code: Select all

LanczosResize(720,480)
AudioDub(last,WAVSource("C:\01-HFWC.wav"))
SSRC(48000)
AssumeFPS("ntsc_film")
leader=BlankClip(120,720,480,"RGB32",24000,1001,48000,true,true,000000)
leader++last++leader
Note the 24000 and 1001.

User avatar
dokidoki
c0d3 m0nk3y
Joined: Tue Dec 19, 2000 7:42 pm
Status: BLEEP BLOOP!
Location: doki doki space
Contact:
Org Profile

Post by dokidoki » Sat Mar 08, 2008 3:10 am

leader = last.BlankClip(120)
Image Image Image
"Comedy is a dying breed." -- kisanzi // "Comedy. Serious business." -- dokidoki

Locked

Return to “AviSynth Help”