openframeworks / openframeworks/openFrameworks
of0.80 videoInput bug.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
win7+vs2012+of0.80
bool ofDirectShowGrabber::initGrabber(int w, int h){
...
//bool bOk = VI.setupDevice(device, width, height);
bool bOk = VI.setupDevice(device, width, height,VI_S_VIDEO); //VI_S_VIDEO bug .
...
}
Unable to get the video stream.
strangely enough, if videoGrabber.isFramenew() breakpoints, run the program, you can see the captured image.
I am using this capture card ,Compatible with DirectShow,
And you can use amcap acquire images.
http://avertv.avermedia.com/Product/ProductDetail.aspx?Id=523
@ofTheo
You can upload the latest code videoInput it?
This address is not of0.80 version version
videoInput => # define VI_VERSION 0.1995
https://github.com/ofTheo/videoInput/tree/master/videoInputSrcAndDemos/libs/videoInput
of0.80 => # define VI_VERSION 0.200
https://github.com/openframeworks/openFrameworks/blob/master/libs/videoInput
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
Start in libs/videoInput, especially ofDirectShowGrabber::initGrabber and the VI.setupDevice call shown in the report. Compare the openFrameworks of0.80 videoInput version with the referenced videoInput repository and reproduce the failure on Windows 7 with Visual Studio 2012 and the listed capture card. Done means the video stream initializes and frames are captured without relying on a breakpoint.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-vision
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100