Forums

Full Version: videomode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi guys,

I am using VLDSCapture to get image from my webcam. My webcam is Livecam HD from microsoft. All bitmaps i capture from it are in 640x480 resolution. How can i do to change the resolution ? I discovered the videomodes function but how to set it ?


Thanks,

Rafael

Dave

Hi! You can set the VideoSize->Width and height yourself. Make sure Current is set to false.

Dave
(12-08-2011 09:16 AM)Dave Wrote: [ -> ]Hi! You can set the VideoSize->Width and height yourself. Make sure Current is set to false.

Dave


Look how is my code..

VLDSCapture1.Stop();
VLDSCapture1.VideoSize.Current := false;
VLDSCapture1.VideoSize.Width := 1024;
VLDSCapture1.VideoSize.Height := 768;
VLDSCapture1.Start();

and the resolution does not change..
i am using delphi xe2.

Dave

Looks ok, how do you capture your image?
I use to capture the picture

VLDSCapture.Outputpin -> VLGenericFilter.Inputpin

and the same VLDSCapture to show the image

VLDSCapture.Outputpin -> VLDSImageDisplay.Inputpin

but i need change the resolution, now is 640x480 and i need other better.


Any solution ?

Dave

How do you check it isn't 1024x768?
size of image in display.
the image is not streched or proportional.
and when i capture, i see size in property.

Dave

Maybe a driver issue then, perhaps Boian has some ideas here...

Dave

Which cam (model) do you have? It's possible the resolution you're trying to use isn't supported by the cam for streaming video.
i use livecam hd from microsoft..
it is supported.
i used videomode function to list and appears there.
Pages: 1 2
Reference URL's