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 2nd February 2019, 16:53   #1  |  Link
Overdrive80
Anime addict
 
Overdrive80's Avatar
 
Join Date: Feb 2009
Location: Spain
Posts: 645
Convert filter parameter to avisynth

Hi, I use filter Hue/Intensity/Sat in Vdub but I want find equivalent settings in avisynth. Source is RGB32.



Really I need convert:

Code:
VirtualDub.video.filters.Clear();
VirtualDub.video.filters.Add("Red/Green/Blue");
VirtualDub.video.filters.instance[0].Config(959, 1000, 1000);
VirtualDub.video.filters.Add("levels");
VirtualDub.video.filters.instance[1].Config(0x0000,0xEBEB,0x00F9AD18,0x0000,0xFFFF, 0);
VirtualDub.video.filters.Add("hue/saturation/intensity (1.2)");
VirtualDub.video.filters.instance[2].Config(6, 1, 5, 0, 63);
VirtualDub.video.filters.Add("hue/saturation/intensity (1.2)");
VirtualDub.video.filters.instance[3].Config(0, 1, 12, 0, 8);
VirtualDub.video.filters.Add("hue/saturation/intensity (1.2)");
VirtualDub.video.filters.instance[4].Config(3, 1, 0, 0, 1);
VirtualDub.audio.filters.Clear();
Thanks in advance.
__________________
Intel i7-6700K + Noctua NH-D15 + Z170A XPower G. Titanium + Kingston HyperX Savage DDR4 2x8GB + Nvidia GTX750 2GB DDR5 + SSD Vertex 4 256 GB + Antec EDG750 80 Plus Gold Mod + Corsair 780T Graphite

Last edited by Overdrive80; 2nd February 2019 at 16:57.
Overdrive80 is offline   Reply With Quote
Old 2nd February 2019, 17:27   #2  |  Link
Overdrive80
Anime addict
 
Overdrive80's Avatar
 
Join Date: Feb 2009
Location: Spain
Posts: 645
Ok, I think that below code is equivalent:

Code:
RGBAdjust(0.959, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1)

Levels(0, 0.975, 235, 0, 255)

Hue(hue=6.0, sat=1.05, intensity=1.00, channels="RYGCBM") #All
Hue(hue=0.0, sat=1.12, intensity=1.00, channels="Y") #Yellow
Hue(hue=3.0, sat=1.00, intensity=1.00, channels="R") #Red
__________________
Intel i7-6700K + Noctua NH-D15 + Z170A XPower G. Titanium + Kingston HyperX Savage DDR4 2x8GB + Nvidia GTX750 2GB DDR5 + SSD Vertex 4 256 GB + Antec EDG750 80 Plus Gold Mod + Corsair 780T Graphite
Overdrive80 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 01:16.


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