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

Importing QT chapters adds extra mdat Atom #42

Open
L2501 opened this issue Jul 7, 2023 · 1 comment
Open

Importing QT chapters adds extra mdat Atom #42

L2501 opened this issue Jul 7, 2023 · 1 comment

Comments

@L2501
Copy link

L2501 commented Jul 7, 2023

import qt chapters multiple times: mp4chaps -Q -c file.m4b

result:

Atom mdat @ 8987375 of size: 802529665, ends @ 811517040
Atom mdat @ 811517040 of size: 1767, ends @ 811518807
Atom mdat @ 811518807 of size: 1767, ends @ 811520574
Atom mdat @ 811520574 of size: 1767, ends @ 811522341
Atom mdat @ 811522341 of size: 1767, ends @ 811524108
Atom mdat @ 811524108 of size: 1767, ends @ 811525875
Atom mdat @ 811525875 of size: 1767, ends @ 811527642
Atom mdat @ 811527642 of size: 1767, ends @ 811529409
@enzo1982
Copy link
Owner

enzo1982 commented Jul 7, 2023

I suspect that each new chapter import creates a new mdat atom at the end of the file while removing the chapter track does not remove the corresponding mdat (because doing so would require further analysis to make sure the mdat does not contain any data belonging to other tracks still in use).

Further investigation will be necessary to figure out if it is feasible to remove the mdat atom when removing a chapter track.

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