Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5334

Camera board • OV5647 can't be found by gst library on bullseye 64bit

$
0
0
Hi

Currently, I have met "OV5647 can't be found by gst library on bullseye 64bit".

The last line of code gives: "(gstcaps.py:958): GStreamer-CRITICAL **: 08:20:31.717: gst_element_message_full_with_details: assertion 'GST_IS_ELEMENT (element)' failed"
import sys
import json
import gi
import math
import platform
import os
gi.require_version('Gst', '1.0')
from gi.repository import Gst

Gst.init(sys.argv)

device_provider = Gst.DeviceProviderFactory.get_by_name("v4l2deviceprovider")
devices = device_provider.get_devices()
But it's OK to be operated by libcamera.

Code:

 $ libcamera-hello --list-cameraAvailable cameras-----------------0 : ov5647 [2592x1944] (/base/soc/i2c0mux/i2c@1/ov5647@36)    Modes: 'SGBRG10_CSI2P' : 640x480 [58.92 fps - (16, 0)/2560x1920 crop]                             1296x972 [43.25 fps - (0, 0)/2592x1944 crop]                             1920x1080 [30.62 fps - (348, 434)/1928x1080 crop]                             2592x1944 [15.63 fps - (0, 0)/2592x1944 crop]

I also noticed a message in dmesg: "Consider updating driver ov5647 to match on endpoints", it might suggest to upgrade linux driver or what?


How to solve the issue?

Statistics: Posted by daniel2008_12 — Thu Jun 13, 2024 7:22 am



Viewing all articles
Browse latest Browse all 5334

Trending Articles