I have an RPi 5 8GB RAM running fully updated Bookworm and a Camera Module 3. I want to stream via RTSP. The camera works fine, tested with :I follow the official streaming instructions from here:
https://www.raspberrypi.com/documentati ... -streaming
but they simply do not work so far as I can tell. This forum has several other queries about RPi 5 not working with streaming because if uses software rather than hardware encoding.
This is my code and the response:I am confused at how following the official instructions fail with this entirely supported up to date software and hardware. Am I doing something wrong? Has anyone actually managed to follow the official instructions and get this to work? Any suggestions? Thank you in advance.
Code:
rpicam-hello
https://www.raspberrypi.com/documentati ... -streaming
but they simply do not work so far as I can tell. This forum has several other queries about RPi 5 not working with streaming because if uses software rather than hardware encoding.
This is my code and the response:
Code:
sjd@cabin:~ $ rpicam-vid -t 0 --inline --width 1536 --height 864 --framerate 30 -o - | cvlc stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554/stream1}' :demux=h264VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b)[000055562a6fa9e0] dummy interface: using the dummy interface module...[0:00:51.670067650] [2135] INFO Camera camera_manager.cpp:284 libcamera v0.1.0+118-563cd78e[0:00:51.684592026] [2148] INFO RPI pisp.cpp:653 libpisp version v1.0.2 fa44a258644a 22-11-2023 (21:59:22)[0:00:51.709210599] [2148] INFO RPI pisp.cpp:1112 Registered camera /base/axi/pcie@120000/rp1/i2c@88000/imx708@1a to CFE device /dev/media1 and ISP device /dev/media0 using PiSP variant BCM2712_C0Made X/EGL preview window[0:00:52.076146647] [2135] WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format Y16 [0:00:52.076211157] [2135] WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format RGB6[0:00:52.076226576] [2135] WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format BGR6[0:00:52.076242439] [2135] WARN V4L2 v4l2_pixelformat.cpp:338 Unsupported V4L2 pixel format PC1MMode selection for 1536:864:12:P(30) SRGGB10_CSI2P,1536x864/120.135 - Score: 1000 SRGGB10_CSI2P,2304x1296/56.0255 - Score: 1300 SRGGB10_CSI2P,4608x2592/14.3536 - Score: 33492.8Stream configuration adjusted[0:00:52.076552572] [2135] INFO Camera camera.cpp:1183 configuring streams: (0) 1536x864-YUV420 (1) 1536x864-BGGR16_PISP_COMP1[0:00:52.076639320] [2148] INFO RPI pisp.cpp:1396 Sensor: /base/axi/pcie@120000/rp1/i2c@88000/imx708@1a - Selected sensor format: 1536x864-SBGGR10_1X10 - Selected CFE format: 1536x864-PC1B[NULL @ 0x5555ed028850] Unable to find a suitable output format for '-'ERROR: *** libav: cannot allocate output context ***[00007ffef4004280] h26x demux error: this doesn't look like a h264 ES stream, continuing anyway[00007ffef4004e70] main stream error: unknown query 0x30e in demux_vaControlHelper
Statistics: Posted by SimonDuffy — Thu Jan 25, 2024 12:09 pm