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: Pi & Logitech C920 (?ydr?nas Urbonas)
   2. Re: Permanent assign cam order: video0 / video1 for USB cam1
      / USB cam2 (Mike Wilson)
   3. Re: Permanent assign cam order: video0 / video1 for USB cam1
      / USB cam2 (?ydr?nas Urbonas)


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

Message: 1
Date: Fri, 18 Sep 2015 09:15:19 +0300
From: ?ydr?nas Urbonas <[email protected]>
Subject: Re: [Motion-user] Pi & Logitech C920
To: [email protected],        Motion discussion list
        <[email protected]>
Message-ID:
        <CACHTdwRexGS3NtPtMm5UJ4G=is+kbqekfjnyteucp-kisvs...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hey, try compiling latest Mr-Dave fork, it contains a fix for C910/C920
cameras
https://github.com/Mr-Dave/motion/commits/unstable

On Thu, Sep 17, 2015 at 9:03 PM, Dave Howorth <[email protected]> wrote:

> Hello,
>
> I'm trying to set up motion with a Logitech HD Pro Webcam C920 connected
> to a Raspberry PI. It sort of works but not properly so I'd appreciate
> some pointers.
>
> The Pi has raspberrypi 3.2.27+ #250 PREEMPT
>
> motion is Version 3.2.12
>
> I'm sshed to the pi; there's no display on it. I have motion set up as a
> service started on boot.
>
> I have two issues that I'd like to resolve:
>
>
> (1) motion happily captures video when there is motion and records an
> avi file and a bunch of jpegs. But it only does this if I leave the
> width and height at their default. If I set 1280 x 720 or 1920 x
> 1080 resolution, nothing gets captured.
>
> I have tried running cheese and that is able to show high-resolution
> video, so I know its not a hardware problem. There's a lot of stuff
> in /var/log/messages but I don't understand it:
>
> Sep 17 18:56:41 raspberrypi motion: [0] Motion thread 1 restart
> Sep 17 18:56:41 raspberrypi motion: [1] cap.driver: "uvcvideo"
> Sep 17 18:56:41 raspberrypi motion: [1] cap.card: "HD Pro Webcam C920"
> Sep 17 18:56:41 raspberrypi motion: [1] cap.bus_info:
> "usb-bcm2708_usb-1.2"
> Sep 17 18:56:41 raspberrypi motion: [1] cap.capabilities=0x04000001
> Sep 17 18:56:41 raspberrypi motion: [1] - VIDEO_CAPTURE
> Sep 17 18:56:41 raspberrypi motion: [1] - STREAMING
> Sep 17 18:56:41 raspberrypi motion: [1] Config palette index 8 (YU12)
> doesn't work.
> Sep 17 18:56:41 raspberrypi motion: [1] Supported palettes:
> Sep 17 18:56:41 raspberrypi motion: [1] 0: YUYV (YUV 4:2:2 (YUYV))
> Sep 17 18:56:41 raspberrypi motion: [1] 1: H264 (H.264)
> Sep 17 18:56:41 raspberrypi motion: [1] 2: MJPG (MJPEG)
> Sep 17 18:56:41 raspberrypi motion: [1] Selected palette YUYV
> Sep 17 18:56:41 raspberrypi motion: [1] Test palette YUYV (1280x720)
> Sep 17 18:56:41 raspberrypi motion: [1] Using palette YUYV (1280x720)
> bytesperlines 2560 sizeimage 1843200 colorspace 00000008
> Sep 17 18:56:41 raspberrypi motion: [1] found control 0x00980900,
> "Brightness", range 0,255
> Sep 17 18:56:41 raspberrypi motion: [1] #011"Brightness", default -8193,
> current 128
> Sep 17 18:56:41 raspberrypi motion: [1] found control 0x00980901,
> "Contrast", range 0,255
> Sep 17 18:56:41 raspberrypi motion: [1] #011"Contrast", default 57343,
> current 128
> Sep 17 18:56:41 raspberrypi motion: [1] found control 0x00980902,
> "Saturation", range 0,255
> Sep 17 18:56:41 raspberrypi motion: [1] #011"Saturation", default 57343,
> current 128
> Sep 17 18:56:41 raspberrypi motion: [1] found control 0x00980913,
> "Gain", range 0,255
> Sep 17 18:56:41 raspberrypi motion: [1] #011"Gain", default 57343,
> current 0
> Sep 17 18:56:41 raspberrypi motion: [1] Resizing pre_capture buffer to 1
> items
> Sep 17 18:57:03 raspberrypi motion: [1] Resizing pre_capture buffer to 3
> items
>
>
> (2) motion exits if I try to access the web stream at http://pi:8081/.
> I'm not too concerned about this issue because it's not something I
> intend to use once it all works.
>
> Cheers, Dave
>
>
>
>
> ------------------------------------------------------------------------------
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
-------------- next part --------------
An HTML attachment was scrubbed...

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

Message: 2
Date: Fri, 18 Sep 2015 06:37:07 +0000
From: Mike Wilson <[email protected]>
Subject: Re: [Motion-user] Permanent assign cam order: video0 / video1
        for USB cam1 / USB cam2
To: Motion discussion list <[email protected]>
Message-ID:
        <CAAVeUCp4X6S=w-td4rvmh3ayxbn_cybaspaiby53l9rzhsy...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

That part doesn't matter really, the part that matters is that you get a
rule to name it what you want. Check the section of this link about adding
udev controls if that will help better.
http://wiki.agocontrol.com/index.php/Ago_control_install_debian_wheezy

You need a rule to name it based on the id.

On Fri, Sep 18, 2015 at 2:10 AM Mariusz Ciszewski <
[email protected]> wrote:

> All my USB cameras are visible as /dev/vidX (not as HDD like it was
> mentalne in linked article).
> 18 wrz 2015 00:10 "Mike Wilson" <[email protected]> napisa?(a):
>
>> This is most likely going to come down to rules for udev. You can see
>> some example rules here:
>> http://www.reactivated.net/writing_udev_rules.html#example-camera
>>
>> On Thu, Sep 17, 2015 at 1:51 PM Mariusz Ciszewski <
>> [email protected]> wrote:
>>
>>> Hello.
>>>
>>>
>>> Is it possible somehow to force:
>>>
>>>
>>> /dev/video0 always for USB cam:
>>>
>>> Bus 001 Device 009: ID 041e:4052 Creative Technology, Ltd Live! Cam
>>> Vista IM
>>>
>>>
>>>
>>> /dev/video1 always for USB cam:
>>>
>>> Bus 001 Device 008: ID 041e:4069 Creative Technology, Ltd
>>>
>>>
>>> How to prevent rondom X for /dev/vidX (a few USB webcams) after system
>>> bacames restarted?
>>>
>>>
>>> Is it possible to connect a few cameras the same type, e. g.
>>>
>>> Bus 001 Device 008: ID 041e:4069 Creative Technology, Ltd
>>>
>>>
>>> and keep proper association video0 / video1 / video2 for USB cam1 / USB
>>> cam2 / USB cam3 ?
>>>
>>>
>>> Thank you for any hints.
>>>
>>>
>>> Best regards
>>>
>>> Mariusz
>>>
>>> ------------------------------------------------------------------------------
>>> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
>>> Get real-time metrics from all of your servers, apps and tools
>>> in one place.
>>> SourceForge users - Click here to start your Free Trial of Datadog now!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
>>> _______________________________________________
>>> Motion-user mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/motion-user
>>> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
>> Get real-time metrics from all of your servers, apps and tools
>> in one place.
>> SourceForge users - Click here to start your Free Trial of Datadog now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
>> _______________________________________________
>> Motion-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/motion-user
>> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>>
>>
> ------------------------------------------------------------------------------
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
-------------- next part --------------
An HTML attachment was scrubbed...

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

Message: 3
Date: Fri, 18 Sep 2015 09:43:16 +0300
From: ?ydr?nas Urbonas <[email protected]>
Subject: Re: [Motion-user] Permanent assign cam order: video0 / video1
        for USB cam1 / USB cam2
To: Motion discussion list <[email protected]>
Message-ID:
        <CACHTdwTOz93NT=cey9mwxponnh1yz2glzusfalpkbaz5gah...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Yeah, I had same issue when on boot two cameras got unpredictable "video*"
thus breaking motion configs.
So I used udev rule file to assign special names according to USB vendor
ids, like this:

SUBSYSTEM=="video4linux", ENV{ID_SERIAL}=="046d_0991_DE4250F2",
SYMLINK+="webcam0"
SUBSYSTEM=="video4linux", ENV{ID_SERIAL}=="046d_0825_77098E00",
SYMLINK+="webcam1"

And then I put /dev/webcam0 into motion's config nad I'm then sure I use
correct camera

HTH

On Thu, Sep 17, 2015 at 8:50 PM, Mariusz Ciszewski <
[email protected]> wrote:

> Hello.
>
>
> Is it possible somehow to force:
>
>
> /dev/video0 always for USB cam:
>
> Bus 001 Device 009: ID 041e:4052 Creative Technology, Ltd Live! Cam Vista
> IM
>
>
>
> /dev/video1 always for USB cam:
>
> Bus 001 Device 008: ID 041e:4069 Creative Technology, Ltd
>
>
> How to prevent rondom X for /dev/vidX (a few USB webcams) after system
> bacames restarted?
>
>
> Is it possible to connect a few cameras the same type, e. g.
>
> Bus 001 Device 008: ID 041e:4069 Creative Technology, Ltd
>
>
> and keep proper association video0 / video1 / video2 for USB cam1 / USB
> cam2 / USB cam3 ?
>
>
> Thank you for any hints.
>
>
> Best regards
>
> Mariusz
>
>
> ------------------------------------------------------------------------------
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
>
-------------- next part --------------
An HTML attachment was scrubbed...

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

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


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

_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user


End of Motion-user Digest, Vol 112, Issue 7
*******************************************

Reply via email to