lossless-cut
lossless-cut copied to clipboard
Add export mode "Merge cuts + save chapters"
I have a lot of issues to go through, so in order to make it easier for me to help you, I ask that you please try these things first
- [X] Check out all the menus and keyboard shortcuts. Maybe the feature already exists?
- [X] Try with the newest version from GitHub
- [X] Read the documentation and FAQ, Known issues, Troubleshooting to see if the feature already exists
- [X] See if someone already suggested this under Issues or Discussions
Description
Hello!
After I cut out the unnecessary parts of the video, I have a natural chapter division, but I can't export the video to simultaneously merge the fragments and remember those fragments as chapters.
If I merge fragments (after removing unnecessary parts), the chapter division is not preserved. I have to re-split the video into fragments to save the chapters.
You have to check "Create chapters from merged segments (slow)", then your output will have the chapters preserved.
So the functionality is actually present. But I'd like to suggest a performance improvement because ("merge cuts" without creating chapters followed by "segments to chapters") is faster than ("merge cuts" with "Create chapters from merged segments (slow)").
The suggestion is that when "Create chapters from merged segments (slow)" is checked, the ffmetadata file should be saved without the chapters unchecked in the UI and timestamps of remaining chapters should be recalculated (moved left) accordingly. The operation performed internally should thus be equivalent to ("merge cuts" without creating chapters followed by "segments to chapters"). The output will be the same and performance will improve.
I hope I'm being clear enough. If not, I can paste example ffmpeg commands for each sequence of operations.