Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting dimension of video captured from camera #41

Closed
GoogleCodeExporter opened this issue Apr 23, 2015 · 14 comments
Closed

Setting dimension of video captured from camera #41

GoogleCodeExporter opened this issue Apr 23, 2015 · 14 comments

Comments

@GoogleCodeExporter
Copy link

At this point AForge.Video.DirectShow.VideoCaptureDevice class captures 
video from local camera using default settings for video size. But most 
cameras support several predefined sizes for captured video. It is 
required to have functionality, which allows to enumerate supported video 
sizes and select one of them for capturing.

Original issue reported on code.google.com by andrew.k...@gmail.com on 1 Dec 2007 at 4:14

@GoogleCodeExporter
Copy link
Author

Hi Andrew,

I have extended your DirectShow library to include the display of the capture 
device
property pages (using code from the the DirectShow .net wrapper that can be 
found on
the web, which I believe you have also used as your base). Contact me if you are
interested in the code.

Cheers
Yves

Original comment by Yves.Van...@gmail.com on 27 Mar 2008 at 10:58

@GoogleCodeExporter
Copy link
Author

Yes, I am interested in the code.

Original comment by andrew.k...@gmail.com on 27 Mar 2008 at 2:15

@GoogleCodeExporter
Copy link
Author

Make sure you add support to change framerate as well. Even more important than
resolution!

Original comment by ecke...@gmail.com on 31 Mar 2008 at 8:26

@GoogleCodeExporter
Copy link
Author

I'm also very interested in the code, that lets me change resolution and 
framerate.
And of course it would be really cool, if that feature would be integrated in 
the
next release.

Original comment by Simeon.E...@student.hochschule-reutlingen.de on 30 Apr 2008 at 6:32

@GoogleCodeExporter
Copy link
Author

I'm also very interested in the code for my robot tracking software. Is it 
possible 
to submit the code? Or is it integrated in the next release and when will it be 
ready?

Greets
Stefan

Original comment by stefan.h...@googlemail.com on 5 May 2008 at 8:29

@GoogleCodeExporter
Copy link
Author

Hi guys

sry for not paying attention to the forum, this past month has been hectic. I 
have 
posted the code (what little there is) to Andrew. 

Original comment by Yves.Van...@gmail.com on 5 May 2008 at 2:02

@GoogleCodeExporter
Copy link
Author

Hi Yves,

Can you post us the code retrieving all the video device capabilities. 

Thank you.

Original comment by ronaldca...@gmail.com on 6 May 2008 at 3:20

@GoogleCodeExporter
Copy link
Author

Hello,

In the attachment you may find the code shared by Yves.

The code functionality to set resolution is going to be introduced in new 
release. 
The attachment may be used in case the feature is required urgently.

With best regards,
Andrew

Original comment by andrew.k...@gmail.com on 12 May 2008 at 9:32

Attachments:

@GoogleCodeExporter
Copy link
Author

Thank you very much!!! I'll try this out.

Original comment by Simeon.E...@student.hochschule-reutlingen.de on 13 May 2008 at 10:53

@GoogleCodeExporter
Copy link
Author

Original comment by andrew.k...@gmail.com on 13 May 2008 at 6:43

  • Added labels: Milestone-Coming

@GoogleCodeExporter
Copy link
Author

Added functionality to display property page of video capture device, which 
allows 
changing its settings provided by driver (contrast, brightness, frame size, 
etc).

Committed in revision 474. Will be released in version 1.6.3

Original comment by andrew.k...@gmail.com on 14 May 2008 at 5:08

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

VideoCaptureDevice class is extended with DesiredFrameRate and DesiredFrameSize 
properties, which allow to configure frame rate and size.

Here is the sample:
videoSource.DesiredFrameRate = 10;
videoSource.DesiredFrameSize = new Size( 320, 240 );

Committed in revision 475. Will be released in version 1.6.3

Original comment by andrew.k...@gmail.com on 17 May 2008 at 6:25

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Original comment by andrew.k...@gmail.com on 19 May 2008 at 5:59

  • Changed state: Verified
  • Removed labels: Milestone-Coming

@GoogleCodeExporter
Copy link
Author

Original comment by andrew.k...@gmail.com on 19 May 2008 at 6:06

  • Changed state: Released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant