Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8082

Camera board • h264 ES stream error with network streaming

$
0
0
ive done a quite a lot of googling to sort this - without success. I want to setup a motion detector ( a la Ring) with a pi and camera .
So far :
the short version:
rpicam-still produces an image on the pi desktop
rpicam-vid -t 4000 -o test.mp4 produces a stream on the pi desktop
rpicam-vid -t --width 1280 --height 720 --inline -o test.264 produces stream on PI desktop

but trying to produce something accessible on the network fails
with
h26x demux error: this doesn't look like a h264 ES stream, continuing anyway
[b0204ae8] main stream error: unknown query 0x30e in demux_vaControlHelper
Extensive google hasnt pointed me to anything to help fix it.
Am i just blind/inept/stupid ?



The longer version :
[@camerapi:/ rpicam-vid --list-camerasas
Available cameras
-----------------
0 : imx708 [4608x2592 10-bit RGGB] (/base/soc/i2c0mux/i2c@1/imx708@1a)
Modes: 'SRGGB10_CSI2P' : 1536x864 [120.13 fps - (768, 432)/3072x1728 crop]
2304x1296 [56.03 fps - (0, 0)/4608x2592 crop]
4608x2592 [14.35 fps - (0, 0)/4608x2592 crop]

paul@camerapi:/ $ /quote]
rpicam-still -o test.jpg works
aul@camerapi:~ $ rpicam-still -o test.jpg
[2:25:54.901099566] [2749] INFO Camera camera_manager.cpp:330 libcamera v0.5.2+99-bfd68f78
[2:25:55.833326450] [2752] INFO IPAProxy ipa_proxy.cpp:180 Using tuning file /usr/share/libcamera/ipa/rpi/vc4/imx708.json
[2:25:56.068588149] [2752] INFO Camera camera_manager.cpp:220 Adding camera '/base/soc/i2c0mux/i2c@1/imx708@1a' for pipeline handler rpi/vc4
[2:25:56.100401838] [2752] INFO RPI vc4.cpp:440 Registered camera /base/soc/i2c0mux/i2c@1/imx708@1a to Unicam device /dev/media2 and ISP device /dev/media0
[2:25:56.100724834] [2752] INFO RPI pipeline_base.cpp:1107 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
Made X/EGL preview window
Mode selection for 2048:1152:12:P
SRGGB10_CSI2P,1536x864/0 - Score: 2600
SRGGB10_CSI2P,2304x1296/0 - Score: 1100
SRGGB10_CSI2P,4608x2592/0 - Score: 2000
[2:26:00.835430434] [2749] INFO Camera camera.cpp:1215 configuring streams: (0) 2048x1152-YUV420/sYCC (1) 2304x1296-SBGGR10_CSI2P/RAW
[2:26:00.880286993] [2752] INFO RPI vc4.cpp:615 Sensor: /base/soc/i2c0mux/i2c@1/imx708@1a - Selected sensor format: 2304x1296-SBGGR10_1X10/RAW - Selected unicam format: 2304x1296-pBAA/RAW
Mode selection for 4608:2592:12:P
SRGGB10_CSI2P,1536x864/0 - Score: 10600
SRGGB10_CSI2P,2304x1296/0 - Score: 8200
SRGGB10_CSI2P,4608x2592/0 - Score: 1000
[2:26:06.642170316] [2749] INFO Camera camera.cpp:1215 configuring streams: (0) 4608x2592-YUV420/sYCC (1) 4608x2592-SBGGR10_CSI2P/RAW
[2:26:06.900401770] [2752] INFO RPI vc4.cpp:615 Sensor: /base/soc/i2c0mux/i2c@1/imx708@1a - Selected sensor format: 4608x2592-SBGGR10_1X10/RAW - Selected unicam format: 4608x2592-pBAA/RAW
Still capture image received
as does
rpicam-vid -t 4000 -o test.mp4
[2:27:56.230296903] [2766] INFO Camera camera_manager.cpp:330 libcamera v0.5.2+99-bfd68f78
[2:27:56.721681728] [2769] INFO IPAProxy ipa_proxy.cpp:180 Using tuning file /usr/share/libcamera/ipa/rpi/vc4/imx708.json
[2:27:56.839915482] [2769] INFO Camera camera_manager.cpp:220 Adding camera '/base/soc/i2c0mux/i2c@1/imx708@1a' for pipeline handler rpi/vc4
[2:27:56.850314373] [2769] INFO RPI vc4.cpp:440 Registered camera /base/soc/i2c0mux/i2c@1/imx708@1a to Unicam device /dev/media2 and ISP device /dev/media0
[2:27:56.850595370] [2769] INFO RPI pipeline_base.cpp:1107 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
Made X/EGL preview window
Mode selection for 640:480:12:P
SRGGB10_CSI2P,1536x864/0 - Score: 1486.67
SRGGB10_CSI2P,2304x1296/0 - Score: 1786.67
SRGGB10_CSI2P,4608x2592/0 - Score: 2686.67
[2:28:01.302706416] [2766] INFO Camera camera.cpp:1215 configuring streams: (0) 640x480-YUV420/SMPTE170M (1) 1536x864-SBGGR10_CSI2P/RAW
[2:28:01.330525122] [2769] INFO RPI vc4.cpp:615 Sensor: /base/soc/i2c0mux/i2c@1/imx708@1a - Selected sensor format: 1536x864-SBGGR10_1X10/RAW - Selected unicam format: 1536x864-pBAA/RAW
Halting: reached timeout of 4000 milliseconds.

and i can produce a stream on the pi desktop with
rpicam-vid -t --width 1280 --height 720 --inline -o test.264
but making it accessible in the network fails :
[rpicam-vid -t 2 --inline -o - | cvlc stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8000/}' :demux=h264
VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
[4:20:53.309032885] [3207] INFO Camera camera_manager.cpp:330 libcamera v0.5.2+99-bfd68f78
[4:20:54.385705185] [3211] INFO IPAProxy ipa_proxy.cpp:180 Using tuning file /usr/share/libcamera/ipa/rpi/vc4/imx708.json
[4:20:54.652974784] [3211] INFO Camera camera_manager.cpp:220 Adding camera '/base/soc/i2c0mux/i2c@1/imx708@1a' for pipeline handler rpi/vc4
[4:20:54.678449460] [3211] INFO RPI vc4.cpp:440 Registered camera /base/soc/i2c0mux/i2c@1/imx708@1a to Unicam device /dev/media2 and ISP device /dev/media0
[4:20:54.678865455] [3211] INFO RPI pipeline_base.cpp:1107 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
[00a02090] dummy interface: using the dummy interface module...
Made X/EGL preview window
Mode selection for 640:480:12:P
SRGGB10_CSI2P,1536x864/0 - Score: 1486.67
SRGGB10_CSI2P,2304x1296/0 - Score: 1786.67
SRGGB10_CSI2P,4608x2592/0 - Score: 2686.67
[4:21:02.712634180] [3207] INFO Camera camera.cpp:1215 configuring streams: (0) 640x480-YUV420/SMPTE170M (1) 1536x864-SBGGR10_CSI2P/RAW
[4:21:02.750336700] [3211] INFO RPI vc4.cpp:615 Sensor: /base/soc/i2c0mux/i2c@1/imx708@1a - Selected sensor format: 1536x864-SBGGR10_1X10/RAW - Selected unicam format: 1536x864-pBAA/RAW
Halting: reached timeout of 2 milliseconds.
[b020baa0] h26x demux error: this doesn't look like a h264 ES stream, continuing anyway
[b0204ae8] main stream error: unknown query 0x30e in demux_vaControlHelper
/quote]

Statistics: Posted by pcooper — Mon Nov 10, 2025 4:44 pm



Viewing all articles
Browse latest Browse all 8082

Trending Articles