Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DirectShow questions
01-31-2012, 06:43 AM
Post: #1
DirectShow questions
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,
Find all posts by this user
Quote this message in a reply
03-14-2012, 11:23 PM
Post: #2
RE: DirectShow questions
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
Quote this message in a reply
03-28-2012, 03:48 PM
Post: #3
RE: DirectShow questions
I want to create video files. I need to know which software to use and how to implement VLDCapture1 for that...
Visit this user's website Find all posts by this user
Quote this message in a reply
03-29-2012, 05:35 PM (This post was last modified: 03-29-2012 05:35 PM by Phoenixlee.)
Post: #4
RE: DirectShow questions
Great post!Thank you for all the things learned from here and congratulations for the good work.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)