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

Multi pipeline example #42

Open
fishrockz opened this issue Nov 17, 2024 · 0 comments
Open

Multi pipeline example #42

fishrockz opened this issue Nov 17, 2024 · 0 comments

Comments

@fishrockz
Copy link

I have ended up setting up muplitple processing pipelines for pi cameras a few time, IIRC the python libs mention it and thats were i started

This is nice for saving a video and getting pictures for a view finder or tracking at the same time.

I have been looking into something similar with libcamera-rs

I think i just need to add a second value to the array passed to generate_configuration
https://gitlab.com/pointswaves/pi-camera/-/blob/main/camera-app/src/main.rs?ref_type=heads#L75

But i have not got this to work so far. My issues have been finding combinations of configs that with validate https://gitlab.com/pointswaves/pi-camera/-/blob/main/camera-app/src/main.rs?ref_type=heads#L95

Does anyone have any examples of getting this to work?

I would like to get the preview feed to export in as close to the native res of my view finder as possible, while also having a second pipeline at as high a quality as possible.

I have found interacting with pi cameras in rust much nicer than any of my previous projects in other languages, so i would like to say a big thanks to everyone involved in this lib!

But I have not found many examples of people using this lib to learn from so any examples people have with multiple pipelines would be greatly appreciated.

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