[Feature Request/Question] Removing a specific duration/segment and merging remaining pieces
First of all, thanks for the great library!
I have looked at the docs and even though there's trimming functionality, my use case is different. I want to remove a specific duration from a video file.For example, if the video is 20 seconds long, I want to remove video frames from 11 to 15 seconds.
The Problem
Is this doable with MediaBunny? I have tried different ways, such as using two Output instances and converting them separately, but I haven't found a reliable way or resource to merge/stitch those pieces back together into a single file. Even LLMs haven't been able to provide a working solution for concatenating segments within the library's workflow.
Desired Solution
I am looking for a way to either:
- Define multiple "keep" ranges in a single conversion task.
- A recommended method to stitch two processed segments without losing sync or quality.
Any help or pointers toward the right API calls is highly appreciated!
Source: Vanilagy/mediabunny