Forums
DirectShow questions - Printable Version

+- Forums (http://mitov.com/forum)
+-- Forum: FireMonkey Components (/forum-5.html)
+--- Forum: VideoLab (/forum-18.html)
+--- Thread: DirectShow questions (/thread-99.html)



DirectShow questions - TheoRI - 01-31-2012 06:43 AM

I am trying to build an app using VideoLab for a home project. Do not have much experience with Delphi but hacking it along with the examples provided.

Need to be able to control the brightness and other options under

VLDSCapture1.adjustment

I use a scrol bar to adjust brighness and use the following code

procedure TForm1.BrightnessAdj(Sender: TObject);
begin
Bright_Var := BrightnessScBar.Position; {set the Brightness variable to the position of the brightness scroll bar }
VLDSCapture1.Adjustment.Brightness.value := Bright_Var ; {Set the brightness of the filter to the brightness variable }
BrightVal.Caption := inttostr(Bright_Var); {Show the value of the brightness variable in a label box}
end;


Can you please help in telling me how do go about doing this.

Anyone has a substantial application that they would be willing to share so I learn.

Can I set the exposure for the camera I am using?! I figure its under the TVLDSCameraControlProperty...

I still have to figure out the user interface for saving a file,


RE: DirectShow questions - Dave - 03-14-2012 11:23 PM

For Apple perhaps...

Anywho, if you have VLDSCapture1.Enabled set to true and Brightness.Mode set to amManual your code should work, that is.. if your cam/driver etc. supports it, same for exposure.

Regards,
Dave


RE: DirectShow questions - mitafnath - 03-28-2012 03:48 PM

I want to create video files. I need to know which software to use and how to implement VLDCapture1 for that...


RE: DirectShow questions - Phoenixlee - 03-29-2012 05:35 PM

Great post!Thank you for all the things learned from here and congratulations for the good work.