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 (Kevin)


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

Message: 1
Date: Sun, 10 May 2020 12:09:47 +1000
From: Kevin <kmg...@bigpond.com>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] Watchdog timeout
Message-ID: <4087981.lX3rWrZdFg@bunyip>
Content-Type: text/plain; charset="us-ascii"

BINGO - almost. Motion is using about 30% of a CPU - see attached log file.

I'm not sure what the camera delivers (it's a cheap eBay one) but I tought it 
was 640 x 480. But 
why is this not a problem without the netcam parameter? Or do I just have to 
accept it?

On 2020 M05 10, Sun 01:08:38 AEST tosiara thou dist spake thusly:
> Ok, so now try change motion config to use netcam_url v4l2:///dev/video0
> 
> On Sat, May 9, 2020 at 1:36 PM Kevin <kmg...@bigpond.com> 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 < kmg...@bigpond.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: motion.log
Type: text/x-log
Size: 3150 bytes
Desc: not available

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



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

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 15
********************************************

Reply via email to