mdn/content

Opus audio codec in MP4 incorectly listed as "mp4a.ad"

Open

#36,771 opened on Nov 13, 2024

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Markdown (22,427 forks)batch import
Content:Mediagoal: accuracyhelp wanted

Repository metrics

Stars
 (8,900 stars)
PR merge metrics
 (Avg merge 7d 3h) (147 merged PRs in 30d)

Description

MDN URL

https://developer.mozilla.org/en-US/docs/Web/Media/Formats/codecs_parameter

What specific section or headline is this issue about?

https://developer.mozilla.org/en-US/docs/Web/Media/Formats/codecs_parameter#mp4a.oo.a

What information was incorrect, unhelpful, or incomplete?

This section misleadingly states that "mp4a.ad" the correct codec is for Opus audio in a MP4 container, but if you type MediaSource.isTypeSupported('video/mp4; codecs=mp4a.ad') into a web browser developer console, it will return false.

What did you expect to see?

The correct codec type for Opus audio in an MP4 is "Opus", and MediaSource.isTypeSupported('video/mp4; codecs=Opus') returns true in web browser consoles.

A new subsection for Opus should be added under https://developer.mozilla.org/en-US/docs/Web/Media/Formats/codecs_parameter#iso_base_media_file_format_mp4_quicktime_and_3gp with this information to avoid confusion.

Do you have any supporting links, references, or citations?

https://mp4ra.org/registered-types/codecs

Do you have anything more you want to share?

No response

MDN metadata

Contributor guide