Closed Bug 1896524 Opened 4 months ago Closed 3 months ago

Add browsertime based video playback latency tests

Categories

(Core :: Audio/Video: Playback, task)

task

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: aosmond, Assigned: aosmond)

References

Details

Attachments

(1 file)

No description provided.

The video under test is a simple recording of solid colors, where the
first frame is red, second frame is blue, subsequent frames alternate
between green and purple, and the final frame is yellow. This allows us
to identify what frame is being displayed and when in a browser agnostic
way.

This is achieved by updating the visualmetrics python script in
browsertime to identify frames which match a given color range, called
key color frames. The script will produce a list of which frames appear
when that we can use to estimate the playback latency. Note that the
annotated videos produced by the jobs will also be annotated to make it
clear which frames it believes are key color frames.

This patch requires an updated browsertime dependency once the following
pull request has been merged:
https://github.com/sitespeedio/browsertime/pull/2119

A rebased version of the browsertime pull request on the version of browsertime currently used by our CI is available here:
https://github.com/aosmond/browsertime/tree/ao_visualmetrics_video_latency_26_1_0

That is what I am using in my try pushes.

Attachment #9401539 - Attachment description: Bug 1896524 - Add desktop browsertime tests to measure video playback latency. → Bug 1896524 - Add desktop/android browsertime tests to measure video playback latency.
Pushed by aosmond@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9495d071271f
Add desktop/android browsertime tests to measure video playback latency. r=perftest-reviewers,sparky
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: