<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le sam. 17 déc. 2022, 06 h 08, Pavel Machek via libcamera-devel <<a href="mailto:libcamera-devel@lists.libcamera.org">libcamera-devel@lists.libcamera.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi!<br>
<br>
Is there any way to get libcamerasrc (gstreamer glue) to work on<br>
Librem 5?<br>
<br>
As far as I can tell, libcamerasrc does not support bayer formats,<br>
thus I can't really use gstreamer glue on Librem 5.<br>
<br>
Would it be simple to add such support?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Simplicity is relative to the knowledge of the dev doing the work. But it is relatively simple. In GStreamer Bayer formats have their own media type (video/x-bayer). There isn't a libgstbayer library for it, so no custom stride/padding can be used for now (since nothing is ever set in stone) though it's much easier. In general, if you add the missing formats, we request a basic implementation in bayer2rgb and rgb2bayer software elements. This is extremely useful when using and debugging.</div><div dir="auto"><br></div><div dir="auto">Note that "some" patterns are already supported. If it's the case, you just need to map these into libcamerasrc.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Best regards,<br>
Pavel<br>
-- <br>
People of Russia, stop Putin before his war on Ukraine escalates.<br>
</blockquote></div></div></div>