Anyone know of a grayscale filter for Avisynth? Vdub has an internal filter, but I prefer frameserving from Avisynth since it's a lot faster. Thanks in advance.
wwaag
+ Reply to Thread
Results 1 to 11 of 11
-
-
AVISYNTH has an internal GREYSCALE command that will do what you what (if remove the color information is what you what to do). Just see the filter docs for the prog on how to use.
-
The command is 'Greyscale()'
If your clip is stored in a variable, then it would look like this:
Greayscale(clipvarname)
That's it..No features/switches.Impossible to see the future is. The Dark Side clouds everything... -
I didn't want to make it too easy for him (he will learn much more on his own journey of discovery than if you just give him the info). You could also use HUE and TWEAK and a couple of others to accomplish the same thing.
-
Thanks for the info. Initially, I tried the "Greyscale" command but spelled it with an "a" rather than "e"--wrong version of a common language. Makes me feel a bit foolish.
Incidentally, I use the Greyscale command for encoding B&W movies. Removes any color artifacts--the resulting encodes look a lot better.
SLK001. I did look at the "Avisynth scripting language reference guide" that I recently downloaded from the Avisynth website and searched the forum prior to posting. There is NO reference to the greyscale command or the "hue" or "tweak" commands for that matter. A reference to an updated or more complete reference guide would be greatly appreciated.
wwaag -
wwaag, just go to the main site, and if your using internet explorer, select FILE | SAVE AS. It will download the complete site, including manual. I don't know why they don't create a downloadable version of just the manual. It would be much easier.
Impossible to see the future is. The Dark Side clouds everything... -
Here is part of the documentation for version 2.07 (which I am still using) located in the DOCS directory directly under the install directory. These are all internal commands.
Filters for image processing
AddBorders AddBorders adds black borders around the image.
Blur / Sharpen These are simple 3x3-kernel blurring and sharpening filters.
ConvertToRGB / ConvertToYUY2 / ConvertBackToYUY2 ConvertToRGB32 / ConvertToRGB24 Avisynth can deal internally with two color formats, RGB and YUY2. These filters convert between them.
Crop / CropBottom Crop crops excess pixels off of each frame.
GeneralConvolution General convolution.
Greyscale Converts a video to greyscale.
Layer / Mask / ResetMask / ColorKeyMask Layering two videos.
Letterbox Letterbox simply blackens out the top and the bottom and optinally left and right side of each frame.
Levels The Levels filter adjusts brightness, contrast, and gamma.
MergeChroma / MergeLuma This filter makes it possible to merge luma or chroma from a videoclip into another. There is an optional weighing, so a percentage between the two clips can be specified.
ReduceBy2 / HorizontalReduceBy2 / VerticalReduceBy2 ReduceBy2 reduces the size of each frame by half.
BilinearResize / BicubicResize / LanczosResize / PointResize The Resize filters rescale the input video frames to an arbitrary new resolution, using different sampling algorithms.
RGBAdjust Adjust each color channel seperately.
SpatialSoften / TemporalSoften The SpatialSoften and TemporalSoften filters remove noise from a video clip by selectively blending pixels.
Tweak Adjust the hue, saturation, brightness, and contrast. -
Um..{*Doh!*}. Actaully, you need to use the 'Download' option on the web site. I remember I tried the save as, but the option base in the html keeps referring back to the web site. They have a Download option on the main page called 'Download A Snapshot'. This includes the entire site, manual and all. Ideal for modem users.
Impossible to see the future is. The Dark Side clouds everything... -
I had the same problem with the "Reference Guide". It doesn't list many of the newer commands. The developers of AVISYNTH realized this "lag", so they started including the latest documentation in the self-extracting files. It is put automatically in the DOCS directory underneath the main AVISYNTH directory.
-
I'll stick with the download version. The installed version of the docs are somewhat difficult to read and navigate
. The download package is all alphabetized by command, and on a nice black/white background. I can refer to the site for any odd command when necessary.
Impossible to see the future is. The Dark Side clouds everything... -
SLK001. I did look at the "Avisynth scripting language reference guide" that I recently downloaded from the Avisynth website and searched the forum prior to posting. There is NO reference to the greyscale command or the "hue" or "tweak" commands for that matter. A reference to an updated or more complete reference guide would be greatly appreciated.
Similar Threads
-
Avisynth filter RemoveDirt not doing anything
By ThePhoenix in forum Newbie / General discussionsReplies: 10Last Post: 4th Mar 2012, 18:40 -
AviSynth and Filter Order
By sambat in forum EditingReplies: 3Last Post: 11th Jan 2012, 10:04 -
Lav filter and avisynth
By Creed in forum Newbie / General discussionsReplies: 7Last Post: 15th Dec 2011, 16:10 -
Need Avisynth filter
By fubuki81 in forum RestorationReplies: 5Last Post: 30th Sep 2008, 13:04 -
Logoaway filter for AviSynth?
By DRP in forum Video ConversionReplies: 2Last Post: 8th Aug 2008, 04:30