Pb avec le Plugin Motion

Envoie moi par mp les informations de connexion
Tu cree un compte admin pour moi que tu pourra supprimé par la suite

envoyé en Mp :wink:

Bonjour,
J’ai un léger souci avec motion aussi, j’avais le meme problème que @julstf j’ai créer un utilisation motion et je lui ai donner les droit manuellement en ssh pour régler ce problème.
Cependant maintenant j’ai un autre souci et toujours pas moyen d’avoir accès a la camera branchée.

Voici les logs
Motion:

motion: error while loading shared libraries: libavformat.so.56: cannot open shared object file: No such file or directory

Motion Install:

git is already the newest version (1:2.11.0-3+deb9u4).
The following package was automatically installed and is no longer required:
libjpeg8
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
libwebp-dev is already the newest version (0.5.2-1).
The following package was automatically installed and is no longer required:
libjpeg8
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
gettext is already the newest version (0.19.8.1-2+deb9u1).
The following package was automatically installed and is no longer required:
libjpeg8
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
libmicrohttpd-dev is already the newest version (0.9.51-1).
The following package was automatically installed and is no longer required:
libjpeg8
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
*****************************************************************************************************
*                                          Installation de FFMPEG                                   *
*****************************************************************************************************
Reading package lists...
Building dependency tree...
Reading state information...
libavformat-dev is already the newest version (7:3.2.14-1~deb9u1+rpt1).
The following package was automatically installed and is no longer required:
libjpeg8
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
libavcodec-dev is already the newest version (7:3.2.14-1~deb9u1+rpt1).
The following package was automatically installed and is no longer required:
libjpeg8
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
libavutil-dev is already the newest version (7:3.2.14-1~deb9u1+rpt1).
The following package was automatically installed and is no longer required:
libjpeg8
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
libswscale-dev is already the newest version (7:3.2.14-1~deb9u1+rpt1).
The following package was automatically installed and is no longer required:
libjpeg8
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
libavdevice-dev is already the newest version (7:3.2.14-1~deb9u1+rpt1).
The following package was automatically installed and is no longer required:
libjpeg8
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
ffmpeg is already the newest version (7:3.2.14-1~deb9u1+rpt1).
The following package was automatically installed and is no longer required:
libjpeg8
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
*****************************************************************************************************
*                                          Compilation de motion:                                   *
*****************************************************************************************************
Cloning into 'motion'...
autoreconf: Entering directory `.'
autoreconf: running: autopoint --force
Copying file ABOUT-NLS
Copying file config.rpath
Creating directory m4
Copying file m4/codeset.m4
Copying file m4/fcntl-o.m4
Copying file m4/gettext.m4
Copying file m4/glibc2.m4
Copying file m4/glibc21.m4
Copying file m4/iconv.m4
Copying file m4/intdiv0.m4
Copying file m4/intl.m4
Copying file m4/intldir.m4
Copying file m4/intlmacosx.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes_h.m4
Copying file m4/lcmessage.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/lock.m4
Copying file m4/longlong.m4
Copying file m4/nls.m4
Copying file m4/po.m4
Copying file m4/printf-posix.m4
Copying file m4/progtest.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/threadlib.m4
Copying file m4/uintmax_t.m4
Copying file m4/visibility.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/en@boldquot.header
Copying file po/en@quot.header
Copying file po/insert-header.sin
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:11: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged.
configure.ac:11: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.ac:11: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
configure.ac:3: installing './compile'
configure.ac:8: installing './config.guess'
configure.ac:8: installing './config.sub'
configure.ac:2: installing './install-sh'
configure.ac:2: installing './missing'
src/Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking for ctype.h... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for pkg-config... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking jerror.h usability... yes
checking jerror.h presence... yes
checking for jerror.h... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking jpg libraries... yes
checking microhttpd.h usability... yes
checking microhttpd.h presence... yes
checking for microhttpd.h... yes
checking libmicrohttpd libraries... yes
checking pthread_np.h usability... no
checking pthread_np.h presence... no
checking for pthread_np.h... no
checking for pthread_setname_np... yes
checking for pthread_getname_np... yes
checking for XSI strerror_r... no
checking dev/bktr/ioctl_meteor.h usability... no
checking dev/bktr/ioctl_meteor.h presence... no
checking for dev/bktr/ioctl_meteor.h... no
checking dev/bktr/ioctl_bt848.h usability... no
checking dev/bktr/ioctl_bt848.h presence... no
checking for dev/bktr/ioctl_bt848.h... no
checking dev/ic/bt8xx.h usability... no
checking dev/ic/bt8xx.h presence... no
checking for dev/ic/bt8xx.h... no
checking linux/videodev2.h usability... yes
checking linux/videodev2.h presence... yes
checking for linux/videodev2.h... yes
checking for webp... yes
checking MMAL pkg-config path... .:/opt/vc/lib/pkgconfig
checking for MMAL... yes
checking FFmpeg pkg-config path...
checking for FFmpeg... yes
checking MariaDB pkg-config path...
checking for MariaDB... no
checking MySQL pkg-config path...
checking for MySQL... no
checking PostgreSQL pkg-config path...
checking for PostgreSQL... no
checking sqlite3.h usability... no
checking sqlite3.h presence... no
checking for sqlite3.h... no
checking for kill... /bin/kill
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating man/Makefile
config.status: creating data/camera1-dist.conf
config.status: creating data/camera2-dist.conf
config.status: creating data/camera3-dist.conf
config.status: creating data/camera4-dist.conf
config.status: creating data/motion-dist.conf
config.status: creating data/motion.service
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
**************************
Configure status
motion 4.2.2+git20190929-5c8ac52
**************************
CFLAGS: -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf
LIBS:  -pthread   -ljpeg   -lmicrohttpd   -lwebpmux -lwebp   -lmmal_core -lmmal_util -Wl,--push-state,--no-as-needed -lmmal_vc_client -Wl,--pop-state -lvcos -lvchostif -lvchiq_arm -lavutil -lavformat -lavcodec -lswscale  -lavdevice
LDFLAGS:
OS                  : linux-gnueabihf
pthread_np          : no
pthread_setname_np  : yes
pthread_getname_np  : yes
XSI error           : no
webp support        : yes
V4L2 support        : yes
BKTR support        : no
MMAL support        : yes
FFmpeg support      : yes
libavformat version : 57.56.101
SQLite3 support     : no
MYSQL support       : no
PostgreSQL support  : no
MariaDB support     : no
Install prefix:       /usr/local
make  all-recursive
make[1]: Entering directory '/usr/local/src/motion'
Making all in src
make[2]: Entering directory '/usr/local/src/motion/src'
depbase=`echo motion.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT motion.o -MD -MP -MF $depbase.Tpo -c -o motion.o motion.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo logger.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT logger.o -MD -MP -MF $depbase.Tpo -c -o logger.o logger.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo conf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT conf.o -MD -MP -MF $depbase.Tpo -c -o conf.o conf.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo draw.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT draw.o -MD -MP -MF $depbase.Tpo -c -o draw.o draw.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo jpegutils.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT jpegutils.o -MD -MP -MF $depbase.Tpo -c -o jpegutils.o jpegutils.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo video_loopback.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT video_loopback.o -MD -MP -MF $depbase.Tpo -c -o video_loopback.o video_loopback.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo video_v4l2.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT video_v4l2.o -MD -MP -MF $depbase.Tpo -c -o video_v4l2.o video_v4l2.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo video_common.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT video_common.o -MD -MP -MF $depbase.Tpo -c -o video_common.o video_common.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo video_bktr.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT video_bktr.o -MD -MP -MF $depbase.Tpo -c -o video_bktr.o video_bktr.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo netcam.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT netcam.o -MD -MP -MF $depbase.Tpo -c -o netcam.o netcam.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo netcam_http.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT netcam_http.o -MD -MP -MF $depbase.Tpo -c -o netcam_http.o netcam_http.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo netcam_ftp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT netcam_ftp.o -MD -MP -MF $depbase.Tpo -c -o netcam_ftp.o netcam_ftp.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo netcam_jpeg.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT netcam_jpeg.o -MD -MP -MF $depbase.Tpo -c -o netcam_jpeg.o netcam_jpeg.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo netcam_wget.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT netcam_wget.o -MD -MP -MF $depbase.Tpo -c -o netcam_wget.o netcam_wget.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo netcam_rtsp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT netcam_rtsp.o -MD -MP -MF $depbase.Tpo -c -o netcam_rtsp.o netcam_rtsp.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo track.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT track.o -MD -MP -MF $depbase.Tpo -c -o track.o track.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo alg.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT alg.o -MD -MP -MF $depbase.Tpo -c -o alg.o alg.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo event.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT event.o -MD -MP -MF $depbase.Tpo -c -o event.o event.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo picture.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT picture.o -MD -MP -MF $depbase.Tpo -c -o picture.o picture.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo rotate.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT rotate.o -MD -MP -MF $depbase.Tpo -c -o rotate.o rotate.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo translate.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT translate.o -MD -MP -MF $depbase.Tpo -c -o translate.o translate.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo md5.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT md5.o -MD -MP -MF $depbase.Tpo -c -o md5.o md5.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo stream.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT stream.o -MD -MP -MF $depbase.Tpo -c -o stream.o stream.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo ffmpeg.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT ffmpeg.o -MD -MP -MF $depbase.Tpo -c -o ffmpeg.o ffmpeg.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo webu.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT webu.o -MD -MP -MF $depbase.Tpo -c -o webu.o webu.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo webu_html.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT webu_html.o -MD -MP -MF $depbase.Tpo -c -o webu_html.o webu_html.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo webu_stream.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT webu_stream.o -MD -MP -MF $depbase.Tpo -c -o webu_stream.o webu_stream.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo webu_text.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT webu_text.o -MD -MP -MF $depbase.Tpo -c -o webu_text.o webu_text.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo mmalcam.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT mmalcam.o -MD -MP -MF $depbase.Tpo -c -o mmalcam.o mmalcam.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo raspicam/RaspiCamControl.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT raspicam/RaspiCamControl.o -MD -MP -MF $depbase.Tpo -c -o raspicam/RaspiCamControl.o raspicam/RaspiCamControl.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo raspicam/RaspiCLI.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..    -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf   -MT raspicam/RaspiCLI.o -MD -MP -MF $depbase.Tpo -c -o raspicam/RaspiCLI.o raspicam/RaspiCLI.c &&\
mv -f $depbase.Tpo $depbase.Po
gcc -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf     -o motion motion.o logger.o conf.o draw.o jpegutils.o video_loopback.o video_v4l2.o video_common.o video_bktr.o netcam.o netcam_http.o netcam_ftp.o netcam_jpeg.o netcam_wget.o netcam_rtsp.o track.o alg.o event.o picture.o rotate.o translate.o md5.o stream.o ffmpeg.o webu.o webu_html.o webu_stream.o webu_text.o mmalcam.o raspicam/RaspiCamControl.o raspicam/RaspiCLI.o  -pthread   -ljpeg   -lmicrohttpd   -lwebpmux -lwebp   -lmmal_core -lmmal_util -Wl,--push-state,--no-as-needed -lmmal_vc_client -Wl,--pop-state -lvcos -lvchostif -lvchiq_arm -lavutil -lavformat -lavcodec -lswscale  -lavdevice
/usr/bin/ld: cannot find -lmmal_core
/usr/bin/ld: cannot find -lmmal_util
/usr/bin/ld: cannot find -lmmal_vc_client
/usr/bin/ld: cannot find -lvcos
/usr/bin/ld: cannot find -lvchostif
/usr/bin/ld: cannot find -lvchiq_arm
collect2: error: ld returned 1 exit status
Makefile:402: recipe for target 'motion' failed
make[2]: *** [motion] Error 1
make[2]: Leaving directory '/usr/local/src/motion/src'
Makefile:549: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/local/src/motion'
Makefile:393: recipe for target 'all' failed
make: *** [all] Error 2
Making install in src
make[1]: Entering directory '/usr/local/src/motion/src'
gcc -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -D_THREAD_SAFE     -I/usr/include/p11-kit-1     -Irasppicam -I/opt/vc/include   -I/usr/include/arm-linux-gnueabihf     -o motion motion.o logger.o conf.o draw.o jpegutils.o video_loopback.o video_v4l2.o video_common.o video_bktr.o netcam.o netcam_http.o netcam_ftp.o netcam_jpeg.o netcam_wget.o netcam_rtsp.o track.o alg.o event.o picture.o rotate.o translate.o md5.o stream.o ffmpeg.o webu.o webu_html.o webu_stream.o webu_text.o mmalcam.o raspicam/RaspiCamControl.o raspicam/RaspiCLI.o  -pthread   -ljpeg   -lmicrohttpd   -lwebpmux -lwebp   -lmmal_core -lmmal_util -Wl,--push-state,--no-as-needed -lmmal_vc_client -Wl,--pop-state -lvcos -lvchostif -lvchiq_arm -lavutil -lavformat -lavcodec -lswscale  -lavdevice
/usr/bin/ld: cannot find -lmmal_core
/usr/bin/ld: cannot find -lmmal_util
/usr/bin/ld: cannot find -lmmal_vc_client
/usr/bin/ld: cannot find -lvcos
/usr/bin/ld: cannot find -lvchostif
/usr/bin/ld: cannot find -lvchiq_arm
collect2: error: ld returned 1 exit status
Makefile:402: recipe for target 'motion' failed
make[1]: *** [motion] Error 1
make[1]: Leaving directory '/usr/local/src/motion/src'
Makefile:549: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
*****************************************************************************************************
*                                Installation de motion terminé                                     *
*****************************************************************************************************

j’ai fait le sudo apt autoremove pour enlever le libjpeg8 mais aucun changement, je pense que cela n’avais rien a voir de plus.

Si une âme charitable pouvais me venir en aide ce serais super :blush:

PS: la caméra est une raspicam directement relié au raspberry

Visiblement y a un soucis avec l’installation de motion.
Tu as le meme probleme que @julstf
J’ai fait une demmande de support aupres de dev de motion car je ne trouve pas la probleme

Est tu aussi sur rpi?

Bonjour,

Il y a eu un retour de la part de support de motion
Pouvez vous vous connecté en ssh et lancer ses commandes pour etre a jours
sudo apt get update
sudo apt-get dist-upgrade
Ensuite un reboot

Je perfert ne pas le faire par jeedom car si php ou apache est mis a jours ca plante jeedom

Suite du sujet Pb avec le Plugin Motion :

Bonsoir à tous
j’ai également un soucis avec Motion
La détection fonctionne chez moi (je vois des incrémentation dans le dossier en jpg et en vidéo) par contre le stream me donne la même image pour les deux caméras.
Autre soucis, lorsque je clique sur editer dans les commandes l’image n’apparaît pas.
je suis encore en v3 sur Jeedup.

Oui la correction du bug d’installation a été faite hier et confirmé par @julstf

Si y a détection c’est un bon début.
Pour le sream avec la même image est ce que le port de stream ne serait pas le même sur les 2camera
L’édition des zone à besoin d’un stream valide

oui le port est le même (8081 j’ai suivi ton conseil) mais quand je met un port différent cela ne fonctionnait plus
je vais retester
merci de ton suivi mika-nt28

En fait chaque stream a besoin d’un port different et libre
Les port 8081 a 8090 sont généralement pas utilisé donc on peux facilement en choisir 1 dedans

ça fonctionne nickel ce matin. j’ai même pu éditer les zones. Reste plus qu’à affiner les réglages de détection.
Merci pour le super boulot :slight_smile:

bon j’ai parlé un peu vite la prévisualisation sur le dashboard est un peu aléatoire. J’ai déjà les prévisualisation via le plugin camera, je vais tester de les retirer voir si ça améliore le reste

Qu’a tu configurer dans le stream.
L’idée est d’avoir un flux legé qui est exploitable.
Si tu as le plugin camera je conseil de garder la visualisation par ce plugin qui gere beaucoup mieux puisqu’il utilise des snapshot

Port de stream : 8085
Qualité de l’image (%) : 50
FrameRate : 5
Methode d’autentification : désactivé
username:password : vide

bonjour le demon se lance mais j’ai un ecran gris et unable to open video device dans le stream

Des log et des screen de ta configuration pour pouvoir t’aider

C’est pourtant standard
Quel est le probleme vue

Est possible de cree un sujet plus spécifique a ton probleme

j’ai suivi tes conseils et j’ai enlevé le flux vidéo sur le dashboard en ne conservant que celui de camera
du coup la détection se fait correctement (je vois les vidéos les photos dans les dossiers).
il me reste juste le soucis d’éditer les zones de détection. Sur mes 3 cameras, la 1ere j’ai pu le faire nickel, la 2eme la prévisu est grisé « enable to open video device since … » et la 3eme j’ai rien (un petit rectangle en haut à gauche).

Merci et désoler j’ai pas eu de temps cette semaine, je suis bien sur RPi,
suite a l’update et le dist-upgrade et la réinstallation de motion tout est installé il n’y as plus d’erreur dans le log d’installation.
Cependant, je n’ai pas d’image sur mon dashboard mais des case « ? » a la place.
J’ai installé deux caméras, une en IP, en cliquant sur le dossier je vois les photos et vidéo qui ont été capturée et la seconde caméra branché directement sur le raspberry via la nappe mais pour celle ci je n’ai meme pas de photos dans le dossier.

Voici les Capture de mes réglages:




Edit: Je ne peut plus ajouté de messages j’ai atteins la limite de 3 message pour les nouveaux, La Camera sur mon raspberry fonctionne après avoir ajouter un port de stream mais pas celle relier au raspberry gérant jeedom (une petite victoire en somme) je vais continué a chercher mais bon j’ai acheter un module ESP32-cam j’ai l’impression que c’est plus simple de relier une camera en réseau qu’en local directement sur le raspberry.