ayufan/camera-streamer

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

Closed this issue · 2 comments

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

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

Where do you set configuration.stride = 0?