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. how to achieve the mpeg1 in raspberry? (??)
2. Raspberry Cam and Motion 4 (Thomas Drebert)
3. Re: Raspberry Cam and Motion 4 (Adam Goryachev)
4. Re: Raspberry Cam and Motion 4 (tosiara)
5. Re: Raspberry Cam and Motion 4 (Joseph Heenan)
----------------------------------------------------------------------
Message: 1
Date: Sat, 17 Dec 2016 23:55:32 +0800 (CST)
From: ?? <[email protected]>
Subject: [Motion-user] how to achieve the mpeg1 in raspberry?
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="gbk"
[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3482368 LIBAVFORMAT_BUILD 3478785
[0] Thread 1 is from /etc/motion/motion.conf
[0] Webcam port number 8080 for thread 1 conflicts with the control port
[0] Webcam feature for thread 1 is disabled.
[1] Thread 1 started
[0] motion-httpd/3.2.12 running, accepting connections
[1] cap.driver: "uvcvideo"
[0] motion-httpd: waiting for data on port TCP 8080
[1] cap.card: "USB2.0 PC CAMERA"
[1] cap.bus_info: "usb-3f980000.usb-1.2"
[1] cap.capabilities=0x84200001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Config palette index 8 (YU12) doesn't work.
[1] Supported palettes:
[1] 0: YUYV (YUV 4:2:2 (YUYV))
[1] Selected palette YUYV
[1] Test palette YUYV (640x480)
[1] Using palette YUYV (640x480) bytesperlines 1280 sizeimage 614400 colorspace
00000000
[1] found control 0x00980900, "Brightness", range 0,255
[1] "Brightness", default -8193, current 128
[1] found control 0x00980901, "Contrast", range 0,255
[1] "Contrast", default 57343, current 135
[1] found control 0x00980902, "Saturation", range 0,255
[1] "Saturation", default 57343, current 75
[1] found control 0x00980903, "Hue", range -127,127
[1] "Hue", default -8193, current 0
[1] found control 0x00980910, "Gamma", range 1,8
[1] "Gamma", default 57343, current 4
[1] mmap information:
[1] frames=4
[1] 0 length=614400
[1] 1 length=614400
[1] 2 length=614400
[1] 3 length=614400
[1] Using V4L2
[1] Resizing pre_capture buffer to 1 items
[1] Resizing pre_capture buffer to 3 items
[1] *** mpeg1 support for normal videos has been disabled ***
[1] ffopen_open error creating (new) file [/home/motion/01-20161217212640]:
Invalid argument
[1] File of type 1 saved to: /home/motion/01-20161217212640-02.jpg
[1] File of type 1 saved to: /home/motion/01-20161217212640-03.jpg
[1] Thread exiting
[1] Calling vid_close() from motion_cleanup
[1] Closing video device /dev/video0
[0] Motion thread 1 restart
[1] Thread 1 started
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Mon, 19 Dec 2016 12:42:18 +0100
From: Thomas Drebert <[email protected]>
Subject: [Motion-user] Raspberry Cam and Motion 4
To: Motion discussion list <[email protected]>
Message-ID:
<CANn+32h=zKuBJQqnXtG0mMS8MUbfS-x8NL3CjP5c=zgibua...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hello,
Which resolution can be set at motion with Rpi3 and Cam V2?
The only resolution work by me is 1632x1232.
Where does this resolution come from, I find in the documents no evidence.
regards
ThomasD
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 3
Date: Tue, 20 Dec 2016 00:09:36 +1100
From: Adam Goryachev <[email protected]>
Subject: Re: [Motion-user] Raspberry Cam and Motion 4
To: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="windows-1252"
On 19/12/16 22:42, Thomas Drebert wrote:
> Hello,
>
> Which resolution can be set at motion with Rpi3 and Cam V2?
> The only resolution work by me is 1632x1232.
> Where does this resolution come from, I find in the documents no evidence.
Hi,
I've spent a lot of time wondering and researching the same problem. My
biggest issue is to discover the best resolution which will also give
the biggest field of view.
In any case, I use mjpg_streamer (which streams to motion on another
computer) with this resolution:
-x 1392 -y 1040
I've also got a "test" rpi running motion locally which is working with
this:
width 1536
height 864
I'll give your values a try in the next few days, and see if that
provides a better solution... Please do share again if you find better
resolutions that will work...
Regards,
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 4
Date: Mon, 19 Dec 2016 15:56:52 +0200
From: tosiara <[email protected]>
Subject: Re: [Motion-user] Raspberry Cam and Motion 4
To: Motion discussion list <[email protected]>
Message-ID:
<CACHTdwRXtoVEJ8q-VAAa8OekMhQ-o4=eejjpx8-ytqvrmh8...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Does raspi cam follow V4L standards? If so you can query available formats
by running:
apt-get install v4l-utils
v4l2-ctl --list-formats-ex
If some of the listed resolutions does not work for you - please share what
kind of error do you get
On Mon, Dec 19, 2016 at 3:09 PM, Adam Goryachev <
[email protected]> wrote:
>
>
> On 19/12/16 22:42, Thomas Drebert wrote:
>
> Hello,
>
> Which resolution can be set at motion with Rpi3 and Cam V2?
> The only resolution work by me is 1632x1232.
> Where does this resolution come from, I find in the documents no evidence.
>
>
> Hi,
> I've spent a lot of time wondering and researching the same problem. My
> biggest issue is to discover the best resolution which will also give the
> biggest field of view.
>
> In any case, I use mjpg_streamer (which streams to motion on another
> computer) with this resolution:
> -x 1392 -y 1040
>
> I've also got a "test" rpi running motion locally which is working with
> this:
> width 1536
> height 864
>
> I'll give your values a try in the next few days, and see if that provides
> a better solution... Please do share again if you find better resolutions
> that will work...
>
> Regards,
> Adam
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> 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: 5
Date: Mon, 19 Dec 2016 23:03:11 +0900
From: Joseph Heenan <[email protected]>
Subject: Re: [Motion-user] Raspberry Cam and Motion 4
To: Motion discussion list <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"
I don't believe it uses V4L.
raspi cam is a quite separate interface; motion faithfully follows the native
raspicam tools.
See https://www.raspberrypi.org/documentation/usage/camera/raspicam/README.md
etc.
Joseph
> On 19 Dec 2016, at 22:56, tosiara <[email protected]> wrote:
>
> Does raspi cam follow V4L standards? If so you can query available formats by
> running:
>
> apt-get install v4l-utils
> v4l2-ctl --list-formats-ex
>
> If some of the listed resolutions does not work for you - please share what
> kind of error do you get
>
> On Mon, Dec 19, 2016 at 3:09 PM, Adam Goryachev
> <[email protected]
> <mailto:[email protected]>> wrote:
>
>
> On 19/12/16 22:42, Thomas Drebert wrote:
>> Hello,
>>
>> Which resolution can be set at motion with Rpi3 and Cam V2?
>> The only resolution work by me is 1632x1232.
>> Where does this resolution come from, I find in the documents no evidence.
>
> Hi,
> I've spent a lot of time wondering and researching the same problem. My
> biggest issue is to discover the best resolution which will also give the
> biggest field of view.
>
> In any case, I use mjpg_streamer (which streams to motion on another
> computer) with this resolution:
> -x 1392 -y 1040
>
> I've also got a "test" rpi running motion locally which is working with this:
> width 1536
> height 864
>
> I'll give your values a try in the next few days, and see if that provides a
> better solution... Please do share again if you find better resolutions that
> will work...
>
> Regards,
> Adam
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> <http://sdm.link/slashdot>
> _______________________________________________
> Motion-user mailing list
> [email protected] <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/motion-user
> <https://lists.sourceforge.net/lists/listinfo/motion-user>
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
> <http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org!
> http://sdm.link/slashdot_______________________________________________
> 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...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3577 bytes
Desc: not available
------------------------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
------------------------------
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
End of Motion-user Digest, Vol 127, Issue 9
*******************************************