• Motion Tutorial?

    From Chris Schram@3:770/3 to All on Wed Mar 2 20:54:57 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:55 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)
  • From nev young@3:770/3 to Chris Schram on Thu May 19 09:45:18 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?

    Did you ever get this working?

    --
    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 nev young on Thu May 19 09:22:07 2022
    On 2022-05-19, nev young <newsforpasiphae1953@yahoo.co.uk> 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?

    Did you ever get this working?

    I had to conclude that my old generic USB webcam was having very poor
    relations with my Pi and/or Motion, so I have surrendered for now. I did
    make a couple of attempts to acquire an official Pi camera, but the only
    ones I could find were at Amazon at extremely inflated prices.

    --
    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 meff@3:770/3 to Chris Schram on Fri May 20 01:35:56 2022
    On 2022-05-19, Chris Schram <chrispam1@me.com> wrote:
    I had to conclude that my old generic USB webcam was having very poor relations with my Pi and/or Motion, so I have surrendered for now. I did
    make a couple of attempts to acquire an official Pi camera, but the only
    ones I could find were at Amazon at extremely inflated prices.

    I haven't used Motion but I have streamed USB webcams before. I was
    wondering what codec you used on the RasPi? I often stream using
    ffmpeg/RTSP on an MBP I have at home but that uses a
    hardware-accelerated x264 decoder. I guess at low resolution this
    isn't an issue?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From A. Dumas@3:770/3 to meff on Fri May 20 02:23:35 2022
    meff <email@example.com> wrote:
    I haven't used Motion but I have streamed USB webcams before. I was
    wondering what codec you used on the RasPi? I often stream using
    ffmpeg/RTSP on an MBP I have at home but that uses a
    hardware-accelerated x264 decoder. I guess at low resolution this
    isn't an issue?

    https://forums.raspberrypi.com/viewtopic.php?p=1628856#p1628856

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