Create a best picture per movie #1564
Replies: 3 comments
-
Yes. There can be multiple movies created per event. EventIDs are unique to events not movies |
Beta Was this translation helpful? Give feedback.
-
Shouldn't we have multiple best pictures by event then, so that each one corresponds to a movie? I am using each picture as a preview of the associated movie in my web application, so in this case (see log) I get the exact same preview picture twice in a row for two different movies: how could I fix that? |
Beta Was this translation helpful? Give feedback.
-
That is not how it was designed by the original developers. I'll move this over to a discussion to log it as an enhancement to have a separate best picture per movie. In the interim, you can try to increase the maximum movie time so that you only get a single movie. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Did you read the guide?
Yes
What is the base version number of Motion being used?
4.5.x
What was the install method?
Built from source code
What is base architecture?
ARM-64bit
What is the distro being used?
Other
Disto version number
No response
Camera type(s) being used?
Network camera with RTSP
Describe the issue/problem and steps to reproduce
Using latest git version 025e613, I get multiple videos files created during the same event.
This messes with my database setup since I have multiple videos for the same eventid and eventids should be unique.
Are we supposed to get multiple new files (see /videos/piscine/2022-08-14_08h46min27s_0010120220814084419.mp4 and /videos/piscine/2022-08-14_08h44min17s_0010120220814084419.mp4) during the same event (number 45, eventid=0010120220814084419)? However I get only one preview picture (/videos/piscine/2022-08-14_08h44min33s_0010120220814084419.webp)
Relevant Motion log output (at log_level 8)
Beta Was this translation helpful? Give feedback.
All reactions