Closed Bug 1653350 Opened 4 years ago Closed 4 years ago

Add a profiler marker that exposes jitter in video frame timestamps

Categories

(Core :: Gecko Profiler, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: mstange, Assigned: mstange)

References

Details

Attachments

(1 file)

When ImageComposite::SetImages gets called, it contains the upcoming ~10 video frames. It gets called quite frequently, so most of the time, 8-10 of those frames are the same; usually one gets added at the end and one dropped from the beginning.
In a perfect world, for a given video frame (frameID,producerID), that frame's timestamp would stay fixed across multiple SetImages calls.
However, we adjust video frame timestamps based on audio playback. If we have bugs in that system (bug 1649859), or if the audio clock drifts compared to the system clock, then the timestamp for a video frame can change.
We can detect those timestamp changes and put the delta into a Gecko Profiler marker.

Severity: -- → N/A
Priority: -- → P3
Pushed by mstange@themasta.com:
https://hg.mozilla.org/integration/autoland/rev/63782470c325
Add a marker that shows variations in video frame timestamps. r=jrmuizel
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: