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

The camera-streamer compiled based on libcamera0.2 cannot run normally #139

Closed
tom-ard opened this issue Mar 1, 2024 · 2 comments · Fixed by #140
Closed

The camera-streamer compiled based on libcamera0.2 cannot run normally #139

tom-ard opened this issue Mar 1, 2024 · 2 comments · Fixed by #140

Comments

@tom-ard
Copy link

tom-ard commented Mar 1, 2024

When I updated libcamera to version 0.2, the following error occurred when compiling and running camera-streamer again.
image
image

By printing some key information, I found that this was caused by the RAW stream's configuration.stride equal to 4128.
image

You only need to force configuration.stride to be 0 to solve this problem.
image
image

@CmdrAdama
Copy link

I can confirm that making this change manually and rebuilding it resolved the issue for me as well.

@DropbearNinja
Copy link

Where do you set configuration.stride = 0?

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

Successfully merging a pull request may close this issue.

3 participants