v4l2rtspserver icon indicating copy to clipboard operation
v4l2rtspserver copied to clipboard

Only Partial Image when using on Raspbian with Resolution set to 1920x1080

Open minestrone1994 opened this issue 3 years ago • 3 comments

I use a RaspberryPi 3b+ with a standard v1.2 RaspberryPi Camera. I run Raspbian Bullseye, but changed it so it works with the legacy camera drivers. I installed and compiled your v4l2rtspserver as described in the readme, which worked flawless. I want to use this setup to stream my video feed to a local Homeassistant install - which works fine as long as I keep the resolution at 640x480. As soon as I set it to 1920x1080 it sort of zooms in and only shows the upper left part of the image (although in a higher resolution). How do I change this, so that it actually streams the full image in the correct resolution? Any help highly regarded!

minestrone1994 avatar Mar 23 '22 13:03 minestrone1994

More Info: Camera used: Omnivision OV5647 - alias RaspberryPi Camera V1

minestrone1994 avatar Mar 23 '22 13:03 minestrone1994

You could try 1920x1440. This is how I've been running this type of camera on motioneyeos.

davebuk avatar May 19 '22 13:05 davebuk

Different sensor modes on the pi camera have different crop factors. See this documentation:

https://picamera.readthedocs.io/en/release-1.13/fov.html#sensor-modes

y8s avatar Aug 25 '22 19:08 y8s