Open sandreas opened 2 years ago
Hi Andreas,
I'll have time to have a look at those files this weekend. So would be great if you could share them with me.
From your description, I would guess that the difference is due to tone
considering gapless information (iTunSMPB
or elst
) and stripping delay and padding samples, which mp4info
does not.
Thus far, I considered that out of scope for MP4v2 and something that has to be supported by 3rd party software integrating the library. It might make sense to add this to mp4info
, though.
I emailed you the file to freac.org, please let me know if you got it and were able to reproduce the issue. If it did not work, please let me know how you wanna share the file.
Thank you.
Thank you for providing the file!
As suspected, the file uses an edit list (elst
) box to signal encoder delay of 1024 samples. tone
apparently considers this when reporting the duration, while mp4info
does not.
I'll see if I can add support for this to mp4info
. We can leave this issue open until then.
I'll see if I can add support for this to mp4info. We can leave this issue open until then.
Great, thank you.
Hey @enzo1982,
recently I had an issue in
m4b-tool
, wheremp4info
reported a wrong duration value (I assume a wrong one, cause the user also reported it as wrong).mp4info
-213179ms
tone
-213134ms
The shift is only
45ms
, but it is summing up to a greater value when using multiple files.This is the first time ever that
mp4info
is wrong about the duration of a file, so I wonder, what the problem is. Surely, you cannot reproduce this without the files, but unfortunately, they can't be shared publicly. So let me know when you have the time to care about this - I'll invite you to a private repository to share one of the files with you, so that you can reproduce the problem.