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. |
27th March 2013, 16:23 | #1 | Link |
Registered User
Join Date: Apr 2009
Posts: 138
|
MSU Color Enhancement with avisynth?
hi guys
Im trying to get this effect into avisynth. Im using MSU colorenahcement (virtualdub plugin) http://compression.ru/video/color_enhancement/index_en.html The problem comes when I load the plugin to use into avisynth. The plugin load but it gives an error when I add arguments to the function. For example I write MSUcoloenhancement(0,0,7,0,0) and an error of "invalidad arguments" appear. Questions: 1) Anyone knows the valid arguments to add into MSUcoloenhancement() ? 2) How can I get same result using avisynth filters? thank for the replies |
27th March 2013, 23:13 | #3 | Link |
Registered User
Join Date: Apr 2009
Posts: 138
|
Thanks for the help.
At moment no success. I tried to "Save processing settings" and read the arguments for the MSU Color Enhancement filter.. but they are not written there. Anyway Im noticing that these virtualdub filters are not optimized for realtime and loading them into avisynth with RGB mode consume too much CPU power. I hope that someone could post an idea about how to do that with avisynth plugins. Last edited by travolter; 27th March 2013 at 23:46. |
28th March 2013, 11:13 | #4 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
I've looked at MSU filters before and found that they quite often set some parameters,
only in the GUI, save settings does not save everything and as there is no GUI in Avisynth, so you cannot alter the missing ones. I posted something about this for (I think) 'MSU Old Cinema'. EDIT: Here http://forum.doom9.org/showthread.ph...76#post1371376
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 28th March 2013 at 11:27. |
28th March 2013, 13:15 | #5 | Link |
Registered User
Join Date: Apr 2009
Posts: 138
|
thanks stainlessS
Im reading MSU filters propieties and I notice that ones read "Filter supports VirtualDub job control, so it is usable in AviSynth" MSU Color Enhancement dont say nothing about job control... so maybe its not Avisynth friendly... |
29th March 2013, 00:04 | #6 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
will take a look.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
29th March 2013, 03:40 | #7 | Link |
Registered User
Join Date: Jul 2011
Location: Tennessee, USA
Posts: 266
|
Many VirtualDub plugins are OK with Avisynth, but many are not. Several MSU plugins are among those that are not Avisynth friendly. I don't use their filters in VirtualDub any more. anyway; their settings aren't saved in vcf files, and frankly I don't think they work so well that I'm willing to put up with the inconvenience.
|
29th March 2013, 08:17 | #8 | Link |
Registered User
Join Date: Apr 2009
Posts: 138
|
Thanks StainlessS and LemMotlow. Maybe use the MSU filter into avisynth will be difficult-
Anyway... if MSU cannot be used into avisynth. How can I get same effect into avisynth? The plugin seems to reduce brightness on the dark zones and preserve the very lighty and white ones. I tested in the past with highlightlimiter() http://forum.doom9.org/showthread.php?p=1574765#post1574765 but the effect is not the same as the MSU plugin. Last edited by travolter; 29th March 2013 at 08:25. |
29th March 2013, 18:53 | #9 | Link |
Registered User
Join Date: Jul 2010
Location: Germany
Posts: 357
|
Well, you can come somewhat close with this:
Code:
StackHorizontal(ImageReader("1.png", 0, 0).ConvertToYUY2.Levels(0, 0.25, 255, 0, 255).Tweak(sat=0.4), \ ImageReader("2.png", 0, 0).ConvertToYUY2) |
30th March 2013, 21:09 | #11 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Suggest Coring=false if using levels.
Had a look at the MSU filter, no go, as you say, it outputs nothing but the name of the filter, not much use at all. I Installed the VirtualDub frameserver, exec auxsetup.exe. Started VD frameserver, accept default frameserver name. Saved output file as "vdtest.avi". Created Test.avs containing line: Code:
Avisource("D:\AVS\vdtest.avi") Works fine. (although might be simpler to edit in VD, save and load into Avisynth)
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 30th March 2013 at 21:17. |
30th March 2013, 21:13 | #12 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,391
|
There. Code:
imagesource("1.png") red = showred("YV12") green = showgreen("YV12") blue = showblue("YV12") red2 = red.mt_lut("x 3 ^ 255 2 ^ /") green2 = green.mt_lutxy(red, "x y 2 ^ * 255 2 ^ /") blue2 = blue.mt_lutxy(red, "x y 2 ^ * 255 2 ^ /") mergergb(red2,green2,blue2) _____ edit: script corrected, as wisely suggested below. - (And result is now what it should've been.)
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) Last edited by Didée; 30th March 2013 at 23:07. |
30th March 2013, 22:23 | #15 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,391
|
You guys top-right, me bottom left.
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
Thread Tools | Search this Thread |
Display Modes | |
|
|