-
Notifications
You must be signed in to change notification settings - Fork 178
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
Video Trimming: Reuse existing resource if exists #9333
Comments
Given that trimming is based on milliseconds, isn't it extremely unlikely that you trim a video exactly to 30 seconds twice?
Should we have some "Restore full length version" button or something so you can more easily get the original length video? That would make it easier to prevent this scenario.
The result is not ideal but negligible IMO. We could probably do something on the server-side to try to find whether a suitable version already exists, but not trivial. Would be good to first see how big of a problem that is before digging into this. |
Thinking about this, is this actually happening right now? Both videos will have the same resource ID and I think a more realistic scenario is:
|
cc @spacedmonkey for thoughts It still seems very unlikely that a video for a very specific trimming config (start and end time) already exists, but if it's easy to implement we could definitely do that. |
No, the likelyhood that the trim would be exactly the same, seem highly unlikely. It is also work noting, that is no simple way to get all the trim of a video. Each trimmed video has a piece of post media. To get a list of trimmed video from the original would require a meta query. Not possible at the moment, but we could add this functionality. How about adding a "Restore original" on trimmed videos? This would allow you to easily go back to the orignal video. meaning you would not have to retrim? |
Alright, then I think we can close this as a wontfix.
No need for a restore button if the user can just reset the trimming to get back to the full length. @barklund Does the video trimmer reuse the original video if there is 0 offset? |
I am pretty sure that it does not do that. We could repurpose this ticket for that work, because that definitely makes sense. |
Let's do that then! 👍 |
Feature Description
A user might end up with multiple completely identical copies of the same media element in the library for no good reason.
Scenario 1
Scenario 2
#### Scenario 3You have an original non-muted video and place two instances of it on the canvasYou mute the first instanceYou also mute the second instanceThis will result in adding two new elements to the media library which are completely identical-> handling muted videos is covered by #9385
We should be able to reuse existing resources of videos where possible.
This arose from a discussion in #9315.
The text was updated successfully, but these errors were encountered: