SvenVD / rpisurv

Raspberry Pi surveillance
https://community.rpisurv.net
GNU General Public License v2.0
621 stars 101 forks source link

fuzzy images on 3 of 4 cams #16

Closed skueppers closed 8 years ago

skueppers commented 8 years ago

First of all thanks for your great script which runs (nearly) charming after a few pitfalls. My current problem is that 3 of my 4 cams only show a "fuzzy" picture - as well as if streaming "by default" oder "over tcp". rpisurv All in all my RasPi uses currently 50-60% CPU

Although this is not a specific problem with rpisurv maybe you have the crucial hint

SvenVD commented 8 years ago

Did you assign enough memory to the GPU?

If you are going to have multiple streams, add gpu_mem=512 to your /boot/config.txt

skueppers commented 8 years ago

currently running with gpu_mem=384 "only" setting gpu_mem to 512 makes the system ghastly slow

just checked: even when using only one camera the picture is "fuzzy" When trying the rtsp-URL in VLC on my workstation it runs just fine even though it than has to pass another router

SvenVD commented 8 years ago

What version of omxplayer are you using?

If you want to stream rtsp over tcp please add rtsp_over_tcp: true to the stream in /etc/rpisurv. See https://github.com/SvenVD/rpisurv/blob/master/surveillance/conf/surveillance.yml for an example. If you have a "smearing" effect this option may resolve it. Note that you need a version of omxplayer older then 14 March 2016 (https://github.com/popcornmix/omxplayer/pull/433) to do this.