Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting a Maximum Duration for MP4 VODs #6663

Open
mekya opened this issue Sep 23, 2024 · 0 comments
Open

Setting a Maximum Duration for MP4 VODs #6663

mekya opened this issue Sep 23, 2024 · 0 comments
Assignees

Comments

@mekya
Copy link
Contributor

mekya commented Sep 23, 2024

Is your feature request related to a problem? Please describe.
Many of our customers use security cameras that run continuously, resulting in extremely large archives (e.g., 72 hours) that are challenging to manage. We need the ability to set a maximum duration for MP4 VODs—ideally one hour per file. This should be a configurable option in the management console, allowing users to define the maximum length of MP4 files (in minutes or hours) without needing to stop and restart the stream.

Describe the solution you'd like
Solution: Create a plugin, provide a function that runs with every {Interval} minutes. It will go through the streams folder and create MP4 without transcoding from HLS streams for the last {Interval} minutes. For the first version, it’s ok to define the {interval} for application wide. It’ll be better if it’s stream-wide.
Pay Attention: The created MP4 VoD has the information( “description”, “metadata”, “lat”, “long”, “alt”..) filled as described in the issue #6662 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: After sprint
Development

No branches or pull requests

2 participants