Originally posted by AnAccount
View Post
Extracting a frame from a WebM to turn it into a WebP v1 will only work if the WebM payload is VP8, not if it is VP9 or AV1.
I don't know to what extent WebP v2 will be backwards compatible (will it still decode WebP v1 files?), but it's clearly a completely new codec and WebP v1 decoders certainly will not be able to decode WebP v2 files. In terms of a transition path to adoption, this will be tricky. Browsers that claim support for "image/webp" will probably only support WebP v1, at least initially and in a long tail of non-upgraded devices. Will a new IANA media type be registered for image/webp2 ?
Avoiding generation loss by being able to extract a video keyframe and turn it into an image directly without introducing extra compression artifacts makes sense, but I don't think it is a hugely important thing, not even for e.g. YouTube (the video thumbnails are not just extracted frames, they are also downscaled, so re-encoding to a different format does not make much of a difference).
I don't think generation loss has been a big concern in the WebP v1 or v2 design, or if it was, they didn't really manage to make it very resilient generation loss. In all the generation loss testing I did, WebP always turns things in the most spectacular mess when you do repeated encodes.
Comment