motioneye-project / motioneye

A web frontend for the motion daemon.
GNU General Public License v3.0
4.01k stars 660 forks source link

Video flickers FIXED #2623

Open apla2016 opened 2 years ago

apla2016 commented 2 years ago

Hello, I have freshly loaded (after crash) motionEye Version | 0.42.1; Motion Version | 4.3.2; OS Version | Ubuntu 22.04 running on i3 tiny PC. All freshly installed. Three cameras are connected but all 3 video are flickering regardless of resolution and frame rate.

Prior to crash same hardware /cameras were working fine with older versions of Ubuntu/motionEye/Motion

TheBlackSheep commented 2 years ago

Hi - I have the same issues on an i5 with 8Gb running Ubuntu 22.04LTS - I've run the stock version that motioneye installed via the package manager and also built motion from source and re-installed the cameras but it's exactly the same - flickering on all images.

VLC and ffplay to the same cameras all work fine (i.e. no flickering) as does an older version of motionEye v0.42.1, motion v4.2.2, ubuntu 20.04 which is what I'm trying to replace.

apla2016 commented 2 years ago

Hi - I have the same issues on an i5 with 8Gb running Ubuntu 22.04LTS - I've run the stock version that motioneye installed via the package manager and also built motion from source and re-installed the cameras but it's exactly the same - flickering on all images.

VLC and ffplay to the same cameras all work fine (i.e. no flickering) as does an older version of motionEye v0.42.1, motion v4.2.2, ubuntu 20.04 which is what I'm trying to replace.

Any luck with downgrading Linux?

messenjah commented 2 years ago

Same for me on fresh Ubuntu 22.04 installation and following the install instruction

EDIT: Just noticed there is even the comment in the instruction which I just overread: ...Ubuntu 22.04 is currently broken (uses a broken version of libmicrohttpd12 0.9.75-3)....

Installed on Ubuntu 20.04 and all is fine

apla2016 commented 2 years ago

Downgrading Ubuntu to 20.04 and reloading MotionEye solved all problems

rimroot commented 1 year ago

Any chance to fix this on Ubuntu 22.04?

zagrim commented 1 year ago

Installing dev branch using these instructions should be one way to fix the issue (ME 0.43 contains a workaround), and the other solution is to downgrade libmicrohttpd (which you have currently something like 0.9.75 I assume) to 0.9.72 which works ok. The library downgrade option has been discussed e.g. here: https://github.com/motioneye-project/motioneye/issues/2287#issuecomment-1024935426