openframeworks / openframeworks/openFrameworks
WIndows 8 videoGrabber pixelates and crops image
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
I'm seeing some very strange issues with Windows 8 and the ofDirectShowGrabber. The videoGrabber isn't working correctly. I've uploaded 4 images here that illustrate the issues I'm seeing and the differences between oF Win, oF OS X, and p5 Win. I captured these images using the videoGrabber example. I made simple changes to set the grabber's size to 1920x1080 and added something to save the frame. I'm using the Microsoft LifeCam Studio as my camera but can reproduce the issue with other high res webcams. It looks like the requested size is failing and it is falling back to some default value then scaling the image up to the requested size. When I run the same oF project on OS X and a similar p5 sketch on Windows using the same webcam it works perfectly.
So I dug deeper and tested the videoInput library and saw some of the same issues but just the requested size failing and not the scaling up to the requested size when draw. I also tested Cinder and it is a problem there too. Looks like they are also using something based off of @ofTheo's old videoInput library as well. Any ideas?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the videoGrabber example on Windows 8 using the Microsoft LifeCam Studio at 1920x1080, then inspect ofDirectShowGrabber and the related videoInput behavior. Done means the requested capture size is accepted and frames are neither pixelated nor cropped when drawn or saved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-vision, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100