<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Dear libcamera community,</p>
<p>Thank you for developing such a helpful library.</p>
<p>I am trying to get frames using <b>opencv</b>. I am actually
able to get frames via cv2.VideoCapture through <b>GStreamer</b>.</p>
<p>However, when I try to release the capture (for ending the
program or maybe adjusting raw image size): cap.release()<br>
I get the following error:</p>
<p><i><font size="1">[1:39:52.854669803] [1885] ERROR
DeviceEnumerator device_enumerator.cpp:172 Removing media
device /dev/media4 while still in use<br>
[1:39:52.854709759] [1885] ERROR DeviceEnumerator
device_enumerator.cpp:172 Removing media device /dev/media3
while still in use</font><br>
</i></p>
<p>I've already published an issue on the raspberry Pi libcamera
GitHub repo where you can get more detail on my problem:
<a class="moz-txt-link-freetext" href="https://github.com/raspberrypi/libcamera/issues/163">https://github.com/raspberrypi/libcamera/issues/163</a></p>
<p>I found the following commit which <i>apparently </i>did to
solve the problem I am having now:
<a class="moz-txt-link-freetext" href="https://github.com/raspberrypi/libcamera/commit/fa63d428aef62bacf0a6ad1622a7965b3ff2ba2f">https://github.com/raspberrypi/libcamera/commit/fa63d428aef62bacf0a6ad1622a7965b3ff2ba2f</a> </p>
<p>This commit was done by the user <a class="moz-txt-link-freetext" href="https://github.com/pinchartl">https://github.com/pinchartl</a>.
But I have no way of contacting him to help me fix the problem.</p>
<p>Any suggestions? Thanks in advance!<br>
</p>
<p><br>
</p>
<p>Best Regards,</p>
<p>Gaspar Ramôa<br>
</p>
</body>
</html>