Skip to content

Hi, #1837

Description

@Girisuryaa-LS

Hi,

I tested the libcamera packages from the GitHub Actions artifact you provided.

Installation:

  • Installed all .deb packages from the ZIP.
  • Verified the system is using the new packages.
  • cam -I reports libcamera v0.7.1.
  • which cam returns /usr/bin/cam.
  • ldd /usr/bin/cam and ldd /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstlibcamera.so both resolve to /lib/aarch64-linux-gnu/libcamera.so.0.7.
  • Tuning file is loaded from /usr/share/libcamera/ipa/simple/imx219.yaml.

Current results:

  • Camera is detected successfully.

  • gst-launch-1.0 -v libcamerasrc ! fakesink negotiates caps successfully:

    • video/x-raw, format=RGBA, width=3200, height=2400, framerate=30/1
  • Stream configuration messages appear normally.

However, the following issues remain:

Black preview:

gst-launch-1.0 libcamerasrc ! videoconvert ! autovideosink

The preview window opens but remains completely black.

H.264 recording:

gst-launch-1.0 -e libcamerasrc \
    ! videoconvert ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 \
    ! v4l2h264enc ! h264parse ! mp4mux \
    ! filesink location=/tmp/camera-h264.mp4

The pipeline starts without errors, but the resulting MP4 file is empty (0 bytes).

H.265 recording:

gst-launch-1.0 -e libcamerasrc \
    ! videoconvert ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 \
    ! v4l2h265enc ! h265parse ! mp4mux \
    ! filesink location=/tmp/camera-h265.mp4

The pipeline starts without errors, but the resulting MP4 file is empty (0 bytes).

JPEG capture:

gst-launch-1.0 -e libcamerasrc \
    ! videoconvert \
    ! jpegenc \
    ! multifilesink location=frame-%05d.jpg

No JPEG files are generated.

I also tested:

gst-launch-1.0 -v libcamerasrc ! identity silent=false ! fakesink

The pipeline reaches PLAYING state and caps are negotiated successfully, but I only see stream-start/caps/segment events and no indication that image buffers are flowing through the pipeline.

Additionally, the Venus encoder appears present:

v4l2-ctl --list-devices

shows:

Qualcomm Venus video encoder
/dev/video17
/dev/video18

and the encoder itself works with videotestsrc.

Is there any additional kernel package, firmware update, device-tree change, or newer artifact required besides the libcamera packages?

Thanks.

Originally posted by @giri13-spec in #1808 (reply in thread)

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