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. Conversion Specifiers (Adam Gilmore)
2. Re: Conversion Specifiers (MrDave)
----------------------------------------------------------------------
Message: 1
Date: Thu, 3 Dec 2020 20:25:42 +0000
From: Adam Gilmore <[email protected]>
To: "[email protected]"
<[email protected]>
Subject: [Motion-user] Conversion Specifiers
Message-ID:
<ch2pr19mb3464aed04718e29cc54c04a7c6...@ch2pr19mb3464.namprd19.prod.outlook.com>
Content-Type: text/plain; charset="us-ascii"
Hello,
First time poster. I am trying to setup the database usage. The documentation
refers to using Conversion Specifiers. There is a table of specifiers and their
related values. However, for filetype, I cannot find documentation of the
filetype values that are inserted into the DB. For instance, I get 1's and 8's
in the DB, but I do not know what those refer to. Is it image and movie? Is it
.jpg and .mp4? is it .jpg and .mkv? .gif?
I've looked in the code and I have been unable find where these numbers come
from or how/were they are defined. Any input on this would be GREATLY
appreciated!
https://motion-project.github.io/motion_config.html#conversion_specifiers
%n
number indicating filetype
Sincerely,
Happy
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Thu, 3 Dec 2020 21:21:11 -0700
From: MrDave <[email protected]>
To: [email protected]
Subject: Re: [Motion-user] Conversion Specifiers
Message-ID: <[email protected]>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"
I would have sworn those were documented...but you are correct ....I
couldn't find them in the guide either.? Per the motion.h code these are
the definitions.
/* Filetype defines */
#define FTYPE_IMAGE??????????? 1
#define FTYPE_IMAGE_SNAPSHOT?? 2
#define FTYPE_IMAGE_MOTION???? 4
#define FTYPE_MPEG???????????? 8
#define FTYPE_MPEG_MOTION???? 16
#define FTYPE_MPEG_TIMELAPSE? 32
(MPEG includes all types of movies.? mp4, mkv, etc)
On 12/3/2020 1:25 PM, Adam Gilmore wrote:
>
> Hello,
>
> First time poster. I am trying to setup the database usage. The
> documentation refers to using Conversion Specifiers. There is a table
> of specifiers and their related values. However, for filetype, I
> cannot find documentation of the filetype values that are inserted
> into the DB. For instance, I get 1?s and 8?s in the DB, but I do not
> know what those refer to. Is it image and movie? Is it .jpg and .mp4?
> is it .jpg and .mkv? .gif?
>
> I?ve looked in the code and I have been unable find where these
> numbers come from or how/were they are defined. Any input on this
> would be GREATLY appreciated!
>
> https://motion-project.github.io/motion_config.html#conversion_specifiers
> <https://motion-project.github.io/motion_config.html#conversion_specifiers>
>
> %n
>
>
>
> number indicating filetype
>
> Sincerely,
>
> Happy
>
>
>
> _______________________________________________
> 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 174, Issue 1
*******************************************