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

mkvalidator doesn't detect overlapping timestamps #3

Open
robUx4 opened this issue Feb 24, 2015 · 1 comment
Open

mkvalidator doesn't detect overlapping timestamps #3

robUx4 opened this issue Feb 24, 2015 · 1 comment

Comments

@robUx4
Copy link
Contributor

robUx4 commented Feb 24, 2015

If you remux this file with mkvmerge, it will create BlockGroup of 1536ms, but the next BlockGroup will start at 256ms (rightfully).

This kind of incorrect behaviour should be detected by mkvalidator.

@mbunkus
Copy link
Contributor

mbunkus commented Apr 11, 2015

I don't think there's actually a bug here (or your description is wrong). I assume you're talking about track 1 as that is the only track for which mkvmerge will write something at time stamp 00:00:00.256.

Track 1 is an AC3 track. AC3 frames are always 1536 samples long. For a sampling frequency of 48000 this amounts to 32ms.

In the remuxed file the first BlockGroup for track 1 starts at time stamp 0 and contains eight frames. Therefore the BlockGroup's duration is 8 * 32ms = 256ms. The next BlockGroup for track 1 starts at time stamp 256ms – which is exactly correct.

I don't see a BlockGroup with a duration of 1536ms here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
mkvalidator
Awaiting triage
Development

No branches or pull requests

2 participants