motioneye-project / motioneye

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

Stream starts and stops on Debian every view seconds #492

Open MrGlasspoole opened 7 years ago

MrGlasspoole commented 7 years ago

I can see the video for 2 seconds then i have the "no cam" picture for a view seconds. This is constantly repeating.

EDIT It seems like the problem is that motion in Debian is a old version. So i did after removing the old version:

~# mkdir /root/debs
~# cd /root/debs
~# wget https://github.com/Motion-Project/motion/releases/download/release-4.0.1/jessie_motion_4.0.1-1_amd64.deb
~# cd /root
~# dpkg-scanpackages debs /dev/null | gzip > debs/Packages.gz

> Add this line to sources.list:
deb file:/root debs/

~# aptitude update
~# aptitude install motion

From a quick test it seems to work now. But it brings up another question because i saw ffmpeg is in jessie-backports and is newer. So why multimedia.org?

ccrisan commented 7 years ago

I guess at the time of writing ffmpeg hadn't made it to the backports. I'll update the docs. Can we close the issue now?

MrGlasspoole commented 7 years ago

One thing: I did install ffmpeg on another Debian from backports:

~# echo "deb http://http.debian.net/debian jessie-backports main" | tee /etc/apt/sources.list.d/backports.list

and there i had to install the codecs i needed (like libx264-dev and libopenjpeg-dev) separately. So i guess if motionEye needs them you should take this into account.

Other then that it seems to run stable now so you can close it.