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: Lines on displayed image (MrDave)
----------------------------------------------------------------------
Message: 1
Date: Wed, 27 Dec 2017 11:38:15 -0700
From: MrDave <[email protected]>
To: [email protected]
Subject: Re: [Motion-user] Lines on displayed image
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
It also looks like you have the height/width swapped within the Motion
configuration file.? See the section where it is "Testing" vs "Using".?
This could be why the netcam option isn't working.
On 12/27/2017 11:19 AM, tosiara wrote:
> You can upload the video to some file hosting like Google Drive
>
> I expect this command to return all possible resolutions and pixel
> formats, like this:
>
> $ v4l2-ctl -d /dev/video0 --list-formats-ex
> ioctl: VIDIOC_ENUM_FMT
> ??? Index?????? : 0
> ??? Type??????? : Video Capture
> ??? Pixel Format: 'YUYV'
> ??? Name??????? : YUYV 4:2:2
> ??? ??? Size: Discrete 640x480
> ??? ??? ??? Interval: Discrete 0.033s (30.000 fps)
> ??? ??? ??? Interval: Discrete 0.067s (15.000 fps)
> ??? ??? Size: Discrete 160x120
> ??? ??? ??? Interval: Discrete 0.033s (30.000 fps)
> ??? ??? ??? Interval: Discrete 0.067s (15.000 fps)
> ??? ??? Size: Discrete 176x144
> ??? ??? ??? Interval: Discrete 0.033s (30.000 fps)
> ??? ??? ??? Interval: Discrete 0.067s (15.000 fps)
> ??? ??? Size: Discrete 320x240
> ??? ??? ??? Interval: Discrete 0.033s (30.000 fps)
> ??? ??? ??? Interval: Discrete 0.067s (15.000 fps)
> ??? ??? Size: Discrete 352x288
> ??? ??? ??? Interval: Discrete 0.033s (30.000 fps)
> ??? ??? ??? Interval: Discrete 0.067s (15.000 fps)
> ??? ??? Size: Discrete 1280x720
> ??? ??? ??? Interval: Discrete 0.100s (10.000 fps)
> ??? ??? Size: Discrete 1280x800
> ??? ??? ??? Interval: Discrete 0.100s (10.000 fps)
>
> ??? Index?????? : 1
> ??? Type??????? : Video Capture
> ??? Pixel Format: 'MJPG' (compressed)
> ??? Name??????? : Motion-JPEG
> ??? ??? Size: Discrete 640x480
> ??? ??? ??? Interval: Discrete 0.033s (30.000 fps)
> ??? ??? ??? Interval: Discrete 0.067s (15.000 fps)
> ??? ??? Size: Discrete 160x120
> ??? ??? ??? Interval: Discrete 0.033s (30.000 fps)
> ??? ??? ??? Interval: Discrete 0.067s (15.000 fps)
> ??? ??? Size: Discrete 176x144
> ??? ??? ??? Interval: Discrete 0.033s (30.000 fps)
> ??? ??? ??? Interval: Discrete 0.067s (15.000 fps)
> ??? ??? Size: Discrete 320x240
> ??? ??? ??? Interval: Discrete 0.033s (30.000 fps)
> ??? ??? ??? Interval: Discrete 0.067s (15.000 fps)
> ??? ??? Size: Discrete 352x288
> ??? ??? ??? Interval: Discrete 0.033s (30.000 fps)
> ??? ??? ??? Interval: Discrete 0.067s (15.000 fps)
> ??? ??? Size: Discrete 1280x720
> ??? ??? ??? Interval: Discrete 0.033s (30.000 fps)
> ??? ??? Size: Discrete 1280x800
> ??? ??? ??? Interval: Discrete 0.033s (30.000 fps)
>
>
>
> On Wed, Dec 27, 2017 at 8:04 PM, Timothy Buchanan
> <[email protected] <mailto:[email protected]>> wrote:
>
> That command? returns the following:
>
> Index: 0
>
> Type: Video? Capture
>
> Pixel format: ?YUYV?
>
> Name: YUYV 4:2:2
>
> I?ve attached the output from motion.log, also the camera3.conf
> file. I? made an avi file with vlc, but? it? is? too big to? send
> even when compressed.
>
> Timothy
>
> *From: *tosiara <[email protected] <mailto:[email protected]>>
> *Reply-To: *Motion discussion list
> <[email protected]
> <mailto:[email protected]>>
> *Date: *Wednesday, December 27, 2017 at 6:47 AM
>
>
> *To: *Motion discussion list <[email protected]
> <mailto:[email protected]>>
> *Subject: *Re: [Motion-user] Lines on displayed image
>
> Timothy,
>
> can you collect the following info:
>
> output of "v4l2-ctl -d /dev/video0 --list-formats-ex"
>
> a short sample video 2-3 seconds?
>
> during motion run do you see any USB related messages in syslog
> (like URB packet error)?
>
> Those lines look like a wrong bytes being written into buffer of
> there could be incomplete or truncated frames coming. If you don't
> see those lines in VLC that could mean you are using different
> resolution/pixel format with the player
>
> On Wed, Dec 27, 2017 at 1:57 AM, MrDave <[email protected]
> <mailto:[email protected]>> wrote:
>
> I'll add a issue to the project to address the abort. (There
> is already a bug filed upstream in ffmpeg on it).
>
> It is surprising this option does not function.? There are
> only two options that are specified in Motion for this
> method.? The dimensions(height/width) and the framerate.? If
> you try a `ffprobe` of the device, it should report the device
> defaults on these and you can try those as the configuration
> options in Motion.
>
> MrDave
>
> On 12/26/2017 10:14 AM, Timothy Buchanan wrote:
>
> I upgraded to 4.1.1. Using netcam_url v4l2:///dev/video1
> and each palette 0 through 17 and 21, I get ?unable to
> open video device,? except with palette 8, which causes a
> program abort. Running ffplay ?f /dev/video1 produces a
> good image, though I get repeated warnings that the
> dequeued vl42 buff contains corrupted data (691200 bytes).
> Suggestions? Thanks.
>
> Timothy
>
> *From: *MrDave <[email protected]>
> <mailto:[email protected]>
> *Reply-To: *Motion discussion list
> <[email protected]>
> <mailto:[email protected]>
> *Date: *Sunday, December 24, 2017 at 2:12 PM
> *To: *<[email protected]>
> <mailto:[email protected]>
> *Subject: *Re: [Motion-user] Lines on displayed image
>
> Yes, the v4l2 via the netcam_url option functionality was
> added starting in version 4.1 so it will not work with 4.0.
>
> Regarding the? "unhelpful" message on the standard being
> set.? 45056 means it set it to V4L2_STD_NTSC.? Other video
> standards Motion may report are 16711680 for
> V4L2_STD_SECAM and 255 for V4L2_STD_PAL.? (This is legacy
> code to print the number rather than a readable message).
>
> This is the first that I've heard of a usb device
> reporting options to use different video standards so
> changing that parameter may assist.
>
> MrDave
>
> On 12/24/2017 11:46 AM, Timothy Buchanan wrote:
>
> I decided to start again from scratch by installing
> stretch (had been using Jessie). The included
> add/remove GUI installed motion 4.0, not 4.1. That
> version?s motion.conf offers the netcam option, but
> using netcam_url v4l2:///dev/video0 returns a gray
> image with the error ?could not open.? Is it only 4.1
> that works with netcam? Curiously, vlc media player
> will open the camera and display v4l2:///dev/video0
> when doing so.
>
> As to the usb-to-analog device, it is the UCEC adapter
> sold on amazon and has the UTV007 chipset. I have not
> installed any drivers. Where would I find the driver
> Linux is using?
>
> Thanks again for help.
>
> Timothy
>
> *From: *tosiara <[email protected]>
> <mailto:[email protected]>
> *Reply-To: *Motion discussion list
> <[email protected]>
> <mailto:[email protected]>
> *Date: *Thursday, December 21, 2017 at 9:59 AM
> *To: *Motion discussion list
> <[email protected]>
> <mailto:[email protected]>
> *Subject: *Re: [Motion-user] Lines on displayed image
>
> I have had some issues with usb-to-analog devices,
> like Easycap and similar. At that time indeed only
> motion had those issues, but after some changes in the
> driver the issues were resolved. So it could be some
> compatibility with the hardware's driver. Can you
> provide more details what kind of capture card you are
> using?
>
> As a workaround you can use the way MrDave mentioned -
> capture through the netcam. Specify this url:
> netcam_url v4l2:///dev/video0
>
> Please report back if you still get corrupted image
> using netcam
>
> On Thu, Dec 21, 2017 at 6:43 PM, Timothy Buchanan
> <[email protected]
> <mailto:[email protected]>> wrote:
>
> MrDave and tosiara, thanks for help. I?ve attached
> the motion log and output of one of the cameras
> (there are three, but all the same) to the command
> v4l2-ctl -d /dev/video0 ?all.
>
> Palette YUYV seems to be the only one supported,
> and that is chosen. I set the config to use NTSC,
> but it always chooses ?standard method 45056.? I
> don?t find any info on that.
>
> Do you see problems in the output files I?ve
> attached? Thanks again.
>
> timothy
>
>
>
>
>
> ------------------------------------------------------------------------------
> 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]
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/motion-user
> <https://lists.sourceforge.net/lists/listinfo/motion-user>
> https://motion-project.github.io/
> <https://motion-project.github.io/>
>
> Unsubscribe:
> https://lists.sourceforge.net/lists/options/motion-user
> <https://lists.sourceforge.net/lists/options/motion-user>
>
>
> ------------------------------------------------------------------------------
> 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>
> https://motion-project.github.io/
> <https://motion-project.github.io/> Unsubscribe:
> https://lists.sourceforge.net/lists/options/motion-user
> <https://lists.sourceforge.net/lists/options/motion-user>
>
>
>
>
> ------------------------------------------------------------------------------
>
> 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]
> <mailto:[email protected]>
>
> https://lists.sourceforge.net/lists/listinfo/motion-user
> <https://lists.sourceforge.net/lists/listinfo/motion-user>
>
> https://motion-project.github.io/
> <https://motion-project.github.io/>
>
>
>
>
> Unsubscribe:https://lists.sourceforge.net/lists/options/motion-user
> <https://lists.sourceforge.net/lists/options/motion-user>
>
>
>
> ------------------------------------------------------------------------------
> 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>
> https://motion-project.github.io/
> <https://motion-project.github.io/> Unsubscribe:
> https://lists.sourceforge.net/lists/options/motion-user
> <https://lists.sourceforge.net/lists/options/motion-user>
>
>
>
>
> ------------------------------------------------------------------------------
>
> 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]
> <mailto:[email protected]>
>
> https://lists.sourceforge.net/lists/listinfo/motion-user
> <https://lists.sourceforge.net/lists/listinfo/motion-user>
>
> https://motion-project.github.io/
> <https://motion-project.github.io/>
>
>
>
>
> Unsubscribe:https://lists.sourceforge.net/lists/options/motion-user
> <https://lists.sourceforge.net/lists/options/motion-user>
>
>
>
> ------------------------------------------------------------------------------
> 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]
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/motion-user
> <https://lists.sourceforge.net/lists/listinfo/motion-user>
> https://motion-project.github.io/
> <https://motion-project.github.io/>
>
> Unsubscribe:
> https://lists.sourceforge.net/lists/options/motion-user
> <https://lists.sourceforge.net/lists/options/motion-user>
>
>
> ------------------------------------------------------------------------------
> 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>
> https://motion-project.github.io/
> <https://motion-project.github.io/> Unsubscribe:
> https://lists.sourceforge.net/lists/options/motion-user
> <https://lists.sourceforge.net/lists/options/motion-user>
>
>
>
> ------------------------------------------------------------------------------
> 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]
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/motion-user
> <https://lists.sourceforge.net/lists/listinfo/motion-user>
> https://motion-project.github.io/ <https://motion-project.github.io/>
>
> Unsubscribe:
> https://lists.sourceforge.net/lists/options/motion-user
> <https://lists.sourceforge.net/lists/options/motion-user>
>
>
>
>
> ------------------------------------------------------------------------------
> 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
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
------------------------------
Subject: Digest Footer
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
------------------------------
End of Motion-user Digest, Vol 138, Issue 23
********************************************