Jump to content

Set Capture Parameters Programmatically?


Recommended Posts

Hello all,

I'm using an ActiveX object that I found ( http://www.shrinkwrapvb.com/videocap.htm ) to display a live image from an Epiphan VGA2USB device. It shows up as a TWAIN (I think that's the correct way to describe it) source if you go to My Computer in Windows. When I first tried to get it to work (All I did was put the video window in an ActiveX container) the colors were all screwy. I managed to get the built-in Windows capture parameter window to display (lets you select source's resolution and bit depth) at the beginning of the program execution.

video.jpg

Once I changed it from the default (as its shown in the image above) to RGB24, everything looked the way it was supposed to. Is there a way to programmatically set this prior to execution? I'm not a programmer and I'm having difficulty deciding whether that's a task for the ActiveX object or if it's something I need to set in the OS. I immediately looked to the OCX file, but I think its a Windows setting now, but I don't know where to start.

Thanks LAVA,

Jordan

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.