signag / raspi-cam-srv

Web Server for Raspi Camera Access
MIT License
49 stars 7 forks source link

Increasing the quality of live view #23

Open moataz-youssef opened 1 month ago

moataz-youssef commented 1 month ago

First of all thanks for the awesome work. I have previously been using RPi-Cam-Web-Interface (https://github.com/silvanmelchior/RPi_Cam_Web_Interface/). There was the live stream quality a lot better. Is there anything I can do to increase the quality? I can go down with the resolution but I don't want to have visible artifacts or pixelation while streaming the video. Thanks a lot in advance.

moataz-youssef commented 1 month ago

I am running raspi-cam-srv on a RPi 4B on the HQ Camera and the system is connected to a PC using gigabit ethernet.

signag commented 1 month ago

I also see the bad quality of the live stream for the Pi4. But I do not see this on a Pi2 or a Pi5, on which I am testing, too. Need to investigate what is specific for the Pi4.

moataz-youssef commented 1 month ago

I also see the bad quality of the live stream for the Pi4. But I do not see this on a Pi2 or a Pi5, on which I am testing, too. Need to investigate what is specific for the Pi4.

Thanks for your reply. Do you mean PiZero 2?

So far I have tested your software with a Pi4 and a PiZero 1W and I have to say that the streaming quality was not satisfactory and changing the settings usually results in instability where I have to restart the server.

I have a Pi5 and a PiZero 2, so I might give it a go. But if the quality can be improved on a Pi4, this will be awesome.

signag commented 1 month ago

Below are screenshots for Pi Zero, Pi Zero 2, Pi 4 and Pi 5, all with different cameras but with the default configurations:

Pi Zero W:

image

image

Pi Zero 2 W:

image

image

Pi 4:

image

image

Pi 5:

image

image

It can be seen that only the Pi 4 shows a bad quality of the preview.

Actually, raspiCamSrv just starts the camera in a specific mode and does not really have influence on the preview quality, except for controlling the camera configuration and controls to be used.