DumpPixelValues

From Avisynth wiki
Revision as of 00:53, 21 September 2014 by Reel.Deal (Talk | contribs)

Jump to: navigation, search


Abstract
Author McPoodle
Version v.1.0
Download DumpPixelValues.zip
Category Debug filter
Requirements
License GPL
Discussion

Abstract

This DLL allows you to sample the colors from selected pixels for every frame in a video source and output the data to a text or binary file.


Notes

DumpPixelValues(clip, string colorList, string coordinateList[, string filename])


ColorList is one or more of the letters R, G, B, A (for the Alpha channel), Y, U or V. RGB colors cannot be mixed with YUV colors. Video must be in RGB32 format if you want RGBA colors, or in YUY2 format if you want YUV colors.

CoordinateList is a comma-separated set of (x,y) coordinates, with no spaces.

The optional parameter filename is assumed to be "C:\\DumpPixelValues.log" if it is not supplied. You must use two backslash characters for each backslash in the full path. The file will not be deleted if it already exists, instead appending the data onto the end of the existing file. NOTE: To use the special binary output mode, filename must end with the extension .bin (see here for details).


External Links

Personal tools