-
Notifications
You must be signed in to change notification settings - Fork 31
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
infer
incorrectly identifies mkv
as webm
#96
Comments
Here's an example: example.zip. It's H.264 + Opus and exhibits similar behaviour. I recorded it with OBS. |
It appears 4K seems very large. My understanding of the spec is that Matroska files must start with an EBML document, which must start with a header, which must contain their I'll make a PR for this soon 👍 |
What's up with the PR? Did you get any feedback? If you closed it, because of no activity, it seems like maintainers are active. |
My PR worked fine in my testing, I just stopped using GitHub at some point. I re-made the PR here: #106 I use czkawka on occasion; I'm glad my commit makes it a little bit better :) |
Demo:
Code
The current code detects two byte patterns. This file doesn't contain the first one:
And does contain the second one, but at a different offset (24-31 instead of 31-38):
The text was updated successfully, but these errors were encountered: