Closed JoelBecker1998 closed 1 year ago
@JoelBecker1998 The HW encoder does require max 1920x1920 on output resolution. What happens here: camera sensor is capturing with 2304x1296
, but ISP is producing 1920x1080
(downscaling) to fit the HW encoder requirements.
It works as expected. The only tricky part is you should get 30FPS. Can you try with --camera-nbufs=4
if this produces 30PFS?
@ayufan Ah alright thanks, so no way to get a higher resolution stream over webrtc?
With --camera-nbufs=4
i get 30 fps, thanks!
@JoelBecker1998 Sorry, no. This is limitation of RaspberryPI hardware encoders. Max 1920x1920.
Thanks, no worries. Great project btw. :)
I have a Camera Module 3 that should support 2304x1296 with 30fps. see here
I'm using this command:
camera-streamer/tools/libcamera_camera.sh --camera-type=libcamera --camera-format=YUYV --camera-fps=30 --camera-path=/base/soc/i2c0mux/i2c@0/imx708@1a --http-port=8080 --camera-width=2304 --camera-height=1296 --camera-hflip=1 --camera-vflip=1
The stream launches, but only with 1920x1080 with 25 fps.
The output looks like this: