Send Motion-user mailing list submissions to motion-user@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/motion-user or, via email, send a message with subject or body 'help' to motion-user-requ...@lists.sourceforge.net You can reach the person managing the list at motion-user-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Motion-user digest..." Today's Topics: 1. Re: Watchdog timeout (tosiara) 2. Re: Watchdog timeout (Kevin) ---------------------------------------------------------------------- Message: 1 Date: Sat, 9 May 2020 09:22:21 +0300 From: tosiara <tosi...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Watchdog timeout Message-ID: <cachtdwqoa6pji4a6fjy0v2uluw7yf2mn3afeerqwwfw4g0f...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Try to run ffmpeg capture like this: ffmpeg -f video4linux2 -i /dev/video0 -vcodec copy -an -f mp4 /dev/null Let it run for a few minutes and paste the output here On Sat, May 9, 2020 at 12:24 AM Kevin <kmg...@bigpond.com> wrote: > Hi Joris, > > Firstly, the recording is to an NFS attached SSD drive. Secondly, I > initially tried different values for framerate - as low as three - without > success. > > Cheers > Kevin > ------------------------------ > *From:* Joris > *Sent:* Fri May 08 22:10:17 GMT+10:00 2020 > *To:* Motion discussion list > *Subject:* Re: [Motion-user] Watchdog timeout > > Hi Kevin, > > This is a (very) long shot. I assume you are saving to the microsd card. > But it might not have the performance needed to flush all the images and > then Weird Things (tm) can happen in the Linux kernel. There are many > reasons cards may be slower than you expect. > Could you try to reduce the framerate from 100 to say 10 or 3? > Additionally you could run a benchmark utility like iozone and tell it to > write representatively sized files and see how much margin the card has. > > Kind regards, J > > > > Op vr 8 mei 2020 om 08:43 schreef Kevin < kmg...@bigpond.com>: > >> 1) gdb: Motion crashed so I hoped that gdb would provide a useful >> backstack trace, obviously it hasn't. >> >> 2) ffmpeg: the command you gave me does not work: >> >> error: XDG_RUNTIME_DIR not set in the environment. >> Could not initialize SDL - >> (Did you set the DISPLAY variable?) >> >> All my Pi' are headless. However, if it means anything, after Motion has >> finished a recording, I use ffmpeg to create a timelapse version. The >> command I use is; >> >> ffmpeg -y -i $file -filter:v setpts=0.3*PTS -an >> $output_dir/${output_name}" >> >> BTW: If it will help, I'm willing to try and compile the source and use >> gdb to track the error - but I'd need your help to know where to place >> break points. >> >> I'm pretty busy right now so this would not be until some time next week. >> It could also take a while for me to compile the source as all my >> experience is with Fedora and dnf/yum. >> ------------------------------ >> *From:* tosiara >> *Sent:* Fri May 08 15:28:15 GMT+10:00 2020 >> *To:* Motion discussion list >> *Subject:* Re: [Motion-user] Watchdog timeout >> >> You did not mention that motion crashes. Can you explain the gdb log you >> attached? >> >> And try to run "ffplay -f video4linux2 /dev/video0" on your motion box - >> does it play? >> >> On Fri, May 8, 2020 at 1:15 AM Kevin < kmg...@bigpond.com> wrote: >> >>> Sadly, no change. >>> >>> >>> >>> # rpi-eeprom-update >>> >>> BCM2711 detected >>> >>> BOOTLOADER: up-to-date >>> >>> CURRENT: Thu 16 Apr 17:11:26 UTC 2020 (1587057086) >>> >>> LATEST: Thu 16 Apr 17:11:26 UTC 2020 (1587057086) >>> >>> FW DIR: /lib/firmware/raspberrypi/bootloader/critical >>> >>> VL805: up-to-date >>> >>> CURRENT: 000137ad >>> >>> LATEST: 000137ad >>> >>> >>> >>> See attachments for other "stuff". >>> >>> >>> >>> On 2020 M05 7, Thu 15:26:30 AEST tosiara thou dist spake thusly: >>> >>> > Could you try to update to mmotion 4.3.1 as well as latest Rpi >>> firmware? >>> >>> > There were similar issues with USB and Rpi in the past and usually >>> firmware >>> >>> > update helped >>> >>> >>> >>> >>> _______________________________________________ >>> Motion-user mailing list >>> Motion-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/motion-user >>> https://motion-project.github.io/ >>> >>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user >> >> ------------------------------ >> >> Motion-user mailing list >> Motion-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/motion-user >> https://motion-project.github.io/ >> >> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user >> >> _______________________________________________ >> Motion-user mailing list >> Motion-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/motion-user >> https://motion-project.github.io/ >> >> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > > ------------------------------ > > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Sat, 09 May 2020 16:50:05 +1000 From: Kevin <kmg...@bigpond.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Watchdog timeout Message-ID: <db76a696-7de5-4707-8de5-731066a2d...@bigpond.com> Content-Type: text/plain; charset="utf-8" As requested: # ffmpeg -f video4linux2 -i /dev/video0 -vcodec copy -an -f mp4 /dev/null ffmpeg version 4.1.4-1+rpt7~deb10u1 Copyright (c) 2000-2019 the FFmpeg developers ? built with gcc 8 (Raspbian 8.3.0-6+rpi1) ? configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --libdir=/usr/lib/arm-linux-gnueabihf --cpu=arm1176jzf-s --arch=arm ? WARNING: library configuration mismatch ? avutil????? configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs ? avcodec???? configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs ? avformat??? configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs ? avdevice??? configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs ? avfilter??? configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs ? avresample? configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs ? swscale???? configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs ? swresample? configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs ? postproc??? configuration: --prefix=/usr --extra-version='1+rpt7~deb10u1' --toolchain=hardened --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-omx-rpi --enable-mmal --enable-neon --enable-rpi --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --libdir=/usr/lib/arm-linux-gnueabihf/neon/vfp --cpu=cortex-a7 --arch=armv6t2 --disable-thumb --enable-shared --disable-doc --disable-programs ? libavutil????? 56. 22.100 / 56. 22.100 ? libavcodec???? 58. 35.100 / 58. 35.100 ? libavformat??? 58. 20.100 / 58. 20.100 ? libavdevice??? 58.? 5.100 / 58.? 5.100 ? libavfilter???? 7. 40.101 /? 7. 40.101 ? libavresample?? 4.? 0.? 0 /? 4.? 0.? 0 ? libswscale????? 5.? 3.100 /? 5.? 3.100 ? libswresample?? 3.? 3.100 /? 3.? 3.100 ? libpostproc??? 55.? 3.100 / 55.? 3.100 Input #0, video4linux2,v4l2, from '/dev/video0': ? Duration: N/A, start: 459774.991048, bitrate: 48660 kb/s ??? Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 352x288, 48660 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc File '/dev/null' already exists. Overwrite ? [y/N] y [mp4 @ 0x5a5cf0] Could not find tag for codec rawvideo in stream #0, codec not currently supported in container Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument Stream mapping: ? Stream #0:0 -> #0:0 (copy) ??? Last message repeated 1 times ??? ==== ffmpeg -f video4linux2 -i /dev/video0 -vcodec copy -an /dev/null <snip> Input #0, video4linux2,v4l2, from '/dev/video0': ? Duration: N/A, start: 459920.101369, bitrate: 48660 kb/s ??? Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 352x288, 48660 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc [NULL @ 0x102ad90] Unable to find a suitable output format for '/dev/null' /dev/null: Invalid argument -------- Original Message -------- From: tosiara <tosi...@gmail.com> Sent: Sat May 09 16:22:21 GMT+10:00 2020 To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Watchdog timeout Try to run ffmpeg capture like this: ffmpeg -f video4linux2 -i /dev/video0 -vcodec copy -an -f mp4 /dev/null Let it run for a few minutes and paste the output here On Sat, May 9, 2020 at 12:24 AM Kevin <kmg...@bigpond.com> wrote: > Hi Joris, > > Firstly, the recording is to an NFS attached SSD drive. Secondly, I > initially tried different values for framerate - as low as three - without > success. > > Cheers > Kevin > ------------------------------ > *From:* Joris > *Sent:* Fri May 08 22:10:17 GMT+10:00 2020 > *To:* Motion discussion list > *Subject:* Re: [Motion-user] Watchdog timeout > > Hi Kevin, > > This is a (very) long shot. I assume you are saving to the microsd card. > But it might not have the performance needed to flush all the images and > then Weird Things (tm) can happen in the Linux kernel. There are many > reasons cards may be slower than you expect. > Could you try to reduce the framerate from 100 to say 10 or 3? > Additionally you could run a benchmark utility like iozone and tell it to > write representatively sized files and see how much margin the card has. > > Kind regards, J > > > > Op vr 8 mei 2020 om 08:43 schreef Kevin < kmg...@bigpond.com>: > >> 1) gdb: Motion crashed so I hoped that gdb would provide a useful >> backstack trace, obviously it hasn't. >> >> 2) ffmpeg: the command you gave me does not work: >> >> error: XDG_RUNTIME_DIR not set in the environment. >> Could not initialize SDL - >> (Did you set the DISPLAY variable?) >> >> All my Pi' are headless. However, if it means anything, after Motion has >> finished a recording, I use ffmpeg to create a timelapse version. The >> command I use is; >> >> ffmpeg -y -i $file -filter:v setpts=0.3*PTS -an >> $output_dir/${output_name}" >> >> BTW: If it will help, I'm willing to try and compile the source and use >> gdb to track the error - but I'd need your help to know where to place >> break points. >> >> I'm pretty busy right now so this would not be until some time next week. >> It could also take a while for me to compile the source as all my >> experience is with Fedora and dnf/yum. >> ------------------------------ >> *From:* tosiara >> *Sent:* Fri May 08 15:28:15 GMT+10:00 2020 >> *To:* Motion discussion list >> *Subject:* Re: [Motion-user] Watchdog timeout >> >> You did not mention that motion crashes. Can you explain the gdb log you >> attached? >> >> And try to run "ffplay -f video4linux2 /dev/video0" on your motion box - >> does it play? >> >> On Fri, May 8, 2020 at 1:15 AM Kevin < kmg...@bigpond.com> wrote: >> >>> Sadly, no change. >>> >>> >>> >>> # rpi-eeprom-update >>> >>> BCM2711 detected >>> >>> BOOTLOADER: up-to-date >>> >>> CURRENT: Thu 16 Apr 17:11:26 UTC 2020 (1587057086) >>> >>> LATEST: Thu 16 Apr 17:11:26 UTC 2020 (1587057086) >>> >>> FW DIR: /lib/firmware/raspberrypi/bootloader/critical >>> >>> VL805: up-to-date >>> >>> CURRENT: 000137ad >>> >>> LATEST: 000137ad >>> >>> >>> >>> See attachments for other "stuff". >>> >>> >>> >>> On 2020 M05 7, Thu 15:26:30 AEST tosiara thou dist spake thusly: >>> >>> > Could you try to update to mmotion 4.3.1 as well as latest Rpi >>> firmware? >>> >>> > There were similar issues with USB and Rpi in the past and usually >>> firmware >>> >>> > update helped >>> >>> >>> >>> >>> _______________________________________________ >>> Motion-user mailing list >>> Motion-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/motion-user >>> https://motion-project.github.io/ >>> >>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user >> >> ------------------------------ >> >> Motion-user mailing list >> Motion-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/motion-user >> https://motion-project.github.io/ >> >> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user >> >> _______________________________________________ >> Motion-user mailing list >> Motion-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/motion-user >> https://motion-project.github.io/ >> >> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > > ------------------------------ > > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user ------------------------------------------------------------------------ ------------------------------------------------------------------------ _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user https://motion-project.github.io/ Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------ Subject: Digest Footer _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user ------------------------------ End of Motion-user Digest, Vol 167, Issue 9 *******************************************