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

Empty frames while recording frames with live capture #14

Open
GuLinux opened this issue Aug 14, 2015 · 1 comment
Open

Empty frames while recording frames with live capture #14

GuLinux opened this issue Aug 14, 2015 · 1 comment

Comments

@GuLinux
Copy link

GuLinux commented Aug 14, 2015

Hello,
this issue is a bit difficult to reproduce, I'm able to reproduce it only on a netbook with an Atom CPU and 2 GB of ram, so I guess it's related to poor hardware condtions.

When I start a capture, for the first frames everything is ok, but after a while (full memory buffers maybe? here it's after about 1000 saved frames) the driver starts acting strange.
GetQHYCCDLiveFrame always exits with QHYCCD_SUCCESS, but it doesn't wait for the frame being correctly downloaded, and the buffer is filled with zeroes.

So basically what I get is a higher framerate (much higher than it should be, like 100/200 fps), and a lot of empty frames.

As a workaround, I added a check on my application code, checking for frames filled with zeroes (see here: GuLinux/PlanetaryImager@0c8862e ) . If I skip those frames, the application starts to work properly.

@GuLinux
Copy link
Author

GuLinux commented Aug 15, 2015

a related sidenote: if I pull out the cable while the camera is capturing, GetQHYCCDLiveFrame still returns 0 (QHYCCD_SUCCESS).

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

No branches or pull requests

1 participant