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: horizontal lines (Ole Andreas Gl?ersen)
   2. Re: Ability to turn off motion detection but still export
      mjpeg webcam stream? (Jay Summet)
   3. Issue with udev. (Mariusz Ciszewski)
   4. Re: Issue with udev. (tosiara)
   5. Re: horizontal lines (tosiara)


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

Message: 1
Date: Sat, 5 Dec 2015 20:52:20 +0100
From: Ole Andreas Gl?ersen <[email protected]>
Subject: Re: [Motion-user] horizontal lines
To: Motion discussion list <[email protected]>
Message-ID:
        <CAE+3HzZC_VfafG=tnfp1t86vfdcj159e69m83to+wxaxrnx...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Do you use rtsp stream?

I do and have much bigger horizontal move of pictures. I use dual core
Orange Pi with Gb Ethernet. I read that decoding rtsp stream needs lot of
CPU power (than mjpeg) so I believe it can be related to CPU power.

Best regards
Ole Andreas
4. des. 2015 6.52 p.m. skrev "Harlan Daneker" <[email protected]>:

> Hi:
>
>
> Does anybody know why I am getting these horizontal lines around areas
> where there is motion?
> http://www.htd.dns2go.com/163800.avi
>
> I'm using this capture card,
>
> http://store.bluecherry.net/product/pv-149-4-port-video-capture-card-120fps-realtime-recording/?v=7516fd43adaa
> with 4 inexpensive cameras.
>
> Originally it didn't do this.
>
>
> Thanks,
>
> Harlan
>
>
> ------------------------------------------------------------------------------
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&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: Sat, 5 Dec 2015 16:59:01 -0500
From: Jay Summet <[email protected]>
Subject: Re: [Motion-user] Ability to turn off motion detection but
        still export mjpeg webcam stream?
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed



On 12/05/2015 12:04 PM, tosiara wrote:
> Stream MJPEG using VLC:
>
That's a bear of a command line (which got me headed in the right 
direction to make this work for my camera):


/usr/bin/vlc -I dummy -vvv v4l2:///dev/video0 --sout 
'#transcode{vcodec=MJPG,vb=400,scale=1,width=640,height=480}:standard{access=http,mux=mpjpeg,dst=0.0.0.0:8080}'
 
 
--sout-http-mime="multipart/x-mixed-replace;boundary=7b3cc56e5f51db803f790dad720ed50a"

Unfortunately, VLC took 40% of my CPU to encode/stream this, while 
motion is taking only 10-12%! (Go motion!)  Plus, motion is already set 
up in a nice service I can auto start/stop/restart, and I'd have to set 
the same thing up for the VLC command above... but mostly, more CPU time 
is bad....


> Disable motion detection at runtime:
> http://www.lavrsen.dk/foswiki/bin/view/Motion/MotionGuideBasicFeatures#Remote_Control_with_http
>
> curl -s http://localhost:8080/0/detection/pause > /dev/null
>

Thank you!  I had disabled the HTTP remote control because I didn't 
think I needed it, but that is exactly what I was looking for (actually, 
I'd like a startWithDetectionPaused ON config file option, but this and 
a crontab is close enough).

Unfortunately, it appears that the actual detection of motion is about 
1% of the CPU usage, and the encoding to a mjpg stream is the other 10% 
of CPU usage, so it turns out it's not really worth disabling.


> But I recommend you fixing mjpg_streamer, it will give you best
> performance. Especially if camera supports hardware mjpeg format
>
>
The problem is that my camera does NOT support hardware mjpeg output, 
but I am now considering just throwing money at the problem and 
purchasing a better camera that does to offload the CPU hit.

Or maybe I'll just accept the 10% continuous CPU usage and move on....as 
I said above, it doesn't look like the motion detection routines are 
adding significantly to the overhead.

Thanks,
Jay



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

Message: 3
Date: Sun, 6 Dec 2015 10:49:06 +0100
From: Mariusz Ciszewski <[email protected]>
Subject: [Motion-user] Issue with udev.
To: Motion discussion list <[email protected]>
Message-ID:
        <CAOpAQyKjGU1nd8LXBkmTS_UkJ2U8d_FT=dugnbekzxxkh6k...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Dear Motion users, maybe some of you could help me with udev.


My udev infor for video0 and video1:

http://pastebin.com/3KkXCwiG
http://pastebin.com/76dS2qAm


Then I set here:

nano ls /etc/udev/rules.d/usb-cam.rules

http://pastebin.com/CA8wkqAT


After rules reload:

udevadm control --reload-rules


I can see only webcam0:

root@LT310:~# ls /dev/web*
/dev/webcam0


Any ideas how to force udev working with both of video0 and video1 cameras?

Thank you and best regards

Mariusz
-------------- next part --------------
An HTML attachment was scrubbed...

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

Message: 4
Date: Sun, 6 Dec 2015 12:06:54 +0200
From: tosiara <[email protected]>
Subject: Re: [Motion-user] Issue with udev.
To: Motion discussion list <[email protected]>
Message-ID:
        <CACHTdwSGcNxFXMGMRm4BXpLLxmmBZf75ZK=6kygbfuu7x_w...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Use udevadm to test your rule

On Sun, Dec 6, 2015 at 11:49 AM, Mariusz Ciszewski <
[email protected]> wrote:

> Dear Motion users, maybe some of you could help me with udev.
>
>
> My udev infor for video0 and video1:
>
> http://pastebin.com/3KkXCwiG
> http://pastebin.com/76dS2qAm
>
>
> Then I set here:
>
> nano ls /etc/udev/rules.d/usb-cam.rules
>
> http://pastebin.com/CA8wkqAT
>
>
> After rules reload:
>
> udevadm control --reload-rules
>
>
> I can see only webcam0:
>
> root@LT310:~# ls /dev/web*
> /dev/webcam0
>
>
> Any ideas how to force udev working with both of video0 and video1 cameras?
>
> Thank you and best regards
>
> Mariusz
>
>
> ------------------------------------------------------------------------------
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&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: 5
Date: Sun, 6 Dec 2015 15:09:51 +0200
From: tosiara <[email protected]>
Subject: Re: [Motion-user] horizontal lines
To: Motion discussion list <[email protected]>
Message-ID:
        <cachtdwq_xaqxdzbxp046kh034x41qmqdka6pmoynuuzzjne...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I believe this may be related to a bug with threaded config. At least those
stripes look familiar to me:
http://www.lavrsen.dk/foswiki/bin/view/Motion/SupportQuestion2012x02x27x155712

I can only suggest you to update motion to the latest trunk from github and
reproduce again
If it is still reproducible, file a bug on github, attach your config and
full log

On Fri, Dec 4, 2015 at 7:50 PM, Harlan Daneker <[email protected]> wrote:

> Hi:
>
>
> Does anybody know why I am getting these horizontal lines around areas
> where there is motion?
> http://www.htd.dns2go.com/163800.avi
>
> I'm using this capture card,
>
> http://store.bluecherry.net/product/pv-149-4-port-video-capture-card-120fps-realtime-recording/?v=7516fd43adaa
> with 4 inexpensive cameras.
>
> Originally it didn't do this.
>
>
> Thanks,
>
> Harlan
>
>
> ------------------------------------------------------------------------------
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&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...

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

------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140

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

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


End of Motion-user Digest, Vol 115, Issue 2
*******************************************

Reply via email to