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

Add rpicamsrc, omx encoders, and optionally, libcamera #19

Merged
merged 6 commits into from Jul 19, 2022
Merged

Add rpicamsrc, omx encoders, and optionally, libcamera #19

merged 6 commits into from Jul 19, 2022

Conversation

joaoantoniocardoso
Copy link
Collaborator

@joaoantoniocardoso joaoantoniocardoso commented Jul 7, 2022

Description

Having libcamera rpicamsrc installed is the last piece of the puzzle to have the Raspberry Pi camera working on mavlink-camera-manager! =D

note: I have tried to build libcamera as a subproject of GStreamer but even after they fixed a bug in their meson configuration, it failed to compile as a subproject. I'll try to talk to them again, but for now, it is simpler to just build it as an independent project, after having GStreamer installed on the system. Solved.

Note: meson needs to be 0.63 because of this commit: otherwise we would need to build the entire gstreamer using c++17, instead of just libcamera.


Testing

BlueOs-core Test image: docker pull joaoantoniocardoso/blueos-core:add_libcamera

Probably one must manually upload mavlink-camera-manager with StepWise support to make it work, or create the test pipelines by hand.

@joaoantoniocardoso
Copy link
Collaborator Author

joaoantoniocardoso commented Jul 7, 2022

Okay, people from libcamera helped me and now I got it building as a GStreamer subproject :)

I'm testing it again and soon it will be ready for review again

@joaoantoniocardoso joaoantoniocardoso marked this pull request as draft July 7, 2022 14:57
@joaoantoniocardoso joaoantoniocardoso marked this pull request as ready for review July 7, 2022 20:32
@joaoantoniocardoso joaoantoniocardoso marked this pull request as draft July 7, 2022 23:52
@joaoantoniocardoso
Copy link
Collaborator Author

libcamera seems very unstable, sometimes it freezes the kernel when creating or deleting a stream. Dmesg log here, captured when creating a stream.

@joaoantoniocardoso joaoantoniocardoso changed the title Add libcamera Add rpicamsrc, omx encoders, and optionally, libcamera Jul 18, 2022
@joaoantoniocardoso joaoantoniocardoso marked this pull request as ready for review July 18, 2022 19:13
@patrickelectric patrickelectric merged commit db95b5a into bluerobotics:master Jul 19, 2022
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 this pull request may close these issues.

None yet

2 participants