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: Passing variables to a script (tosiara)
----------------------------------------------------------------------
Message: 1
Date: Thu, 25 Oct 2018 14:21:43 +0300
From: tosiara <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] Passing variables to a script
Message-ID:
<cachtdwqfegznmq_rcfeinsxm3x1mktebclstb78wobhb6r5...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Sorry, I didn't get this one. What issue do you have with passing the
params to a script?
On Thu, Oct 25, 2018 at 1:37 PM Dougie Nisbet <[email protected]> wrote:
> I've been experimenting recording sound with some success. However,
> currently I have this rather tortuous config option:
>
> on_event_start /usr/bin/arecord "/webcams/kitstop/movies/%Y/%m/%d/%$ -
> event%v - %a %d %b %Y - %H%M%S.wav" -f S16_LE -r 24000 -D plughw:1,0 >
> /home/dougie/logs/event_start_arecord_kitstop.log 2>&1
>
> which seems to work.
>
> I'd rather have the arecord command in a script wrapper so I can add some
> diagnostics instead of called directly from the config file but don't know
> if it's possible to pass the conversion specifiers in the filename. Is
> there a tidier way?
>
> Thanks
>
> Dougie
> _______________________________________________
> 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...
------------------------------
------------------------------
Subject: Digest Footer
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
------------------------------
End of Motion-user Digest, Vol 148, Issue 21
********************************************