c# - How can i set brightness for camera using IAMVideoProcAmp? -
i'm trying use iamvideoprocamp (directshow.net c#) set brightness microsoft camera (lifecam studio). refer solution here. solution uses iamvideoprocamp set brightness camera. after connect device calling
dsdevice.getdevicesofcat(filtercategory.videoinputdevice);
i set brightness of camera. it's seem not work when call set() function of iamvideoprocamp
int set( videoprocampproperty property, // videoprocampproperty int lvalue, // value set videoprocampflags flags // videoprocamp_flags_* );
i tried set various valid values function there no effect on camera. can max/min/default value of brightness property of camera function:
int getrange( videoprocampproperty property, // property query out int pmin, // range minimum out int pmax, // range maxumum out int psteppingdelta,// step size out int pdefault, // default value out videoprocampflags pcapsflags // videoprocampflags );
and gave me max = 255, min = 30, default = 133, pcapsflags = manual.
i used microsoft lifecam software adjust brightness , makes effect on camera immediately. max/min value of brightness max = 2.5, min = -2.5 please show me way set brightness of camera , why max/min values different value on property pages?
thank lot.
at last figured out iamvideoprocamp::set
not work because microsoft lifecam software. software installed along installing of camera driver. truecolor feature of software point of problem, when turn truecolor on software, cannot use iamvideoprocamp::set
adjust brightness app anymore. uninstall microsoft lifecam works desire. hope info same problem me.
Comments
Post a Comment