SvenVD / rpisurv

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

Smearing Effect (How to downgrade omxplayer) #56

Closed mlschoeneman closed 6 years ago

mlschoeneman commented 6 years ago

I am experiencing the smearing effect on all four of my cameras. I see that I need to downgrade my omxplayer to before 03142016 to enable rtsp_over_tcp: true. How do I go about downgrading? I am on RPi 3 B+ Stretch 04192018.

My current omxplayer version is: Build date: Wed, 05 Jul 2017 16:40:39 +0100 Version : 5a25a57 [debian] Repository: git@github.com:XECDesign/omxplayer.git

"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."

SvenVD commented 6 years ago

No it is the way around your need an omxplayer version younger then 14 March 2016 to enable rtsp_over_tcp.

SvenVD commented 6 years ago

I will update the readme because it is stated wrong

mlschoeneman commented 6 years ago

Ok, how do I eliminate the smearing effect then? Is there a simple way to block udp traffic to the pi from those ip addresses individually?

SvenVD commented 6 years ago

You do not need to block udp, you need to tell rpisurv to connect over tcp with the rtsp_over_tcp option for a specific stream. Check https://github.com/SvenVD/rpisurv/blob/master/surveillance/conf/surveillance.yml for an example.

Be aware that running over tcp not necessarily solves the problem. But it has been reported it does for some users

mlschoeneman commented 6 years ago

Ahhh ok, I see your wording there now. Each stream needs to be tagged with the rtsp_over_tcp: true. Configured for all four cameras and have not dropped a single frame.

Thanks for the great help!

renatomarcio commented 6 years ago

Having the same problem. Doubt: rtsp_over_tcp: true needs to be repeated after each url? Doing so makes application crash and not load. Even leaving a single extra space after each url makes system crash. Leaving rtsp_over_tcp: true only once, at the end keeps smearing... What else can I do?

SvenVD commented 6 years ago

Hi INPUT is checked for correctness. YAML is the input format which is readable by a human but can also be parsed by machine. You need to follow the YAML guidelines to edit the config file. You probably missed some. Please post error message and I can point you in the right direction. Most common mistakes are not following the identation like is used in the example config and the mistake of using tabs in the config file.

Doubt: rtsp_over_tcp: true needs to be repeated after each url --> YES