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

Refuses to capture at 40 fps in mode 4, works in raspivid #81

Open
xloem opened this issue Aug 18, 2018 · 3 comments
Open

Refuses to capture at 40 fps in mode 4, works in raspivid #81

xloem opened this issue Aug 18, 2018 · 3 comments

Comments

@xloem
Copy link

xloem commented Aug 18, 2018

I had a v2 camera (unfortunately broken as of today), and was trying to capture at 1640x1232 at 40fps (mode 4).

Unfortunately, rpicamsrc crashes with these settings with an mmal error EINVAL I believe. However, the settings work fine with raspivid.

@thaytan
Copy link
Owner

thaytan commented Aug 20, 2018

What are your command lines?

@xloem
Copy link
Author

xloem commented Aug 30, 2018

hey, I haven't figured out my busted camera to check yet, but from memory I was manually setting the width, height, and framerate, but not setting the camera mode. Checking the source it seemed like gst-rpicamsrc may not recognize v2 mode configurations.

My next attempt, when I make enough time to resolve the broken camera issue, will be to try manually setting the mode number.

@thaytan
Copy link
Owner

thaytan commented Sep 2, 2018

I don't think there's anywhere that the rpicamsrc code needs to know individual camera sensor modes - it's just an integer that gets passed through to MMAL, or left as 0 for the driver to auto-select

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