Skip to content

Failure in documentation: CAMERA : GSTREAMER : RPT #4040

Closed
@Kletternaut

Description

@Kletternaut

This is basically a copy'n paste from the documentation
https://www.raspberrypi.com/documentation/computers/camera_software.html#rtp

$ rpicam-vid -t 0 -n --inline -o - | gst-launch-1.0 fdsrc fd=0 ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5555

---------------------------------^

and it results in this error message:
[NULL @ 0x5555a1fc9e00] Unable to find a suitable output format for '-'

also from https://www.raspberrypi.com/documentation/computers/camera_software.html#libcamerasrc-gstreamer-element

gst-launch-1.0 libcamerasrc ! capsfilter caps=video/x-raw,width=1280,height=720,format=NV12 ! v4l2convert ! v4l2h264enc extra-controls="controls,repeat_sequence_header=1" ! 'video/x-h264,level=(string)4.1' ! h264parse ! rtph264pay ! udpsink host=<ip-addr> port=<port>

and it results in this error message:
WARNUNG: Fehlerhafte Leitung: Kein Element »v4l2convert«
'sorry' its German.

system informations:

--------------------------------------------------------------------------------
Hardware information
--------------------------------------------------------------------------------
Revision	: d04170
Model		: Raspberry Pi 5 Model B Rev 1.0
--------------------------------------------------------------------------------
Cameras
--------------------------------------------------------------------------------
0 : imx477 [4056x3040 12-bit RGGB] (/base/axi/pcie@120000/rp1/i2c@88000/imx477@1a)
    Modes: 'SRGGB10_CSI2P' : 1332x990 [120.05 fps - (696, 528)/2664x1980 crop]
           'SRGGB12_CSI2P' : 2028x1080 [50.03 fps - (0, 440)/4056x2160 crop]
                             2028x1520 [40.01 fps - (0, 0)/4056x3040 crop]
                             4056x3040 [10.00 fps - (0, 0)/4056x3040 crop]

1 : imx477 [4056x3040 12-bit RGGB] (/base/axi/pcie@120000/rp1/i2c@80000/imx477@1a)
    Modes: 'SRGGB10_CSI2P' : 1332x990 [120.05 fps - (696, 528)/2664x1980 crop]
           'SRGGB12_CSI2P' : 2028x1080 [50.03 fps - (0, 440)/4056x2160 crop]
                             2028x1520 [40.01 fps - (0, 0)/4056x3040 crop]
                             4056x3040 [10.00 fps - (0, 0)/4056x3040 crop]

--------------------------------------------------------------------------------
Versions
--------------------------------------------------------------------------------
** uname -a **
Linux raspi5 6.12.15-v8-16k+ #1858 SMP PREEMPT Wed Feb 19 14:51:38 GMT 2025 aarch64 GNU/Linux

PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"

** vcgencmd version **
2025/02/12 10:51:52 
Copyright (c) 2012 Broadcom
version f788aab6 (release) (embedded)

** rpicam-hello --version **
rpicam-apps build: v1.6.0 025ca84648c9 03-02-2025 (16:21:04)
rpicam-apps capabilites: egl:1 qt:1 drm:1 libav:1
libcamera build: v0.4.0+53-29156679

gst-inspect-1.0 version 1.22.0
GStreamer 1.22.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions