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. Conversion Specifiers (Adam Gilmore)
   2. Re: Conversion Specifiers (MrDave)


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

Message: 1
Date: Thu, 3 Dec 2020 20:25:42 +0000
From: Adam Gilmore <ha...@happysdomain.com>
To: "motion-user@lists.sourceforge.net"
        <motion-user@lists.sourceforge.net>
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 <motionmrd...@gmail.com>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] Conversion Specifiers
Message-ID: <b03eca06-4b1b-86e7-406c-a18fe61bb...@gmail.com>
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
> 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...

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



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

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 174, Issue 1
*******************************************

Reply via email to