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

Interval option has random results. #12

Open
chrisburrus opened this issue Jul 20, 2016 · 2 comments
Open

Interval option has random results. #12

chrisburrus opened this issue Jul 20, 2016 · 2 comments

Comments

@chrisburrus
Copy link

When trying to use the interval option, I'm getting some odd results. Interval of 1 or 2 works fine. However, with interval 3:

v4l2grab -q 100 -W 2592 -H 1944 --interval 3 -c -o test

It only takes 2 images every second, not three. If I then change interval to 4 or higher, it just takes the maximum images per second it can (between 5 and 6 for max resolution, higher if I set the resolution lower).

Any ideas what's going on? I need to set the interval to 4 if possible (I know it won't be exact, but I need approximately 4 images per second).

@chrisburrus chrisburrus changed the title Interval option is a bit too random Interval option has random results. Jul 20, 2016
@chrisburrus
Copy link
Author

FYI, this happens if you try to set the interval to higher than the max YUYV FPS of the camera, I eventually figured out.

@twam
Copy link
Owner

twam commented Jul 26, 2016

The program was originally not designed for high fps capture, only for stills. It internally works also with YUV so that is probably why the max. YUYV FPS of the camera matter. Feel free to improve it and open a pull request.

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

2 participants