beforeafterline problem

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
Aladar42
Joined: Sun Apr 06, 2008 8:56 am
Org Profile

beforeafterline problem

Post by Aladar42 » Sun Apr 06, 2008 9:00 am

Hi, I'm kinda new to encoding, and when I discovered beforeafterline, I thought it can be good for experimenting with various filters, but.. somewhat, it doensn't want to work on me.. My current script is

Code: Select all

LoadPlugin("D:\vsfilter.dll")
AVISource("D\:1.avi")
Trim(1,0)
LanczosResize(848,480)
beforeafterline(""removegrain(mode=5).removegrain(mode=5).TemporalCleaner().LimitedSharpenFaster().BlindPP(cpu=4, quant=4)"")
yet, when I want to play the .avs file, it complains that "Script error: expected a , or )
*path to .avs* line 5, column 29"

..from the examples i saw here and on other places, I think everything is set up properly there, yet it deosnt work.. Can someone help me?

Aladar42
Joined: Sun Apr 06, 2008 8:56 am
Org Profile

Post by Aladar42 » Sun Apr 06, 2008 9:06 am

Eh, on the second thought I see I should've posted it in AviSynth forum.. sorry >_>

User avatar
Kariudo
Twilight prince
Joined: Fri Jul 15, 2005 11:08 pm
Status: 1924 bots banned and counting!
Location: Los taquitos unidos
Contact:
Org Profile

Post by Kariudo » Sun Apr 06, 2008 12:02 pm

beforeaferline needs 3 double quotes (you only have 2)

for comparing scripts, I recommend AvsP
Image
Image

Aladar42
Joined: Sun Apr 06, 2008 8:56 am
Org Profile

Post by Aladar42 » Sun Apr 06, 2008 12:31 pm

Kariudo wrote:beforeaferline needs 3 double quotes (you only have 2)

for comparing scripts, I recommend AvsP
Well I added one more double quote, there, but not it says "Script error: Invalid arguments to function "beforeafterline"..

User avatar
Illwilledmarine
Joined: Sun Mar 25, 2007 12:06 pm
Location: Phoenix, AZ
Org Profile

Post by Illwilledmarine » Sun Apr 06, 2008 1:49 pm

Make sure your beforeafterline starts like this and then put in all your filters.
BeforeAfterLine(1,filters="""filters. go. here.""")

User avatar
CerebralAssamite
Joined: Sat Jun 12, 2004 9:56 am
Location: You Mean You Care?
Org Profile

Post by CerebralAssamite » Sun Apr 06, 2008 2:32 pm

("D\:1.avi")

That's not how you travel between directories...

Aladar42
Joined: Sun Apr 06, 2008 8:56 am
Org Profile

Post by Aladar42 » Tue Apr 08, 2008 1:11 am

Illwilledmarine wrote:Make sure your beforeafterline starts like this and then put in all your filters.
BeforeAfterLine(1,filters="""filters. go. here.""")
Thanks a lot! That solved it :)
CerebralAssamite wrote:("D\:1.avi")

That's not how you travel between directories...
I know, it was just a typo when I was retyping the name of the video here.

Locked

Return to “AviSynth Help”