AVISynth- BeforeAfterLine error!

The old Video Software Help forum, left visible as an archive.

AVISynth- BeforeAfterLine error!

Postby Shadow_Leaper » Sun Jul 30, 2006 6:44 pm

Well here's my command:


AVISource("C:\My Documents\Smoke.avi")
BeforeAfterLine(placement=1,filters="""converttoyv12(interlaced=true).fielddeinterlace().tweak(sat=1.2).FastLineDarken(strength=96,thinning=0).SDDeRainbow().mftoon(strength=60).deen("a3d",2)""")

I keep getting this error:

AVISynth open failure:
StackHorizontal: image formats don't match
(vdubv, line 143)
(C:\My Documents\Copy of Smoke.avs line 2)

Can anyone help me here??
Image
User avatar
Shadow_Leaper
 
Joined: 25 Dec 2003
Location: ~*Don't Tear Me Down*~

Postby Athena » Sun Jul 30, 2006 7:08 pm

All of those need to be seperate lines. AVS is trying to read it like one huge command.
Image
User avatar
Athena
I ♥ the 80's
 
Joined: 02 Mar 2001
Location: Japan
Status: Sad Girl on Mac

Postby Melanchthon » Sun Jul 30, 2006 7:10 pm

The 'after' part of the image is in YV12, and the 'before' part isn't. Convert to YV12 before running BeforeAfterLine.
User avatar
Melanchthon
 
Joined: 02 Sep 2004

Postby Melanchthon » Sun Jul 30, 2006 7:12 pm

Kionon wrote:All of those need to be seperate lines. AVS is trying to read it like one huge command.

That doesn't work with BeforeAfter. If you want everything on a separate line, you have to put a backslash on each line and leave the full stops in.
User avatar
Melanchthon
 
Joined: 02 Sep 2004

simple

Postby Shadow_Leaper » Sun Jul 30, 2006 7:34 pm

Melanchthon wrote:The 'after' part of the image is in YV12, and the 'before' part isn't. Convert to YV12 before running BeforeAfterLine.


wow thanks, it finally works! :)
Image
User avatar
Shadow_Leaper
 
Joined: 25 Dec 2003
Location: ~*Don't Tear Me Down*~

Postby Athena » Sun Jul 30, 2006 8:38 pm

Melanchthon wrote:
Kionon wrote:All of those need to be seperate lines. AVS is trying to read it like one huge command.

That doesn't work with BeforeAfter. If you want everything on a separate line, you have to put a backslash on each line and leave the full stops in.


Ah, so. Noted for later reference.
Image
User avatar
Athena
I ♥ the 80's
 
Joined: 02 Mar 2001
Location: Japan
Status: Sad Girl on Mac


Return to Video Software Help Archive

Who is online

Users browsing this forum: No registered users and 1 guest