Creating black space.

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.

Creating black space.

Postby angelx03 » Thu Apr 09, 2009 6:52 pm

All right. I need to make a 2 second black space of my AMV for an upcoming con this month. My script is this:

Code: Select all
#ASYNTHER AVISource
AVISource("E:\Strawberry Panic AMV02\Twilight Kiss huffybeta001.avi")
ConvertToYV12()
TomsMoComp(1,5,1)
Deen("w3d",3,3,5)
TemporalCleaner()
#vmToon()
LimitedSharpenFaster(strength=200)
Tweak(sat=1.1)
Trim(0,3685)
LanczosResize(720,480)
video=last
leader=BlankClip(60,720,480,"YV12",29970,0000,00000,true,true,000000)
leader++video++leader
ConvertToRGB24()


Because the huffyuv video didn't have audio in it, I decided to put 0's in their respective arguments. Problem is that it keeps on popping an error on Line 14 saying that the framerates don't match. And I am absolutely certain that my video has a framerate of 29.97 fps and following Scintilla's guide in order to get the 2 second black clip, I should put 2 * 30 = 60.

Any ideas what's wrong?
ImageImage
Image
User avatar
angelx03
 
Joined: 21 Jan 2003
Location: In school, Rochester NY mainly RIT; in home, Tampa, FL

Re: Creating black space.

Postby angelx03 » Thu Apr 09, 2009 9:17 pm

And I just figured it just now:

leader=BlankClip(60,720,480,"YV12",29970,1000,00000,true,true,000000)


Never mind! :oops:
ImageImage
Image
User avatar
angelx03
 
Joined: 21 Jan 2003
Location: In school, Rochester NY mainly RIT; in home, Tampa, FL

Re: Creating black space.

Postby Pwolf » Fri Apr 10, 2009 10:28 pm

could have also just done:

Code: Select all
leader = blackness(video, color=$000000, length=60)


It'll copy all the clip properties of "video" so all you have to do is specify the length and color.

Pwolf
ImageImage
ImageImage
Like the AMV .Org App? Think about donating to help me make it better.
User avatar
Pwolf
Friendly Neighborhood Pwaffle
 
Joined: 03 May 2001
Location: Some where in California, I forgot :\

Re: Creating black space.

Postby Khameleon808 » Sun Apr 12, 2009 3:45 am

it came from the blackness

*yes im still alive*
Image
User avatar
Khameleon808
 
Joined: 22 Jul 2002
Location: where the buses dont run

Re: Creating black space.

Postby Khameleon808 » Sun Apr 12, 2009 3:48 am

couldnt you just put a black jpg in the timeline and just stretch it to accomidate the length then append that to the final encode?
Image
User avatar
Khameleon808
 
Joined: 22 Jul 2002
Location: where the buses dont run

Re: Creating black space.

Postby Scintilla » Sun Apr 12, 2009 9:14 am

Khameleon808 wrote:couldnt you just put a black jpg in the timeline and just stretch it to accomidate the length then append that to the final encode?

Yes, but it's no faster; plus, the BlankClip() method doesn't require you to use up more hard drive space by encoding another video file.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:
User avatar
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo


Return to Footage Help

Who is online

Users browsing this forum: No registered users and 1 guest