Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 3rd December 2004, 08:49   #1  |  Link
tedkunich
Potentate
 
Join Date: Mar 2003
Posts: 219
RGBLUT and APPLYRANGE problems

Trying to use Applyrange and RGBLUT to selectively apply color corrections to a home movie. Due to a bug/feature in RGBLUT, I have to pass three named parameters and a string to the function. A regular function call would be like this:
Code:
RGBLUT(R=3,G=3,B=3,ampfile="E:\stills\6822.amp")
When I try to use this in ApplyRange with the following call:
Code:
ApplyRange(0,600,"RGBLUT",R=3,G=3,B=3,ampfile="E:\stills\568.amp")
I get an error that "Applyrange does not have a named argument "R""

Is there a trick to get this thing to work?

If it were not for the bug where RGBLUT only applied the AMP file to the red channel, I could eliminate the named arguments and it would work. I have tried stickyboy's wrapper function without success as well.


[EDIT]

figured it out... used stickyboy's wrapper and then triple quoted the function call
Code:
JDL_ApplyRange(last,0,600,"""RGBLUT(ampfile="E:\stills\568.amp",R=3,G=3,B=3)""")

Thanks

Last edited by tedkunich; 3rd December 2004 at 08:59.
tedkunich is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:12.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.