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

camera settings on windows #228

Closed
umlaeute opened this issue Mar 28, 2019 · 1 comment
Closed

camera settings on windows #228

umlaeute opened this issue Mar 28, 2019 · 1 comment
Assignees
Labels

Comments

@umlaeute
Copy link
Owner

@oliverstotz reported on the mailinglist:

i am trying to make a patch involving a live camera on PD 0.49.0 (64bit) with Gem 0.94_pre1 (64bit) on a windows 7/64bit machine.

so far everything works alright, but i can't set the camera resolution !

unfortunately the default resolution is 160x120, which is pretty useless. so far i found no way to change that resolution, the "dimen" message does nothing and setting width/height via the props method also doesn't work.

now here's another strange thing: with PD 0.48 and Gem 0.93 (both 32bit), when i opened the camera dialog (with the "dialog" message to [pix_video]), 2 windows opened: 1 for the camera driver settings (brightness, contrast, exposure etc.) and 1 for the resolution.

so with the fomer (32bit) version of Gem i COULD set the camera resolution to the desired dimension.

however, sending "dialog" to [pix_video] in the 64bit version described above, i only get 1 window, the one with the driver properties (which btw i can also set via the "props" method)

can anybody help me in this regard ? is there a workaround to manually set the camera's resolution ?

unfortunately i need the 64bit version of Gem because of the amount of RAM i need (i record video frames over some peroid of time, and the 32bit version is limited for my needs). plus the 32bit version doesn't work (i already reported that to the list)

@umlaeute umlaeute self-assigned this Mar 28, 2019
@umlaeute
Copy link
Owner Author

Gem-0.94 uses a completely new framework for accessing video cameras on windows. (that's why everything is different).

i think the idea for now was to set the camera resolution outside of Pd (before starting Pd, open the camera with your favourite (except Pd) camera program, and set the resolution; then start Pd and hope that the resolution persists).

i have to admit that i have no clue whether this actually works :-(

otoh, the framework is supposed to provide means to setup the resolution when opening the camera.
so it should be fixed.

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

No branches or pull requests

1 participant