PDA

View Full Version : need avisynth equivalents of two vdub filters


lancer
30th November 2004, 12:13
I'm nearly reaching a point in my project where I can produce the interim file prior to mpeging it in TMPGenc.

I've got everything as I want in script but there are two vdub filters left that I am having trouble understanding how I can make an equivalent work in script.

they are

RGB adjust by Neuron2

values R98, G100, B108

white balance filter, (hosted on neuron2's site)

I use it's white balance section to tweak values on the color.

can anyone suggest equivalent avisynth script functions that will do what these two vdub filters do?

Ark
30th November 2004, 13:07
I think Tweak() can do what you want.

Read the documentation, there're other filters that can solve your problem.

lancer
30th November 2004, 13:19
nope.

tweak will let me adjust hue, contrast and brightness, already using it.

I haven't tried coring so maybe that is worth a shot, but it's all very well saying other filters will solve the problem,

that's my question, which ones?

RGBadjust I can't make head nor tail of in the avisynth documentation and on doom9, otherwise I'd have tried that.

Manao
30th November 2004, 13:27
In the masktools, you'll find a filter named RGBLUT. It will allow you to do the RGB adjust ( but you'll have to find the right formulas ).

I've no clue on what White balance is doing, but i think there again that a combination of RGBAdjust ( the avisynth's filter, this time ) and RGBLUT will allow you to emulate its behavior.

sh0dan
30th November 2004, 13:41
I personally use ColorYUV for adjusting the whitebalance.

Try inserting:
ColorYUV(off_u = 0, off_v = 0)
Histogram("Levels")

The code above is a no-op, but you can use the levels display for adjusting the u/v offsets. There is a bit more explanation on the Histogram (http://www.avisynth.org/Histogram) page.

stickboy
30th November 2004, 19:45
Originally posted by lancer
I've got everything as I want in script but there are two vdub filters left that I am having trouble understanding how I can make an equivalent work in script.

they are

RGB adjust by Neuron2If you're going to operate in RGB mode, why not load the VirtualDub filter in AviSynth?

ARDA
30th November 2004, 23:31
There is an internal filter of avisynth
RGBAdjust is almost the same as virtualdub filter
if I do not remember wrong.
Search in avisynth web.

ARDA