Skip to content

Metadata parsing for media files #411

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

Closed
anthumchris opened this issue Nov 23, 2021 · 1 comment
Closed

Metadata parsing for media files #411

anthumchris opened this issue Nov 23, 2021 · 1 comment

Comments

@anthumchris
Copy link

Could WebCodecs provide us with an easy way to view metadata or stream information for binary media files (audio, video, image, etc)? (Related to #201).

For example, it would be great to quickly parse and obtain the metadata for a binary audio file like Opus or MP3 to know the bit depth, sample rate, number of channels, etc. After researching StackOverflow question "How to get [metadata] with Web Audio API?", I was unable to find an existing solution to obtain metadata without requiring developers to manually parse the binary file headers.

Command-line codec tools currently provide a wealth of metadata information:

  1. opusinfo - Opus screenshot
  2. ffmpeg - MP3 screenshot, Opus screenshot
@sandersdan
Copy link
Contributor

Duplicate of #24.

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