Closed Bug 1932528 Opened 1 year ago Closed 1 year ago

Convert test_encode_from_canvas.html to Raptor test

Categories

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

task

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: chunmin, Assigned: chunmin)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

To get the video encoding's performance comparison with Chrome, test_encode_from_canvas.html should be converted to a Raptor test

Assignee: nobody → cchang
Attachment #9446193 - Attachment description: WIP: Bug 1932528 - Add raptor tests for WebCodecs VideoEncoder → Bug 1932528 - Add raptor tests for WebCodecs VideoEncoder

This patch reverts "Bug 1920813 - Add performance test for WebCodecs
video encoding
r=perftest-reviewers,media-playback-reviewers,aosmond,padenot,sparky" by
running git revert with modification needed.

Depends on D233456

This patch introduces 480p H264 encoding tests that can run in Chrome,
enabling performance comparisons with Firefox. Currently, Chrome refuses
to encode larger video sizes (720p or 1080p) using the H264 codec,
whereas it can handle VP8, VP9, and AV1 at higher resolutions. By using
480p, we ensure that performance data for H264 is comparable across
browsers.

Additionally, this patch relaxes the length limit for subtest names,
allowing explicit inclusion of the codec name and format. This also
leaves room for future differentiation between video encoding, video
decoding, audio decoding, and audio encoding subtests. Note that the
"wc" prefix stands for "WebCodecs", while "ve" stands for
"VideoEncoder".

Depends on D233456

Attachment #9462626 - Attachment description: Bug 1932528 - Add 480p H264 encoding tests and relax length limit for raptor testname → Bug 1932528 - Add 480p H264 raptor tests for VideoEncoder
Pushed by cchang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/024d89def5cd Remove mozperftest from WebCodecs VideoEncoder r=perftest-reviewers,afinder https://hg.mozilla.org/integration/autoland/rev/d07467458396 Add raptor tests for WebCodecs VideoEncoder r=perftest-reviewers,media-playback-reviewers,padenot,sparky,taskgraph-reviewers,bhearsum,ahal https://hg.mozilla.org/integration/autoland/rev/f479e2c57f15 Add 480p H264 raptor tests for VideoEncoder r=perftest-reviewers,taskgraph-reviewers,bhearsum,sparky
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: