VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. Member wwaag's Avatar
    Join Date
    Jan 2002
    Location
    Olympic Peninsula, US
    Search Comp PM
    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
    Quote Quote  
  2. Member
    Join Date
    May 2001
    Location
    United States
    Search Comp PM
    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.
    Quote Quote  
  3. Member DJRumpy's Avatar
    Join Date
    Sep 2002
    Location
    Dallas, Texas
    Search Comp PM
    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...
    Quote Quote  
  4. Member
    Join Date
    May 2001
    Location
    United States
    Search Comp PM
    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.
    Quote Quote  
  5. Member wwaag's Avatar
    Join Date
    Jan 2002
    Location
    Olympic Peninsula, US
    Search Comp PM
    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
    Quote Quote  
  6. Member DJRumpy's Avatar
    Join Date
    Sep 2002
    Location
    Dallas, Texas
    Search Comp PM
    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...
    Quote Quote  
  7. Member
    Join Date
    May 2001
    Location
    United States
    Search Comp PM
    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.
    Quote Quote  
  8. Member DJRumpy's Avatar
    Join Date
    Sep 2002
    Location
    Dallas, Texas
    Search Comp PM
    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...
    Quote Quote  
  9. Member
    Join Date
    May 2001
    Location
    United States
    Search Comp PM
    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.
    Quote Quote  
  10. Member DJRumpy's Avatar
    Join Date
    Sep 2002
    Location
    Dallas, Texas
    Search Comp PM
    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...
    Quote Quote  
  11. 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.
    You can better look at the guides here: http://www.avisynth.org/index.php?page=FiltersByCategory
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!