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

Camera board • MJPEG codec streaming RPI 5

$
0
0
hello,
I think I'm missing something obvious. I try to live stream the video as mjpeg via a webserver to clients, but I can't get any image using the command `rpicam-vid -t 0 --codec mjpeg -n -o -` (and piping this to the response)

When I try to create a 5s video with `rpicam-vid -t 5000 --codec mjpeg -v -o test.mjpg`, it generates a ~2.5MB file that only shows one frame in VLC.

Maybe I'm missing some dependencies? I'm on a lite os.


thats the log before the first frame:

Code:

[3:10:54.244396372] [73286]  INFO Camera camera_manager.cpp:316 libcamera v0.3.1+50-69a894c4[3:10:54.262207150] [73289]  INFO RPI pisp.cpp:695 libpisp version v1.0.7 28196ed6edcf 29-08-2024 (16:33:32)[3:10:54.279408817] [73289]  INFO RPI pisp.cpp:1154 Registered camera /base/axi/pcie@120000/rp1/i2c@80000/imx219@10 to CFE device /dev/media0 and ISP device /dev/media1 using PiSP variant BCM2712_C0Preview window unavailable[3:10:54.280123354] [73286]  WARN V4L2 v4l2_pixelformat.cpp:344 Unsupported V4L2 pixel format RPBPMode selection for 640:480:12:P    SRGGB10_CSI2P,640x480/0 - Score: 1000    SRGGB10_CSI2P,1640x1232/0 - Score: 1444.49    SRGGB10_CSI2P,1920x1080/0 - Score: 1636.67    SRGGB10_CSI2P,3280x2464/0 - Score: 2162.49    SRGGB8,640x480/0 - Score: 2000    SRGGB8,1640x1232/0 - Score: 2444.49    SRGGB8,1920x1080/0 - Score: 2636.67    SRGGB8,3280x2464/0 - Score: 3162.49Stream configuration adjusted[3:10:54.280449651] [73286]  INFO Camera camera.cpp:1191 configuring streams: (0) 640x480-YUV420 (1) 640x480-BGGR_PISP_COMP1[3:10:54.280577521] [73289]  INFO RPI pisp.cpp:1450 Sensor: /base/axi/pcie@120000/rp1/i2c@80000/imx219@10 - Selected sensor format: 640x480-SBGGR10_1X10 - Selected CFE format: 640x480-PC1B
thanks in advance

Statistics: Posted by Torsten85 — Sat Sep 14, 2024 5:03 pm — Replies 3 — Views 64



Viewing all articles
Browse latest Browse all 4990

Trending Articles