The values are correct, they reduce tint in my video. I just leave the other default values in so they show as sliders in AvsPmod.
OK guys thanks. So it looks like this is the way to go however the sliders in AvsPmod now have no effect and I have to adjust the values manually! Also how do I use more than 1 filter for each mapping?
Code:filtered=Tweak (Hue=-0, Sat=0.8, Bright=10, Cont=1.05, Coring=False) ReplaceFramesSimple(last,filtered,Mappings="[0 18234]") filtered=Tweak (Hue=-0, Sat=0.8, Bright=10, Cont=1.05, Coring=False) ReplaceFramesSimple(last,filtered,Mappings="[18235 73155]")
+ Reply to Thread
Results 31 to 40 of 40
-
-
-
Thanks. It's working perfectly now, this is what I have:
Code:filtered=Tweak (Hue=-0, Sat=0.8, Bright=10, Cont=1.15, Coring=False).ConvertToRGB32(interlaced=true). RGBAdjust(0.9, 1.0, 0.9).converttoyv12(interlaced=true) ReplaceFramesSimple(last,filtered,Mappings="[0 18234]") filtered=Tweak (Hue=10, Sat=1.0, Bright=10, Cont=1.15, Coring=False).ConvertToRGB32(interlaced=true). RGBAdjust(1.0, 1.0, 1.0).converttoyv12(interlaced=true) ReplaceFramesSimple(last,filtered,Mappings="[18235 27439]") filtered=Tweak (Hue=10, Sat=0.8, Bright=10, Cont=1.2, Coring=False).ConvertToRGB32(interlaced=true). RGBAdjust(0.9, 1.0, 0.9).converttoyv12(interlaced=true) ReplaceFramesSimple(last,filtered,Mappings="[27440 73155]")
-
I'm not sure I understand, but if using 2 filters over the same range of frames, you can also set up 2 instances of ReplaceFramesSimple. If the problem is the conversion to RGB and back, you can do it for the whole film before the ReplaceFramesSimple calls, do all the RGBAdjust stuff, and then convert back to YV12 before doing your Tweaks and whatever else.
-
Code:
unfiltered = last # only once, before all the ReplaceFramesSimple() calls Tweak (unfiltered, Hue=-0, Sat=0.8, Bright=10, Cont=1.15, Coring=False) ConvertToRGB32(interlaced=true) RGBAdjust(0.9, 1.0, 0.9) converttoyv12(interlaced=true) ReplaceFramesSimple(unfiltered,last,Mappings="[0 18234]") ...
When you don't specify the name of a video stream AviSynth assumes the name "last". For example:
Code:AviSource("filename.avi") ConvertToRGB() RGBAdjust(0.9, 1.0, 0.9) ConvertToYV12()
Code:last = AviSource("filename.avi") last = ConvertToRGB(last) last = RGBAdjust(last, 0.9, 1.0, 0.9) last = ConvertToYV12(last) return(last)
Code:unfiltered = last
Last edited by jagabo; 10th Dec 2012 at 07:00.
-
The defaults certainly don't hurt anything. But reducing all three RGB colors by what is basically the same percentage, you add gray (reduce saturation and brightness) and thus made very little change in Tint. Then you reduced saturation again with Tweak, by the same amount again. That's close to a 25% reduction altogether. Nothing wrong with that, it's just that it doesn't do what you think it did.
Last edited by sanlyn; 24th Mar 2014 at 12:15.
-
In this thread I was just asking about how to use ApplyRange, etc and I never posted a sample video so I don't know what video you used my settings on! My settings were correct for the video I was working on (never posted that video anywhere online!). For the other values that don't do anything, I just keep them there so that all the sliders for those values appear in AvsMod!
-
Right. I do the same thing with cut-and-paste for several plugins. Who the hell can remember all those parameters ? ?
It just takes a while to get the hang of working on color. Once you start looking into it, it makes more sense. And now, back to my project (and you thought yours was tricky. I'm even seeing this one in my sleep).Last edited by sanlyn; 24th Mar 2014 at 12:16.
-
You wouldn't want to enter all of ColorYUV's parameters in the same way as those for something like Tweak. Most of them default to 0. But some of those values require an entry and there is no default. For instance, "Autowhite" has no default; if you add it to a string of ColorYUV parameters and enter anything for a value (either true or false), then all your other settings in that same list for contrast, gamma, etc., will automatically be disabled. Better to look over the documentation to see what you want.
Use START -> All Programs -> Avisynth 2.5 -> Avisynth Documentation. In the HTML display that follows, look at the table of contents,m upper left. You'll see a list of alpha letters a,b,c,d, etc. click on C, then click ColorYUV from the list.Last edited by sanlyn; 24th Mar 2014 at 12:16.
Similar Threads
-
Do Avisynth and Premiere work well on Windows 7?
By spicediver10191 in forum EditingReplies: 11Last Post: 21st Sep 2012, 18:45 -
How to Remove Dancing Pixels with Avisynth when Denoisers don't work?
By VideoFanatic in forum RestorationReplies: 61Last Post: 23rd Aug 2012, 21:19 -
Can't get RemoveSpots to work with Avisynth
By VideoFanatic in forum RestorationReplies: 8Last Post: 21st Aug 2012, 08:09 -
AVIsynth refuses to work anymore... Plz help!
By Nagashi in forum Newbie / General discussionsReplies: 3Last Post: 24th Dec 2010, 17:44 -
how do I install x264.exe to work AND to work with Lemings GUI?
By Krelmaneck in forum Newbie / General discussionsReplies: 1Last Post: 14th Nov 2010, 22:13