• Motion Tutorial?

    From Chris Schram@3:770/3 to All on Wed Mar 2 20:54:56 2022
    My brain hurts! I want to try out using Motion with a generic webcam,
    but I can't seem to penetrate the documentation. Can someone point me in
    the direction of some sample code to help me get started?

    --
    chrispam1@me.com is a filtered spam magnet. Email replies may be lost.
    You're better off replying to this newsgroup.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Chris Elvidge@3:770/3 to Chris Schram on Wed Mar 2 21:33:54 2022
    On 02/03/2022 20:54, Chris Schram wrote:
    My brain hurts! I want to try out using Motion with a generic webcam,
    but I can't seem to penetrate the documentation. Can someone point me in
    the direction of some sample code to help me get started?


    First of all you must be sure your generic webcam will work with motion.
    I have a pi with pi camera - works OK. Plugged in USB generic camera -
    that one won't work at all even thought the original one still does.
    Also check your video devices /dev/video? and /dev/v4l (for usb attached)

    Yes, I have a working motion.conf - works with Pi camera. Too long to
    post here.


    --
    Chris Elvidge
    England

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From nev young@3:770/3 to Chris Elvidge on Wed Mar 2 22:33:20 2022
    On 02/03/2022 21:33, Chris Elvidge wrote:
    On 02/03/2022 20:54, Chris Schram wrote:
    My brain hurts! I want to try out using Motion with a generic webcam,
    but I can't seem to penetrate the documentation. Can someone point me in
    the direction of some sample code to help me get started?


    First of all you must be sure your generic webcam will work with motion.
    I have a pi with pi camera - works OK. Plugged in USB generic camera -
    that one won't work at all even thought the original one still does.
    Also check your video devices /dev/video? and /dev/v4l (for usb attached)

    Yes, I have a working motion.conf - works with Pi camera. Too long to
    post here.


    I have 10 working Pi's with a mix of picams and various usb cams.
    I can send you a working (for me) motion.conf if you like.

    --
    Nev
    It causes me a great deal of regret and remorse
    that so many people are unable to understand what I write.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Chris Schram@3:770/3 to Chris Elvidge on Thu Mar 3 00:23:08 2022
    On 2022-03-02, Chris Elvidge <chris@mshome.net> wrote:
    On 02/03/2022 20:54, Chris Schram wrote:
    My brain hurts! I want to try out using Motion with a generic webcam,
    but I can't seem to penetrate the documentation. Can someone point me in
    the direction of some sample code to help me get started?


    First of all you must be sure your generic webcam will work with motion.
    I have a pi with pi camera - works OK. Plugged in USB generic camera -
    that one won't work at all even thought the original one still does.
    Also check your video devices /dev/video? and /dev/v4l (for usb attached)

    Yes, I have a working motion.conf - works with Pi camera. Too long to
    post here.

    lsusb can see the camera, but fswebcam times out before anything useful happens.

    ffmpeg -f v4l2 -video_size 640x480 -i /dev/video0 -frames 1 test.jpg
    returns a picture, but the exposure is way off.

    Sure, send me your motion.conf file. The email address in my From header
    is valid. I think I was assuming that motion.conf was just a small piece
    of the puzzle. Was I wrong?

    --
    chrispam1@me.com is a filtered spam magnet. Email replies may be lost.
    You're better off replying to this newsgroup.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)