Open Bug 1789289 Opened 2 years ago Updated 2 years ago

Youtube livestreams with vp9 codec dropping frames

Categories

(Core :: Audio/Video, defect, P3)

Firefox 104
x86_64
Windows 10
defect

Tracking

()

UNCONFIRMED

People

(Reporter: theryuu, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0

Steps to reproduce:

Visit a livestream that utilizes the vp9 video codec.
e.g. https://www.youtube.com/user/destiny whenever they're live (does not happen with VODs or other vp9 youtube videos.
Profiler: https://share.firefox.dev/3cIEHTf

This also happens with the embed link from his site:
https://www.destiny.gg/bigscreen
Profile for embed link: https://share.firefox.dev/3esDMa1

Actual results:

Dropping frames while watching them live. This does not appear to happen on VODs or any other youtube videos which use vp9. You can see the dropped frames happen on the video and they're listed in the right-click stats menu on youtube.

Expected results:

No dropped frames.

Attached file firefox-support-05092022.txt (deleted) —

Attached about:support page.

Also unrelated to original report but had a crash in the content process while using the profiler:
https://crash-stats.mozilla.org/report/index/f0d62689-c3d1-4fcb-9b5b-bede30220905

Forgot to add in original report but this does not happen with h264/avc youtube livestreams.

OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64

Apologies I'm not sure why I didn't see these but this appears to be a duplicate of either:
https://bugzilla.mozilla.org/show_bug.cgi?id=1685099
or
https://bugzilla.mozilla.org/show_bug.cgi?id=1694485

And just to add this happens with both 30 and 60fps livestreams. The original two bugs only mention 60fps.

I think more streams are using vp9 too since I seem to notice it more and more lately with it dropping frames.

Your hardware looks sufficient. Have you tried with some of your more intrusive extensions like uBlock disabled?

Flags: needinfo?(theryuu)

(In reply to Jim Mathies [:jimm] from comment #6)

Your hardware looks sufficient. Have you tried with some of your more intrusive extensions like uBlock disabled?

Yes it happens regardless of extensions.
Here's another profile with no extensions enabled with it dropping frames:
https://share.firefox.dev/3qx4gtm

I tried to get a profile for a 30fps stream as well but with the profiler enabled it doesn't drop frames. If I'm not profiling it will drop frames but not as much as a 60fps livestream (maybe 1 every 5 to 10 seconds instead of drops of 3-5+ at a time with 60fps livestreams).

Screenshot of Youtube stats for a 60fps stream over a short time:
https://imgur.com/0GRLWMD

Flags: needinfo?(theryuu)

The severity field is not set for this bug.
:jimm, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jmathies)

25 dropped frames at 60fps isn't bad. I also could not find any dropped frame markers in your profile. Are you seeing something negative in playback as a result here or are you just noticing the dropped frames in stats for nerds?

Severity: -- → S4
Flags: needinfo?(jmathies)

(In reply to Jim Mathies [:jimm] from comment #9)

25 dropped frames at 60fps isn't bad. I also could not find any dropped frame markers in your profile. Are you seeing something negative in playback as a result here or are you just noticing the dropped frames in stats for nerds?

It's worse visually than the stats lead on I think. That's from a 1080p 60fps stream, it's worse at 1440p from the ones above which I didn't include the stats for nerds on.

Yes I see the frames dropping at playback too it's very obvious. Would a different profiler profile pick up the dropped frames? I was using media to capture all of the above.

Blocks: dropped-frames
No longer blocks: media-triage
Priority: -- → P3

This does not appear to be reproducible in the latest 108 stable from some initial testing although it could've been fixed in a previous version. I haven't tested it in a while. It also could've been resolved because of a nvidia driver update, I was using hardware decoding.

Not sure what specifically changed if it was Firefox. I'll try watching some more VP9 livestreams on Youtube and keep an eye on it.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: