-
-
Notifications
You must be signed in to change notification settings - Fork 930
Open
Labels
Description
Describe the feature you'd like
When ffprobe is run, it retrieves the number of frames a video has, I have an extension that needs the accurate frame count.
NOTE: using the duration * frame rate does not always give accurate frame count.
Describe the benefits this would bring to existing users
internal/manager/generator_sprite.go->NewSpriteGeneratorwould not need to calculate frame dynamically, it would be stored on initial scan- Future extensions that deal with video editing would benefit from not having to do frame calculations on their own
Is there an existing way to achieve this goal?
I could not find any way to add custom data to a scene, having custome data for every scene would allow my extension to add frames for each file, but it is a less elegant solution
Have you searched for an existing open/closed issue?
- I have searched for existing issues and none cover the core request of my proposal
Additional context
Framecount is already done in the file pkg/ffmpeg/ffprobe.go line 308. This feature would only store it in the database and make it available in the graphql
JanJastrow