bvibber / OGVKit

Ogg and WebM media playback for iOS
MIT License
216 stars 67 forks source link

"sticking" at scene transitions in VP9 on slow devices #200

Closed bvibber closed 4 years ago

bvibber commented 6 years ago

Things seem to visually "stick" briefly at scene transitions in VP9 playback on slower devices (iPod Touch 5th gen, iPhone 5c, tested with 'Curiosity' at 360p or 480p respectively). I think this is because the keyframes are more time-intensive in VP9, with both heavy intraframe compression and perhaps a hidden alt-ref frame next to it.

ogv.js solves this by buffering a few decoded frames ahead, smoothing out the final playback. Requires copying data out of the internal buffers. Should be easy to adapt.