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

MIME type for Matroska Video/Audio #43

Closed
codedread opened this issue Oct 19, 2023 · 1 comment
Closed

MIME type for Matroska Video/Audio #43

codedread opened this issue Oct 19, 2023 · 1 comment
Labels

Comments

@codedread
Copy link
Owner

WebM videos support VP8, VP9 and Vorbis, Opus. WebM is based on the Matroska container.

I have seen some Matroska video/audio files out there (.mkv) that have different audio and video codecs in their streams (for example: h264, dts).

  1. What should the MIME type look like for Matroska (not WebM) files? I have seen video/x-matroska and audio/x-matroska
  2. Should the codecs information be include in the full MIME type (RFC6381)? I have seen examples of this: "video/x-matroska;codecs=avc1"
@codedread codedread added the bug label Oct 19, 2023
@codedread
Copy link
Owner Author

video/webm files are any that have video streams with codecs: { vp8, vp9, av1 }
audio/webm files are any that have only audio streams with codecs: { opus, vorbis }

Anything else that ffprobe identifies with format_name='matroska,webm' is considered video/x-matroska or audio/x-matroska

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

No branches or pull requests

1 participant