Closed Bug 1869332 Opened 1 year ago Closed 1 year ago

Teach ffvpx to encode AV1 using libaom

Categories

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

defect

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: padenot, Assigned: padenot)

References

(Blocks 1 open bug)

Details

(Keywords: perf-alert)

Attachments

(8 files)

No description provided.

Drive-by, nothing to do with this bug.

Depends on D196060

This is expected to be present in ffmpeg, but is only for displaying things on
the command-line, we don't need a "real" implementation.

Depends on D196061

Pushed by padenot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f557e130d997 Move libaom to libgkcodecs. r=glandium,media-playback-reviewers,chunmin https://hg.mozilla.org/integration/autoland/rev/af22bc552759 Ask generate_source_mozbuild.py to build the encoder side of libaom. r=glandium https://hg.mozilla.org/integration/autoland/rev/1c4b5311ac03 Regenerate libaom/sources.mozbuild and config files. r=glandium https://hg.mozilla.org/integration/autoland/rev/74e2acabc439 Remove .orig files that crept in. r=chunmin https://hg.mozilla.org/integration/autoland/rev/661e520c2991 Write a placeholder implementation for getting the buildconfig. r=chunmin https://hg.mozilla.org/integration/autoland/rev/4f8c19f9dfcf Add an av1 encoder based on libaom to ffvpx. r=chunmin

Backed out for causing build bustages.

Flags: needinfo?(padenot)

We're going to reevaluate which AV1 library we're using anyways, and we're not
using libaom anymore for decode, we're using libdav1d.

This is tracked in https://bugzilla.mozilla.org/show_bug.cgi?id=1869986

Depends on D196063

Pushed by padenot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5acc2f4f12c2 Move libaom to libgkcodecs. r=glandium,media-playback-reviewers,chunmin https://hg.mozilla.org/integration/autoland/rev/00ceb6e47715 Ask generate_source_mozbuild.py to build the encoder side of libaom. r=glandium https://hg.mozilla.org/integration/autoland/rev/c83313202040 Regenerate libaom/sources.mozbuild and config files. r=glandium https://hg.mozilla.org/integration/autoland/rev/c401449274b4 Remove .orig files that crept in. r=chunmin https://hg.mozilla.org/integration/autoland/rev/483d3f275da7 Write a placeholder implementation for getting the buildconfig. r=chunmin https://hg.mozilla.org/integration/autoland/rev/d51eba30a225 Add an av1 encoder based on libaom to ffvpx. r=chunmin https://hg.mozilla.org/integration/autoland/rev/1c0fd259312d Temporarily disable libaom fuzzing on debug. r=pehrsons

(In reply to Pulsebot from comment #7)

Pushed by padenot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f557e130d997
Move libaom to libgkcodecs. r=glandium,media-playback-reviewers,chunmin
https://hg.mozilla.org/integration/autoland/rev/af22bc552759
Ask generate_source_mozbuild.py to build the encoder side of libaom.
r=glandium
https://hg.mozilla.org/integration/autoland/rev/1c4b5311ac03
Regenerate libaom/sources.mozbuild and config files. r=glandium
https://hg.mozilla.org/integration/autoland/rev/74e2acabc439
Remove .orig files that crept in. r=chunmin
https://hg.mozilla.org/integration/autoland/rev/661e520c2991
Write a placeholder implementation for getting the buildconfig. r=chunmin
https://hg.mozilla.org/integration/autoland/rev/4f8c19f9dfcf
Add an av1 encoder based on libaom to ffvpx. r=chunmin

== Change summary for alert #40656 (as of Wed, 13 Dec 2023 14:00:29 GMT) ==

Regressions:

Ratio Test Platform Options Absolute values (old vs new)
1% installer size osx-cross 89,529,780.25 -> 90,742,760.83

For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=40656

Keywords: perf-alert
Attachment #9368614 - Attachment description: Bug 1869332 - Temporarily disable libaom fuzzing on debug. r?pehrsons → Bug 1869332 - Temporarily disable libaom fuzzing. r?pehrsons
Pushed by padenot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dfab47873174 Move libaom to libgkcodecs. r=glandium,media-playback-reviewers,chunmin https://hg.mozilla.org/integration/autoland/rev/2909ac6aeb41 Ask generate_source_mozbuild.py to build the encoder side of libaom. r=glandium https://hg.mozilla.org/integration/autoland/rev/295a1e1f01d5 Regenerate libaom/sources.mozbuild and config files. r=glandium https://hg.mozilla.org/integration/autoland/rev/5e775f2c2b9c Remove .orig files that crept in. r=chunmin https://hg.mozilla.org/integration/autoland/rev/03ac3598f84f Write a placeholder implementation for getting the buildconfig. r=chunmin https://hg.mozilla.org/integration/autoland/rev/886e59d6495f Add an av1 encoder based on libaom to ffvpx. r=chunmin https://hg.mozilla.org/integration/autoland/rev/e1a7852ec85a Temporarily disable libaom fuzzing. r=pehrsons

The av_base64_decode and av_base64_encode in libaomenc.c are only
exposed in NON MOZ_FFVPX_AUDIOONLY builds [1], so libaom files should
be built in non audio-only builds as well.

[1] https://searchfox.org/mozilla-central/rev/008ce958417fd724e02748740d669aafd49debb3/media/ffvpx/libavutil/avutil.symbols#6-9

Attachment #9369559 - Attachment description: Bug 1869332 - Move libaom files to Non MOZ_FFVPX_AUDIOONLY build → Bug 1869332 - Move libaom files to Non MOZ_FFVPX_AUDIOONLY builds
Pushed by cchang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/54785b4a8579 Move libaom to libgkcodecs. r=glandium,media-playback-reviewers,chunmin https://hg.mozilla.org/integration/autoland/rev/99928aff2e46 Ask generate_source_mozbuild.py to build the encoder side of libaom. r=glandium https://hg.mozilla.org/integration/autoland/rev/57f11a1e2268 Regenerate libaom/sources.mozbuild and config files. r=glandium https://hg.mozilla.org/integration/autoland/rev/1ff8d858ccdc Remove .orig files that crept in. r=chunmin https://hg.mozilla.org/integration/autoland/rev/078ac62a9145 Write a placeholder implementation for getting the buildconfig. r=chunmin https://hg.mozilla.org/integration/autoland/rev/fe159bf30548 Add an av1 encoder based on libaom to ffvpx. r=chunmin https://hg.mozilla.org/integration/autoland/rev/40ac5494688f Temporarily disable libaom fuzzing. r=pehrsons https://hg.mozilla.org/integration/autoland/rev/44452d446cf6 Move libaom files to Non MOZ_FFVPX_AUDIOONLY builds r=media-playback-reviewers,jolin
Duplicate of this bug: 1868618
Regressions: 1872240
See Also: → 1869986
Flags: needinfo?(padenot)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: