Skip to content

Libcamera has video format harcoded, impossible to change format in libcamera.conf file #4

Description

@Tcoton

systemd/camera-streamer-libcamera.service line 15 should be
--camera-format=${FORMAT} \
instead of
--camera-format=YUYV \

as whatever the settings in the libcamera.conf, the video format is alway set to YUYV when used with a pi cam V1

pi@raspoctotprint:/etc/systemd $ ps -fax | grep camera
2554 pts/0 S+ 0:00 _ grep --color=auto camera
2417 ? SNLsl 0:01 /usr/bin/camera-streamer --http-port=8080 --camera-type=libcamera --camera-path=/base/soc/i2c0mux/i2c@1/ov5647@36 --camera-format=YUYV --camera-width=1920 --camera-height=1080 --camera-video.height=720 --camera-snapshot.height=1080 --camera-fps=24 --camera-nbufs=2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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