mdn/content

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

Closed

#36 771 ouverte le 13 nov. 2024

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Markdown (22 427 forks)batch import
Content:Mediagoal: accuracyhelp wanted

Métriques du dépôt

Stars
 (8 900 stars)
Métriques de merge PR
 (Merge moyen 7j 3h) (147 PRs mergées en 30 j)

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

Guide contributeur