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

QuickTime chapter track ID increases by 1 on every import #26

Open
L2501 opened this issue Feb 12, 2023 · 1 comment
Open

QuickTime chapter track ID increases by 1 on every import #26

L2501 opened this issue Feb 12, 2023 · 1 comment

Comments

@L2501
Copy link

L2501 commented Feb 12, 2023

QuickTime chapter track ID increases by 1 on every import

If you import the chapters multiple times it can get big

@enzo1982
Copy link
Owner

enzo1982 commented Jul 7, 2023

The current implementation of MP4File::SetChapters first deletes the existing chapter track and then adds a new one with the supplied chapters. This necessarily leads to the chapter track ID being changed, as explained in #41.

It may be possible to change the implementation of SetChapters to modify an existing chapter track instead of deleting it and adding a new one, but further investigation is needed.

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

No branches or pull requests

2 participants