Send Motion-user mailing list submissions to
        [email protected]

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
        [email protected]

You can reach the person managing the list at
        [email protected]

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 (Peter Cain)


----------------------------------------------------------------------

Message: 1
Date: Sat, 9 May 2020 18:58:51 +0100
From: Peter Cain <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] Watchdog timeout
Message-ID:
        <caaa_mqc33ip5ttpx-vkxpnbe9+u51moin7vhwdxkbxgstfq...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Considered the possibility that RP4 is overwhelming the IP network, and not
a direct problem of motion itself?

Try just writing to local SD card?

Reinstall motion?

Sorry if suggesting granny suck eggs.


On Saturday, 9 May 2020, tosiara <[email protected]> wrote:

> Ok, so now try change motion config to use netcam_url v4l2:///dev/video0
>
> On Sat, May 9, 2020 at 1:36 PM Kevin <[email protected]> wrote:
>
>> # ffmpeg -f video4linux2 -i /dev/video0 -vcodec copy -an -f avi /dev/null
>> <snip>
>> Input #0, video4linux2,v4l2, from '/dev/video0':
>>   Duration: N/A, start: 473328.421471, 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
>> Output #0, avi, to '/dev/null':
>>   Metadata:
>>     ISFT            : Lavf58.20.100
>>     Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 352x288,
>> q=2-31, 48660 kb/s, 30 fps, 30 tbr, 60 tbn, 60 tbc
>> Stream mapping:
>>   Stream #0:0 -> #0:0 (copy)
>> Press [q] to stop, [?] for help
>> frame=   28 fps=0.0 q=-1.0 size=    5382kB time=00:00:03.61 biframe=   31
>> fps= 31 q=-1.0 size=    5894kB time=00:00:04.10 biframe=   34 fps= 23
>> q=-1.0 size=    6662kB time=00:00:04.58 biframe=   36 fps= 18 q=-1.0
>> size=    6918kB time=00:00:05.06 biframe=   40 fps= 16 q=-1.0 size=
>> 7686kB time=00:00:05.53 biframe=   45 fps= 15 q=-1.0 size=    8710kB
>> time=00:00:06.15 biframe=   49 fps= 14 q=-1.0 size=    9478kB
>> time=00:00:06.63 biframe=   53 fps= 13 q=-1.0 size=   10502kB
>> time=00:00:07.10 biframe=   57 fps= 13 q=-1.0 size=   11270kB
>> time=00:00:07.58 biframe=   61 fps= 12 q=-1.0 size=   12038kB
>> time=00:00:08.06 biframe=   65 fps= 12 q=-1.0 size=   12806kB
>> time=00:00:08.66 biframe=   67 fps= 11 q=-1.0 size=   13062kB
>> time=00:00:09.03 biframe=   70 fps= 11 q=-1.0 size=   13830kB
>> time=00:00:09.63 biframe=   74 fps= 10 q=-1.0 size=   14598kB
>> time=00:00:10.11 biframe=   75 fps= 10 q=-1.0 Lsize=   14870kB
>> time=00:00:10.35 bitrate=11769.7kbits/s speed=1.41x
>> <ctl-c>
>> video:14850kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
>> muxing overhead: 0.135561%
>> Exiting normally, received signal 2.
>> ------------------------------
>> *From:* tosiara
>> *Sent:* Sat May 09 18:30:38 GMT+10:00 2020
>> *To:* Motion discussion list
>> *Subject:* Re: [Motion-user] Watchdog timeout
>>
>> Strange that you get the following errors while the same command works on
>> my machine without any issues:
>>
>> [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
>>
>> Can you try to run a slightly changed command:
>>
>> ffmpeg -f video4linux2 -i /dev/video0 -vcodec copy -an -f avi /dev/null
>>
>>
>> On Sat, May 9, 2020 at 9:51 AM Kevin < [email protected]> wrote:
>>
>>> 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
>>> ------------------------------
>>> *From:* tosiara
>>> *Sent:* Sat May 09 16:22:21 GMT+10:00 2020
>>> *To:* Motion discussion list
>>> *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 < [email protected]> 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 < [email protected]>:
>>>>
>>>>> 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 < [email protected]> 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
>>>>>> [email protected]
>>>>>> 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
>>>>> [email protected]
>>>>> 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
>>>>> [email protected]
>>>>> 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
>>>> [email protected]
>>>> 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
>>>> [email protected]
>>>> 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
>>> [email protected]
>>> 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
>>> [email protected]
>>> 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
>> [email protected]
>> 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
>> [email protected]
>> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user


------------------------------

End of Motion-user Digest, Vol 167, Issue 13
********************************************

Reply via email to