<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; ">Hello
everyone,</span></p>
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; "><br>
</span></p>
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; ">I
was able to fix all the problems mentioned below by using the
version tag </span><strong
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><a
target="_blank"
href="https://github.com/raspberrypi/libcamera/releases/tag/v0.3.2%2Brpt20240927"
class="editor-rtfLink"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; color: #4a6ee0;"><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; color: #4a6ee0;">v0.3.2+rpt20240927</span></a></strong><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; ">.</span></p>
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; "><br>
</span></p>
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; ">In
this version, I have no Segmentation fault when trying to use
the tuning-file option, and I can use GStreamer capture with
libcamerasrc and opencv. The images had the striping effect
because I was using a frame size that, although compatible with
the camera sensor, was not compatible with the GStreamer
pipeline for some reason. I did put all of that information on
the GitHub issue and added my solution there so others can
benefit: <br>
</span></p>
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; "><br>
</span></p>
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; "><a class="moz-txt-link-freetext" href="https://github.com/raspberrypi/libcamera/issues/163">https://github.com/raspberrypi/libcamera/issues/163</a></span></p>
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; "><br>
</span></p>
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; ">I
still have one question, which has to do with this way of
accessing a "virtual environment" to allow </span><strong
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; ">libcamerasrc
</span></strong><span data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; ">to
work. If I do the following: </span></p>
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><strong
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><em
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; ">$
</span><span data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; ">gst</span><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; ">-inspect-1.0
libcamerasrc</span></em></strong></p>
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><strong
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><em
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; ">No
such element or plugin 'libcamerasrc'</span></em></strong></p>
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><strong
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><em
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; "><br>
</span></em></strong></p>
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; ">The
only way to activate this is to go to the /libcamera
installation folder and do: </span><strong
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><em
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; ">meson
</span><span data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; ">devenv</span><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; ">
-C build</span></em></strong></p>
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; "><br>
</span></p>
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; ">After
that I am in a virtual environment </span><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; ">and</span><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; ">
the GStreamer recognizes the libcamerasrc:</span></p>
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><font
color="#5c5c5c"><i><span data-preserver-spaces="true"
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;">gst</span><span
data-preserver-spaces="true"
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;">-inspect-1.0
libcamerasrc</span></i></font></p>
<p
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;"><font
color="#5c5c5c"><i><span data-preserver-spaces="true"
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;">Factory
Details:</span></i></font></p>
<p
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;"><font
color="#5c5c5c"><i><span data-preserver-spaces="true"
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;">
Rank primary (256)</span></i></font></p>
<p
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;"><font
color="#5c5c5c"><i><span data-preserver-spaces="true"
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;">
Long-name libcamera Source</span></i></font></p>
<p
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;"><font
color="#5c5c5c"><i><span data-preserver-spaces="true"
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;">
Klass Source/Video</span></i></font></p>
<p
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;"><font
color="#5c5c5c"><i><span data-preserver-spaces="true"
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;">
Description Linux Camera source using libcamera</span></i></font></p>
<p
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;"><font
color="#5c5c5c"><i><span data-preserver-spaces="true"
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;">
Author Nicolas Dufresne
<a class="moz-txt-link-rfc2396E" href="mailto:nicolas.dufresne@collabora.com"><nicolas.dufresne@collabora.com></a></span></i></font></p>
<p
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;"><font
color="#5c5c5c"><i><span data-preserver-spaces="true"
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;"> </span></i></font></p>
<p
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;"><font
color="#5c5c5c"><i><span data-preserver-spaces="true"
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;">Plugin
Details:</span></i></font></p>
<p
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;"><font
color="#5c5c5c"><i><span data-preserver-spaces="true"
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;">
Name libcamera</span></i></font></p>
<p
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;"><font
color="#5c5c5c"><i><span data-preserver-spaces="true"
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;">
Description libcamera capture plugin</span></i></font></p>
<p
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;"><font
color="#5c5c5c"><i><span data-preserver-spaces="true"
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;">
Filename /home/tactonom/libcamera/build/src/</span><span
data-preserver-spaces="true"
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;">gstreamer</span><span
data-preserver-spaces="true"
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;">/</span><span
data-preserver-spaces="true"
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;">libgstlibcamera</span><span
data-preserver-spaces="true"
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;">.so</span></i></font></p>
<p
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;"><font
color="#5c5c5c"><i><span data-preserver-spaces="true"
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;">
Version 0.3.2+98-75fe515a</span></i></font></p>
<p
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;"><font
color="#5c5c5c"><i><span data-preserver-spaces="true"
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;">
License LGPL</span></i></font></p>
<p
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;"><font
color="#5c5c5c"><i><span data-preserver-spaces="true"
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;">
Source module libcamera</span></i></font></p>
<p
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;"><font
color="#5c5c5c"><i><span data-preserver-spaces="true"
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;">
Binary package libcamera</span></i></font></p>
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><font
color="#5c5c5c"><i><span data-preserver-spaces="true"
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;">etc</span><span
data-preserver-spaces="true"
style="background: transparent; margin-top: 0pt; margin-bottom: 0pt;">...</span></i></font></p>
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; "><br>
</span></p>
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"></p>
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; ">How
can I activate this by default when I install the libcamera? I
do not want to do this all the time. I work with JAVA, and I do
not want to use this environment before initializing the
GStreamer. <br>
</span></p>
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; "><br>
</span></p>
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"></p>
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; ">Best
Regards,</span></p>
<p
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"><span
data-preserver-spaces="true"
style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;; ">Gaspar</span></p>
</body>
</html>