Skip to content

Works with gstreamer but does not work with other applications? #64

@pedrodetroit

Description

@pedrodetroit

Thanks to your hard work and after going through the steps of dkms ipu6-drivers, ipu-camera-bins, ipu6-HAL and icamerasrc, when I input sudo -E gst-launch-1.0 icamerasrc buffer-count=7 ! video/x-raw,format=NV12,width=1280,height=720 ! videoconvert ! ximagesink

it works!
However, other applications, such as cheese or firefox do not pick up the video from the camera.

v4l2-ctl --list-devices
ipu6-downstream (PCI:pci:pci0000:00):
/dev/video1
/dev/video2
/dev/video3
/dev/video4
/dev/video5
/dev/video6
/dev/video7
/dev/video8

ipu6-downstream (pci:pci0000:00):
/dev/media0

Virtual Camera (platform:v4l2loopback-000):
/dev/video0

cheese
0:00:00.235276260 11438 0x7b03d0001c80 FIXME default gstutils.c:4088:gst_element_decorate_stream_id_internal: Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:00.235440906 11438 0x7b03d0001ef0 FIXME default gstutils.c:4088:gst_element_decorate_stream_id_internal: Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:00.238632698 11438 0x7b0394019f60 WARN pipewiresrc gstpipewiresrc.c:692:on_state_changed: error: stream error: can't negotiate buffers on port
0:00:00.262835620 11438 0x7b03d0001ef0 WARN basesrc gstbasesrc.c:3177:gst_base_src_loop: error: Internal data stream error.
0:00:00.262856796 11438 0x7b03d0001ef0 WARN basesrc gstbasesrc.c:3177:gst_base_src_loop: error: streaming stopped, reason not-negotiated (-4)
0:00:00.299437579 11438 0x7b03d0001a10 FIXME default gstutils.c:4088:gst_element_decorate_stream_id_internal: Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:00.299539559 11438 0x7b03d0001c80 FIXME default gstutils.c:4088:gst_element_decorate_stream_id_internal: Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:00.302174202 11438 0x7b0394019f60 WARN pipewiresrc gstpipewiresrc.c:692:on_state_changed: error: stream error: can't negotiate buffers on port
0:00:00.326431055 11438 0x7b03d0001c80 WARN basesrc gstbasesrc.c:3177:gst_base_src_loop: error: Internal data stream error.
0:00:00.326440576 11438 0x7b03d0001c80 WARN basesrc gstbasesrc.c:3177:gst_base_src_loop: error: streaming stopped, reason not-negotiated (-4)

(cheese:11438): cheese-WARNING **: 14:36:54.378: stream error: can't negotiate buffers on port: ../src/gst/gstpipewiresrc.c(692): on_state_changed (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin18/GstPipeWireSrc:pipewiresrc1

NAME="Linux Mint"
VERSION="22.1 (Xia)"

I think I am just missing a little thing and if someone could point it out to me I'd be grateful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions