Closed Bug 1846796 Opened 2 years ago Closed 1 year ago

Make H264-annexb work on Mac

Categories

(Core :: Audio/Video: Web Codecs, task, P1)

task

Tracking

()

RESOLVED FIXED
118 Branch
Tracking Status
firefox118 --- fixed
firefox125 --- fixed

People

(Reporter: chunmin, Assigned: jhlin)

References

Details

Attachments

(8 files)

No description provided.

The extra data may be set to the default one with guessed values. We
should only set it when description data is provided.

When converting h264 stream in annexb format into avcc format, the fake
extra data is attached to converted stream.

This patch addes a function to parse the extra data from the converted
avcc stream, and attach the parsed extra data instead of the fake one to
the stream.

Depends on D185193

Depends on D185194

Depends on D185195

See Also: → 1848193
Attachment #9346984 - Attachment description: WIP: Bug 1846796 - Set extra data only when description is given → Bug 1846796 - Set extra data only when description is given
Attachment #9346985 - Attachment description: WIP: Bug 1846796 - Parse extra data from converted avcc data → Bug 1846796 - Parse extra data from converted avcc data
Attachment #9346986 - Attachment description: WIP: Bug 1846796 - Enable on WebCodecs on non-android → Bug 1846796 - Enable on WebCodecs on Mac Os
Attachment #9346988 - Attachment description: WIP: Bug 1846796 - Change expectations in VideoDecoder's WPTs → Bug 1846796 - Change expectations in VideoDecoder's WPTs
Attachment #9346986 - Attachment description: Bug 1846796 - Enable on WebCodecs on Mac Os → Bug 1846796 - Enable on WebCodecs on Mac OS

Depends on D185196

Pushed by cchang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1049437363a5 Set extra data only when description is given r=padenot https://hg.mozilla.org/integration/autoland/rev/04790724edf0 Parse extra data from converted avcc data r=media-playback-reviewers,padenot https://hg.mozilla.org/integration/autoland/rev/e940c4fa9ec3 Enable on WebCodecs on Mac OS r=padenot https://hg.mozilla.org/integration/autoland/rev/be824cbe5189 Change expectations in VideoDecoder's WPTs r=padenot https://hg.mozilla.org/integration/autoland/rev/70417eb0e3bd Read a Span of data via BufferReader r=media-playback-reviewers,padenot
Regressions: 1855636

Patch D185194 caused the bug 1855636. We need a new fix here.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Summary: Make H264-annex work on Mac → Make H264-annexb work on Mac

Set a reminder

Flags: needinfo?(cchang)
Assignee: cchang → jolin
Flags: needinfo?(cchang)

Depends on D202544

Pushed by jolin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/05c1bb31b964 re-enable H.264 decoder on macOS for WebCodecs. r=chunmin https://hg.mozilla.org/integration/autoland/rev/e73aa0aa82d2 fix H.264 start code pattern matching algorithm. r=chunmin https://hg.mozilla.org/integration/autoland/rev/49bc41e918c2 change test expectations. r=chunmin
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: