mdn/content

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

Open

#36,771 创建于 2024年11月13日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Markdown (22,427 fork)batch import
Content:Mediagoal: accuracyhelp wanted

仓库指标

Star
 (8,900 star)
PR 合并指标
 (平均合并 7天 3小时) (30 天内合并 147 个 PR)

描述

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

贡献者指南