Closed Bug 1525507 Opened 7 years ago Closed 7 years ago

Twitch VP9 in MP4 streams do not play

Categories

(Core :: Audio/Video: Playback, enhancement, P2)

enhancement

Tracking

()

VERIFIED FIXED
mozilla67
Tracking Status
firefox67 --- verified

People

(Reporter: jya, Assigned: jya)

References

()

Details

Attachments

(1 file)

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: → 1524753
See Also: → 1524384
Priority: -- → P2

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.

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
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67

I have reproduced this issue using Firefox 67.0a1 (2019.01.31) Win 10 x64.
I can confirm this issue is fixed, I verified using Firefox 67.0b18 on Win 10 x64, macOS 10.13.6 and Ubuntu 18.04 x64.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: