Send Motion-user mailing list submissions to
        motion-user@lists.sourceforge.net

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
        motion-user-requ...@lists.sourceforge.net

You can reach the person managing the list at
        motion-user-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."


Today's Topics:

   1. Re: embed the Live Stream in Apache's html
      (motionl...@frontdesign.com)
   2. Re: embed the Live Stream in Apache's html (Saito.k)
   3. Re: embed the Live Stream in Apache's html
      (motionl...@frontdesign.com)
   4. Re: Raspberry zero kernel panic BCM2835 (andrea zambon)


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

Message: 1
Date: Sun, 11 Feb 2018 14:29:56 +0100
From: motionl...@frontdesign.com
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] embed the Live Stream in Apache's html
Message-ID: <462071b5-6944-2824-a435-f1bbdbc3e...@frontdesign.com>
Content-Type: text/plain; charset=utf-8; format=flowed

Hello.

Background; I have a cam or two in a remote place with only outgoing 
mobile broad band. I cannot contact them from the outsides directly.

To solve that;
OpenVPN From place/server A to server B on a different part of internet, 
at home as an example ;)

Motion on server A serves up a couple of standard motion stream in my 
case on 8082 and 8081.

On server B i have a reverse proxy in apache's .htaccess 
(https://httpd.apache.org/docs/2.4/rewrite/proxy.html) for that webpage 
like so;

/home/username/public_html/.htaccess:

AuthType Basic
AuthName "Restricted Files"
# (Following line optional)
AuthBasicProvider file
AuthUserFile /home/username/.htpasswd
Require user username

Options +Indexes
<IfModule mod_rewrite.c>
 ? ReWriteEngine On
 ? ReWriteRule livecam1/ http://ServerA_internal_vpn_IP:8082 [P]
 ? ReWriteRule livecam2/ http://ServerA_internal_vpn_IP:8081 [P]
</IfModule>

IE When ever i access "http://serverB/livecam1/"; serverB goes to serverA 
over vpn and streams the content back to me - and not telling me what is 
happening. For the client, me, it sure looks like serverB has all the 
content already.

And in the page that serves up content i have links that i click to see 
the different live feeds (saving bandwidth not streaming all the time).

Bonus;

I have featherlight lightbox js include to display in a "window" 
hovering the normal window, not to mess with popup blockers and such.
A caveat; after displaying the featherlight lightbox with the stream and 
closing it, the stream isn't closed just hidden sortof. Never could 
figure it out it still continues to load even though nothing is displayed.
So I added this to featherlight to hack around that issue (works since i 
don't have anything else running on that page):

featherlight.js

 ??? afterClose: function(event){window.stop();},??????????????? /* 
Called after close. Gets event as parameter, this contains all data */

Hope it helps.

BR
Lars


On 2018-02-11 11:11, Saito.k wrote:
> Hi all
>
> I would like to embed the Live Stream of motion into apache's hrml.
>
> I set motion stream_port to 8080 and write below in Apache index.html
> I was able to deliver streaming.
>
> <IFRAME src = "http: // domain name: 8080" align = "center" width = 
> "640" height = "480" scrolling = "no"
> frameborder = no marginheight = "0px" </ IFRAME>
>
> However, with this method, the line becomes very heavy whether it is 
> wastefully transmitting data.
>
> I could not distribute the domain name part to localhost or 127.0.0.1.
>
> How can I embed the live stream of motion into Apache's html?
>
> Thank you
>




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

Message: 2
Date: Mon, 12 Feb 2018 11:00:31 +0900
From: "Saito.k" <sait...@ibara.ne.jp>
To: motion <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] embed the Live Stream in Apache's html
Message-ID: <29255f45-c76e-7618-34fc-cc3cad5fa...@ibara.ne.jp>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi Lars
Thank you for your response

I have no knowledge of reverse proxy, so I can not understand your 
proposal. From now on, I will study.

However, my ultimate goal is to trigger CGI on the server by clicking 
the browser button.
By your way, can I do this?

Thank you.

-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/
   Kazz Saito




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

Message: 3
Date: Mon, 12 Feb 2018 11:16:33 +0100
From: motionl...@frontdesign.com
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] embed the Live Stream in Apache's html
Message-ID: <804c67dd-20cd-cdc3-0765-fe0e42ce6...@frontdesign.com>
Content-Type: text/plain; charset=utf-8; format=flowed

I might have missed the mark a bit.

Reconfigure motion to listen on * instead of limited to 127.0.0.1 and 
then use the external ip in your html link to display the stream.

http://www.lavrsen.dk/foswiki/bin/view/Motion/ConfigOptionStreamLocalhost

BR
Lars


On 2018-02-12 03:00, Saito.k wrote:
> Hi Lars
> Thank you for your response
>
> I have no knowledge of reverse proxy, so I can not understand your 
> proposal. From now on, I will study.
>
> However, my ultimate goal is to trigger CGI on the server by clicking 
> the browser button.
> By your way, can I do this?
>
> Thank you.
>




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

Message: 4
Date: Mon, 12 Feb 2018 12:16:12 +0100
From: andrea zambon <zamby....@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Raspberry zero kernel panic BCM2835
Message-ID:
        <caojjleb97s7vgjemw4dbwhzho9ekl4_ntgkebhhpuczbwab...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

 Hi,
I do not think it's a motion software problem.
I tried raspbian and I get the same problem.
Also the problem is run for some software use the camera, raspstill ...
motion ... etc ...
Maybe I have a hardware problem?

2018-02-10 4:47 GMT+01:00 MrDave <motionmrd...@gmail.com>:

> There were some revisions to the v4l2 portion of Motion recently so you
> would need to compile and try the latest code from the master branch.  If
> it persists with the latest code , open a issue on the github site with a
> full log at the INF level illustrating open to crash.  Note it *must *be
> using the latest master branch code.
>
> Dave
>
>
> On 2/9/2018 2:46 AM, andrea zambon wrote:
>
>  I'm using archlinux raspberry 1 version with motion compiled by AUR and
> mmal active, but also with the last raspian I have stability problems.
>
> 2018-02-09 10:15 GMT+01:00 andrea zambon <zamby....@gmail.com>:
>
>> Often the raspberry has crashed when movement is running.
>>
>>
>> Feb 09 08:48:14 alarmpi motion[239]: [1:ml1] [NTC] [EVT] event_newfile:
>> File of type 1 saved to: /var/motion/20180209084814-00-05.jpg
>> Feb 09 08:48:14 alarmpi motion[239]: [1:ml1] [NTC] [EVT] event_newfile:
>> File of type 1 saved to: /var/motion/20180209084814-01-05.jpg
>> Feb 09 08:48:15 alarmpi motion[239]: [1:ml1] [NTC] [EVT] event_newfile:
>> File of type 1 saved to: /var/motion/20180209084815-00-05.jpg
>> Feb 09 08:48:15 alarmpi motion[239]: [1:ml1] [NTC] [EVT] event_newfile:
>> File of type 1 saved to: /var/motion/20180209084815-01-05.jpg
>> Feb 09 08:48:16 alarmpi kernel: Unable to handle kernel paging request at
>> virtual address 01e3a160
>> Feb 09 08:48:16 alarmpi kernel: pgd = 80004000
>> Feb 09 08:48:16 alarmpi kernel: [01e3a160] *pgd=00000000
>> Feb 09 08:48:16 alarmpi kernel: Internal error: Oops: 5 [#1] SMP ARM
>> Feb 09 08:48:16 alarmpi kernel: Modules linked in: ppp_deflate bsd_comp
>> ppp_async crc_ccitt ppp_generic slhc rtc_ds1307 hwmon brcmfmac brcmutil
>> cfg80211 sr_mod cdrom option usb_wwan usbserial i2c_bcm2835 bcm2835_gpiomem
>> bcm2835_rng rng_core uio_pdrv_genirq fixed uio sch_fq_codel binfmt_misc
>> bcm2835_v4l2 v4l2_common videobuf2_vmalloc videobuf2_memops videobuf2_v4l2
>> videobuf2_core videodev media snd_bcm2835 snd_pcm snd_timer snd ip_tables
>> x_tables ipv6
>> Feb 09 08:48:16 alarmpi kernel: CPU: 0 PID: 0 Comm: swapper/0 Not tainted
>> 4.9.79-2-ARCH #1
>> Feb 09 08:48:16 alarmpi kernel: Hardware name: BCM2835
>> Feb 09 08:48:16 alarmpi kernel: task: 80f066c0 task.stack: 80f00000
>> Feb 09 08:48:16 alarmpi kernel: PC is at rcu_idle_enter+0x10/0x68
>> Feb 09 08:48:16 alarmpi kernel: LR is at cpu_startup_entry+0xdc/0x15c
>> Feb 09 08:48:16 alarmpi kernel: pc : [<80188430>]    lr : [<8016ebb4>]
>> psr: 60000093
>>                                 sp : 80f01f98  ip : 02c4f4b1  fp :
>> 97fffa00
>> Feb 09 08:48:16 alarmpi kernel: r10: 80c0f968  r9 : 80f98aa2  r8 :
>> 80f03120
>> Feb 09 08:48:16 alarmpi kernel: r7 : 00000001  r6 : 80f030b4  r5 :
>> ffffe000  r4 : 60000093
>> Feb 09 08:48:16 alarmpi kernel: r3 : 80e6a470  r2 : 80fcfcf0  r1 :
>> 00000000  r0 : 00000000
>> Feb 09 08:48:16 alarmpi kernel: Flags: nZCv  IRQs off  FIQs on  Mode
>> SVC_32  ISA ARM  Segment user
>> Feb 09 08:48:16 alarmpi kernel: Control: 00c5387d  Table: 14664008  DAC:
>> 00000055
>> Feb 09 08:48:16 alarmpi kernel: Process swapper/0 (pid: 0, stack limit =
>> 0x80f00210)
>> Feb 09 08:48:16 alarmpi kernel: Stack: (0x80f01f98 to 0x80f02000)
>> Feb 09 08:48:16 alarmpi kernel: 1f80:
>> 00000000 80f030b4
>> Feb 09 08:48:16 alarmpi kernel: 1fa0: 00000001 80f03120 80f98aa2 8016ebb4
>> 80fa8000 80e00c60 ffffffff ffffffff
>> Feb 09 08:48:16 alarmpi kernel: 1fc0: 00000000 80e006a4 80e5be38 00000000
>> 00000000 80fa8294 80f030a0 80e5be34
>> Feb 09 08:48:16 alarmpi kernel: 1fe0: 80f08358 00004008 410fb767 00e4e9e0
>> 00000000 0000807c 00000000 00000000
>> Feb 09 08:48:16 alarmpi kernel: [<80188430>] (rcu_idle_enter) from
>> [<8016ebb4>] (cpu_startup_entry+0xdc/0x15c)
>> Feb 09 08:48:16 alarmpi kernel: [<8016ebb4>] (cpu_startup_entry) from
>> [<80e00c60>] (start_kernel+0x370/0x400)
>> Feb 09 08:48:16 alarmpi kernel: Code: e92d43d0 e10f4000 f10c0080 e59f3050
>> (ee1d2f90)
>>
>>
>> Help me! Thank you.
>>
>
>
>
> ------------------------------------------------------------------------------
> 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 
> listMotion-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/motion-userhttps://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
> Motion-user@lists.sourceforge.net
> 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
Motion-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/motion-user


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

End of Motion-user Digest, Vol 140, Issue 24
********************************************

Reply via email to