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: Blurry image after few seconds (Clara Anton)
2. Re: Lines on displayed image (MrDave)
----------------------------------------------------------------------
Message: 1
Date: Tue, 26 Dec 2017 22:25:57 +0100
From: Clara Anton <[email protected]>
To: [email protected]
Subject: Re: [Motion-user] Blurry image after few seconds
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Some more info that might (or not) be useful.
I switched off saving videos, so it would only save images
(output_pictures center), and the images look quite ok. However it keeps
detecting motion when there is no motion (about three times per minute)
even when I have the option event_gap set up to 60.
On 26. des. 2017 16:05, Clara Anton wrote:
>
> Hi,
>
> I am using motion 4.1.1+dirty20171217-35cd0b3 (from source) on
> raspbian stretch. I am trying to monitor a uniti G3 camera through rtsp.
>
> After starting motion (rtsp_uses_tcp on) I get a short video where
> everything looks fine. When an event starts (not a real event but it
> detects something) I get a video where the upper half (approximately)
> of the image looks fine and the other half blurred. I think the change
> in the quality of the image triggers an event.
>
> If I run ffmpeg -rtsp_transport tcp? -i rtsp://some.ip -acodec copy
> -vcodec copy /media/pi/motion/lala2.mp4 everything looks fine (I run
> it for about 1 min), no error, perfect image.
>
> My log (level 6) looks fine, but on level 9 I get lots of errors like this
>
> [3:nc3] [INF] [ENC] [Dec 25 20:45:46] ffmpeg_avcodec_log: error while
> decoding MB 103 26, bytestream -6
>
>
> Which I don't get if I just run ffmpeg (with the example above). Any help
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Tue, 26 Dec 2017 16:57:45 -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"
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]>
> *Reply-To: *Motion discussion list <[email protected]>
> *Date: *Sunday, December 24, 2017 at 2:12 PM
> *To: *<[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://motion-project.github.io/
>
> Unsubscribe:
> 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://motion-project.github.io/ Unsubscribe:
> 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://motion-project.github.io/
>
> Unsubscribe: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
>
>
>
> ------------------------------------------------------------------------------
> 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 15
********************************************