Twitch VP9 in MP4 streams do not play

RESOLVED FIXED in Firefox 67

Status

()

P2
normal
RESOLVED FIXED
2 months ago
a month ago

People

(Reporter: jya, Assigned: jya)

Tracking

unspecified
mozilla67
Points:
---

Firefox Tracking Flags

(firefox67 fixed)

Details

(URL)

Attachments

(1 attachment)

(Assignee)

Description

2 months ago

There's an encoding error in Twitch's VP9 stream.

This is due to all frames being marked as keyframe even when they are not.

As such, when seeking the first frame encountered will typically not be a keyframe, and the VP9 decoder will choke on those.

We should do like we do with H264, that is to not trust the mp4 container to tell us if a frame is keyframe or not and only rely on sniffing the raw bytestream content.

See Also: → bug 1524753
See Also: → bug 1524384
Priority: -- → P2
(Assignee)

Comment 1

2 months ago

Similar to what we do for H264 and for vp9 in webm, we parse the VP9 bytestream and check if a frame is a keyframe there instead.

Comment 2

a month ago
Pushed by jyavenard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/28c58b8cd89f
P1. Don't trust mp4 container to determine if a VP9 frame is a keyframe. r=bryce

Comment 3

a month ago
bugherder
Status: NEW → RESOLVED
Last Resolved: a month ago
status-firefox67: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.