Closed Bug 1891082 Opened 10 months ago Closed 5 months ago

Video on https://webvideo-js.pages.dev/ does not play

Categories

(Core :: Audio/Video: Web Codecs, defect)

defect

Tracking

()

VERIFIED FIXED
132 Branch
Tracking Status
firefox132 --- verified
firefox133 --- verified

People

(Reporter: mayankleoboy1, Assigned: chunmin)

References

(Blocks 1 open bug, )

Details

Attachments

(6 files, 1 obsolete file)

Go to https://webvideo-js.pages.dev/
Click on the video to start playing

AR: Video keeps on loading. There is no error in console.
ER: It should play, Chrome does.

Attached file about:support

The severity field is not set for this bug.
:padenot, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(padenot)

Support for webcodecs has not shipped yet.

Blocks: webcodecs
Severity: -- → S3
Flags: needinfo?(padenot)
Blocks: 1900376

This is caused by the website not passing extradata/description to the decoder. Chrome plays it though.

Depends on D219146

Attachment #9419084 - Attachment description: WIP: Bug 1891082 - Correct log for audio rate → Bug 1891082 - Correct log for audio rate
Assignee: nobody → cchang
Attachment #9419085 - Attachment description: WIP: Bug 1891082 - Fake a AAC header if needed → Bug 1891082 - Fake a AAC header if needed
Status: NEW → ASSIGNED
Attachment #9419085 - Attachment description: Bug 1891082 - Fake a AAC header if needed → Bug 1891082 - Fake a AAC specific config if needed
Attachment #9419085 - Attachment description: Bug 1891082 - Fake a AAC specific config if needed → Bug 1891082 - Add a function for making AAC specific config

In brief, when the description is not present in AudioDecoderConfig for mp4a.* codec, the data stream is assumed to be in adts format. However, the provided data is in raw AAC format, so the audio cannot be decoded correctly.

See Also: → 1916008
Attachment #9421427 - Attachment description: WIP: Bug 1891082 - Add a CodecChangeMonitor for AAC → Bug 1891082 - Add a CodecChangeMonitor for AAC
Attachment #9421428 - Attachment description: WIP: Bug 1891082 - Reinit AAC decoder via MediaChangeMonitor if needed → Bug 1891082 - Reinit AAC decoder via MediaChangeMonitor if needed
Attachment #9421427 - Attachment description: Bug 1891082 - Add a CodecChangeMonitor for AAC → Bug 1891082 - Implement CodecChangeMonitor for AAC in MediaChangeMonitor
Attachment #9421428 - Attachment description: Bug 1891082 - Reinit AAC decoder via MediaChangeMonitor if needed → Bug 1891082 - Enable decoder reconfiguration in DecoderAgent for AAC/ADTS data through MediaChangeMonitor

Depends on D220506

Depends on D221224

Blocks: 1917721

Comment on attachment 9423068 [details]
Bug 1891082 - Add WPT testing AAC AudioDecoderConfig w/o description

Revision D221279 was moved to bug 1917721. Setting attachment 9423068 [details] to obsolete.

Attachment #9423068 - Attachment is obsolete: true
Pushed by cchang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/173ac1b6ad6e Correct log for audio rate r=media-playback-reviewers,alwu,padenot https://hg.mozilla.org/integration/autoland/rev/8e10bbcaccea Add a function for making AAC specific config r=media-playback-reviewers,padenot https://hg.mozilla.org/integration/autoland/rev/85611c424c13 Implement CodecChangeMonitor for AAC in MediaChangeMonitor r=media-playback-reviewers,padenot https://hg.mozilla.org/integration/autoland/rev/02c9b1fb72c8 Enable decoder reconfiguration in DecoderAgent for AAC/ADTS data through MediaChangeMonitor r=media-playback-reviewers,padenot https://hg.mozilla.org/integration/autoland/rev/ec6625c1ead2 Remove outdated comments in DecoderAgent r=media-playback-reviewers,padenot

Reproducible on a 2024-09-08 Nightly build on Windows 10.
Verified as fixed on Firefox 132.0b2 and Firefox Nightly 133.0a1 on Windows 10, Ubuntu 22, macOS 14.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: