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

Camera board • Pi Camera Module 3 streaming issue

$
0
0
Hi,

I received yesterday my Camera Module 3 and I wanted to give it a try to use for video streaming. I followed the steps from here

first I tried it to my Pi 4 and executed :

Code:

$ rpicam-vid -t 0 --inline -o udp://192.168.0.28:707..#1350 (30.02 fps) exp 14992.00 ag 1.12 dg 1.00#1351 (30.01 fps) exp 14992.00 ag 1.12 dg 1.00#1352 (30.01 fps) exp 14992.00 ag 1.12 dg 1.00#1353 (30.01 fps) exp 14992.00 ag 1.12 dg 1.00#1354 (30.01 fps) exp 14992.00 ag 1.12 dg 1.00#1355 (30.01 fps) exp 14992.00 ag 1.12 dg 1.00#1356 (30.02 fps) exp 14992.00 ag 1.12 dg 1.00#1357 (30.01 fps) exp 14992.00 ag 1.12 dg 1.00#1358 (30.01 fps) exp 14992.00 ag 1.12 dg 1.00#1359 (30.02 fps) exp 14992.00 ag 1.12 dg 1.00#1360 (30.01 fps) exp 14992.00 ag 1.12 dg 1.00
I used VLC to receive the video on my MacOS:
Image

My MacOS CLI:

Code:

$ vlc udp://@:707 :demux=h264VLC media player 3.0.21 Vetinari (revision 3.0.21-1-gd45e6164ef)[00007ff41d005250] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.[00007ff41d516fe0] h26x demux error: this doesn't look like a h264 ES stream, continuing anyway[00007ff41d5059c0] main stream error: unknown query 0x30e in demux_vaControlHelper2024-09-29 10:10:08.499 VLC[9416:648572] Can't find app with identifier com.apple.iTunes2024-09-29 10:10:08.537 VLC[9416:648572] Can't find app with identifier com.spotify.client[00007ff41d0d55d0] videotoolbox decoder: Using Video Toolbox to decode 'h264'[00007ff41d0d55d0] videotoolbox decoder: vt cvpx chroma: 420v2024-09-29 10:10:09.570 VLC[9416:648572] Can't find app with identifier com.apple.iTunes2024-09-29 10:10:09.599 VLC[9416:648572] Can't find app with identifier com.spotify.client




I am not sure why there is a large delay in the camera and why it looks green. is it a defect camera?

I am using Bookworm lite OS and SSH the board.

I also tried to use RTSP:

Code:

$ rpicam-vid -t 0 --inline -o - | cvlc stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554/stream1}' :demux=h264-bash: cvlc: command not found[0:43:38.556905213] [1078]  INFO Camera camera_manager.cpp:313 libcamera v0.3.0+65-6ddd79b5[0:43:38.698629145] [1082]  WARN RPiSdn sdn.cpp:40 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise[0:43:38.702752405] [1082]  INFO RPI vc4.cpp:446 Registered camera /base/soc/i2c0mux/i2c@1/imx708@1a to Unicam device /dev/media4 and ISP device /dev/media1[0:43:38.702847363] [1082]  INFO RPI pipeline_base.cpp:1104 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'Preview window unavailableMode 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[0:43:38.705583223] [1078]  INFO Camera camera.cpp:1183 configuring streams: (0) 640x480-YUV420 (1) 1536x864-SBGGR10_CSI2P[0:43:38.706158800] [1082]  INFO RPI vc4.cpp:621 Sensor: /base/soc/i2c0mux/i2c@1/imx708@1a - Selected sensor format: 1536x864-SBGGR10_1X10 - Selected unicam format: 1536x864-pBAA#0 (0.00 fps) exp 22635.00 ag 1.12 dg 1.00Received signal 13Received signal 13#1 (30.02 fps) exp 21807.00 ag 1.12 dg 1.00#2 (30.01 fps) exp 21530.00 ag 1.12 dg 1.00#3 (30.01 fps) exp 21291.00 ag 1.12 dg 1.00#4 (30.01 fps) exp 21107.00 ag 1.12 dg 1.00#5 (30.01 fps) exp 21107.00 ag 1.12 dg 1.00Received signal 13terminate called after throwing an instance of 'std::runtime_error'  what():  failed to write output bytes
I don't know why it throw an error.

please help.

Statistics: Posted by akhodeir — Sun Sep 29, 2024 7:42 am — Replies 1 — Views 26



Viewing all articles
Browse latest Browse all 5324

Trending Articles