Closed Bug 1895635 Opened 2 months ago Closed 1 month ago

Enable ffmpeg av1 encoder on MacOS

Categories

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

Desktop
macOS
task

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: chunmin, Assigned: chunmin)

References

(Blocks 2 open bugs)

Details

Attachments

(6 files)

The av1 data should be able to be encoded by libaom through FFmpegVideoEncoder.

Fix: SyntaxWarning: "is" with a literal. Did you mean "=="?

Depends on D209994

  1. Change revision in libaom/moz.yaml to x
  2. Run
./mach vendor media/libaom/moz.yaml \
-r 23c94347d84241c322f3b40daf120047ff4f8d56 \
--patch-mode=none --ignore-modified
  1. Undo step 1
  2. Run
./mach vendor media/libaom/moz.yaml --patch-mode=only

Depends on D209995

Attachment #9401024 - Attachment description: WIP: Bug 1895635 - Fix syntax warning in update script → WIP: Bug 1895635 - Fix syntax warning in libaom update script
Attachment #9401025 - Attachment description: WIP: Bug 1895635 - Update script to import mac/arm64 sources → WIP: Bug 1895635 - Update libaom script to import mac/arm64 sources
Attachment #9401026 - Attachment description: WIP: Bug 1895635 - Import mac/arm64 sources → WIP: Bug 1895635 - Import mac/arm64 sources for libaom

Depends on D209996

Depends on D210064

Attachment #9401024 - Attachment description: WIP: Bug 1895635 - Fix syntax warning in libaom update script → Bug 1895635 - Fix syntax warning in libaom update script
Attachment #9401025 - Attachment description: WIP: Bug 1895635 - Update libaom script to import mac/arm64 sources → Bug 1895635 - Update libaom script to import mac/arm64 sources
Attachment #9401026 - Attachment description: WIP: Bug 1895635 - Import mac/arm64 sources for libaom → Bug 1895635 - Import mac/arm64 sources for libaom
Attachment #9401155 - Attachment description: WIP: Bug 1895635 - Adjust WPT expectations → Bug 1895635 - Adjust WPT expectations
Attachment #9401156 - Attachment description: WIP: Bug 1895635 - Add av1 to video-encoder-flush WPT → Bug 1895635 - Add av1 to video-encoder-flush WPT

This patch introduces a script to generate optional arguments for arm64
rtcd headers, utilizing the configurations specified in the associated
aom_config.h file.

Depends on D209995

Pushed by cchang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e05d675d06df
Fix syntax warning in libaom update script r=media-playback-reviewers,padenot
https://hg.mozilla.org/integration/autoland/rev/8354084dcf4a
Update libaom script to import mac/arm64 sources r=media-playback-reviewers,padenot
https://hg.mozilla.org/integration/autoland/rev/415221296cb7
Generate optional arguments for arm64 rtcd headers by aom_config.h r=media-playback-reviewers,alwu
https://hg.mozilla.org/integration/autoland/rev/d7d4a4d3ace8
Import mac/arm64 sources for libaom r=media-playback-reviewers,padenot
https://hg.mozilla.org/integration/autoland/rev/b130ffb4f518
Adjust WPT expectations r=media-playback-reviewers,padenot
https://hg.mozilla.org/integration/autoland/rev/508643593dce
Add av1 to video-encoder-flush WPT r=media-playback-reviewers,padenot
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/46243 for changes under testing/web-platform/tests
Regressions: 1896547
Upstream PR was closed without merging
Upstream PR merged by moz-wptsync-bot
Regressions: 1897949
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: