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: Motion 4.6 and the old 'album' generation script
      (Harlan Daneker)
   2. Re: ebay cameras (Justin Alcorn)


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

Message: 1
Date: Sun, 14 Jan 2024 08:08:02 -0500
From: Harlan Daneker <hdane...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Motion 4.6 and the old 'album' generation
        script
Message-ID:
        <cac1wkiq77aar8bbz-k+povfuxzquazwchumuxy4vx8qt0qp...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I don't know if this will be any help to anybody. This is what I do to
access my videos and view my cameras real time.
I set movie_filename %Y/%m/%d/%H:%M for each target_dir.
Apache and php make it easy to password protect and view the directories
once you have it set up.
Using a second network card without a gateway the cameras are on a closed
network.
I enable dhcpd until I set a static ip address for the cameras when they
are new.

These give me the ability to view several or a single camera with
stream_port locally.

*4 cameras on one page:*
<html>
<body bgcolor="#000000">
<table align=center><tr><td Align=center><a href="stream-back.php"><font
face=ar
ial color=white size=2><b>BACK YARD</b></a></font</tr></td></table>
<a href="stream/Cam2.php"><img Width=49% Height=640px src=
http://0.0.0.0:9002/></a>
<a href="stream/Cam1.php"><img Width=49% Height=640px src=
http://0.0.0.0:9001/></a>
<a href="stream/Cam9.php"><img Width=49% Height=640px src=
http://0.0.0.0:9009/></a>
<a href="stream/Cam7.php"><img Width=49% Height=640px src=
http://0.0.0.0:9007/></a>
</body>
</html>

*single camera on a page:*
<html>
<body bgcolor="#000000">
<a href="../stream-front.php"> <img Width=100% height=100% src=
http://localhost:9001/></a>
</body>
</html>

*I save a jpg every few seconds and can view them on a web page that
refreshes every few seconds from anyplace.*
<Html>
<Head>
<TITLE>SNOOP</TITLE>
<noscript>
<!--
    We have the "refresh" meta-tag in case the user's browser does
    not correctly support JavaScript or has JavaScript disabled.

    Notice that this is nested within a "noscript" block.
-->
<META http-equiv="refresh" content="8">
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META HTTP-EQUIV="cache-control" VALUE="no-cache, no-store,
must-revalidate">

</noscript>

<script language="JavaScript">
<!--

var sURL = unescape(window.location.pathname);

function doLoad()
{
    // the timeout value should be the same as in the "refresh" meta-tag
    setTimeout( "refresh()", 3000 );
}

function refresh()
{
    //  This version of the refresh function will cause a new
    //  entry in the visitor's history.  It is provided for
    //  those browsers that only support JavaScript 1.0.
    //
    window.location.href = sURL;
}
//-->
</script>

<script language="JavaScript1.1">
<!--
function refresh()
{
    //  This version does NOT cause an entry in the browser's
    //  page view history.  Most browsers will always retrieve
    //  the document from the web-server whether it is already
    //  in the browsers page-cache or not.
    //
    window.location.replace( sURL );
}
//-->
</script>

<script language="JavaScript1.2">
<!--
function refresh()
{
    //  This version of the refresh function will be invoked
    //  for browsers that support JavaScript version 1.2
    //

    //  The argument to the location.reload function determines
    //  if the browser should retrieve the document from the
    //  web-server.  In our example all we need to do is cause
    //  the JavaScript block in the document body to be
    //  re-evaluated.  If we needed to pull the document from
    //  the web-server again (such as where the document contents
    //  change dynamically) we would pass the argument as 'true'.
    //
    window.location.reload( false );
}
//-->
</script>

</Head>
<Body onload="doLoad()" bgcolor="Black">

<TABLE>
<TR><TD>
<a href="Cam1/lastsnap.jpg"> <img  Width=49% src=Cam1/lastsnap.jpg></a>
<a href="Cam2/lastsnap.jpg"> <img  Width=49% src=Cam2/lastsnap.jpg></a>
</TR></TD>
<TR><TD>
<a href="Cam3/lastsnap.jpg"> <img Width=49% Height=640px
src=Cam3/lastsnap.jpg></a>
<a href="Cam4/lastsnap.jpg"> <img Width=49% Height=640px
src=Cam4/lastsnap.jpg></a>
</TR></TD>
<TR><TD>
<a href="Cam6/lastsnap.jpg"> <img Width=49% src=Cam6/lastsnap.jpg></a>
<a href="Cam7/lastsnap.jpg"> <img Width=49% src=Cam7/lastsnap.jpg></a>
</TR></TD>
<TR><TD>
<a href="Cam5/lastsnap.jpg"> <img Width=49% src=Cam5/lastsnap.jpg></a>
</TR></TD>
admin@htd:/cache/video$ less script.php
admin@htd:/cache/video$ more script.php

<Html>
<Head>
<TITLE>SNOOP-1</TITLE>
<noscript>
<!--
    We have the "refresh" meta-tag in case the user's browser does
    not correctly support JavaScript or has JavaScript disabled.

    Notice that this is nested within a "noscript" block.
-->
<META http-equiv="refresh" content="8">
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META HTTP-EQUIV="cache-control" VALUE="no-cache, no-store,
must-revalidate">

</noscript>

<script language="JavaScript">
<!--

var sURL = unescape(window.location.pathname);

function doLoad()
{
    // the timeout value should be the same as in the "refresh" meta-tag
    setTimeout( "refresh()", 3000 );
}

function refresh()
{
    //  This version of the refresh function will cause a new
    //  entry in the visitor's history.  It is provided for
    //  those browsers that only support JavaScript 1.0.
    //
    window.location.href = sURL;
}
//-->
</script>

<script language="JavaScript1.1">
<!--
function refresh()
{
    //  This version does NOT cause an entry in the browser's
    //  page view history.  Most browsers will always retrieve
    //  the document from the web-server whether it is already
    //  in the browsers page-cache or not.
    //
    window.location.replace( sURL );
}
//-->
</script>

<script language="JavaScript1.2">
<!--
function refresh()
{
    //  This version of the refresh function will be invoked
    //  for browsers that support JavaScript version 1.2
    //

    //  The argument to the location.reload function determines
    //  if the browser should retrieve the document from the
    //  web-server.  In our example all we need to do is cause
    //  the JavaScript block in the document body to be
    //  re-evaluated.  If we needed to pull the document from
    //  the web-server again (such as where the document contents
    //  change dynamically) we would pass the argument as 'true'.
    //
    window.location.reload( false );
}
//-->
</script>

</Head>
<Body onload="doLoad()" bgcolor="Black">

<TABLE>
<TR><TD>
<a href="Cam1/lastsnap.jpg"> <img  Width=49% src=Cam1/lastsnap.jpg></a>
<a href="Cam2/lastsnap.jpg"> <img  Width=49% src=Cam2/lastsnap.jpg></a>
</TR></TD>
<TR><TD>
<a href="Cam3/lastsnap.jpg"> <img Width=49% Height=640px
src=Cam3/lastsnap.jpg></a>
<a href="Cam4/lastsnap.jpg"> <img Width=49% Height=640px
src=Cam4/lastsnap.jpg></a>
</TR></TD>
</TABLE>
</Body>
</Html>

On Sun, Jan 14, 2024 at 6:19?AM Dougie Nisbet <dou...@katsura.uk> wrote:

> I used to use album a lot. I never found anything quicker, simpler or
> better for creating static galleries. Being able to use it in scripts
> was the big advantage. Despite lots of promising looking utilities out
> there I never found anything with the flexibility of album. I used to
> have a sprawling mess of shell scripts for creating a massive hierarchy
> that I could use to view my webcams. It's surprisingly versatile and
> robust and has a lot of potential. Nowadays, however, I tend to just
> use a file browser. IOS apps such as 'owlfiles' for example, allow me
> to connect to my local LAN hosts and browse webcam videos and stills
> without any overhead. Also I find 'dolphin' is really good for browsing
> directories of videos. Hovering the mouse over thumbnails also previews
> the video.
>
> Dougie
>
> On Sun, 2024-01-14 at 12:15 +0800, Mathias Koerber wrote:
> > I need to rebuild my webserver to show the videos captured by Motion.
> >
> > On the old server (that died) I had used foliogallery, but would like
> > switch and found the old 'album' script:
> >      https://marginalhacks.com/Hacks/album/
> >
> > That script can generate thumbnails for videos and images
> > and build a whole album for viewing by a webserver
> >
> > The mailing list for album seems to be dead (since 2014 , duh!)
> > so I wonder whether anyone here is using that album script with
> > Motion too and has suggestions or tips of how to best
> > set this or up or what not to do
> >
> > Mathias
> >
> >
> > _______________________________________________
> > 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
>
>
>
> _______________________________________________
> 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...

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

Message: 2
Date: Sun, 14 Jan 2024 12:24:37 -0500
From: Justin Alcorn <jus...@jalcorn.net>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] ebay cameras
Message-ID:
        <cahyjeictcsu8u+sxuvvvj_zn7bfb0ugvfr+wpegsqbcaqcc...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

On Sat, Jan 13, 2024 at 9:28?PM Harlan Daneker <hdane...@gmail.com> wrote:

> They are on a separate network card on the computer with its own static ip
> address and there isn't any gateway. So if there is a way to connect to the
> internet you will have to tell me how it could happen.
>

This is the way.

(As long as forwarding is disabled on the computer)
-------------- next part --------------
An HTML attachment was scrubbed...

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



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

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 209, Issue 13
********************************************

Reply via email to