4 ms·
smartphones, computers, and TVs also dedicated hardware acceleration for AVIF video. Decoding an AVIF image uses virtually no battery/CPU power. It will require
by culi 2mo ago
smartphones, computers, and TVs also dedicated hardware acceleration for AVIF video. Decoding an AVIF image uses virtually no battery/CPU power. It will require mass adoption to convince hardware makers to dedicate chips for decoding. especially with AVIF2 on the horizon
- Scaevolus 2mo agoChrome doesn't use hardware acceleration for decoding any image codecs-- not for JPEG or WebP or AVIF. It has some code for it (using VA-API), but it's disabled by default. Hardware video decoders are generally hard to use for image decoding tasks. Safari appears to be the only shipping browser using hardware decoding for JPEG and HEIF (HEVC based images). This is probably because vertical integration lets them make the decoders appropriate for image use. Also, "AVIF video" is incorrect. AVIF is the image codec based on AV1 intra frames.
- ledoge 2mo agoAVIF supports regular AV1 videos, there is no intra-only constraint. You can try this yourself with any AV1 video: ffmpeg -i input.webm -c:v copy output.avif You are right about Firefox and Chrome not using hardware decoding though, as such an AVIF video plays back poorly. And Chrome refuses to load an AVIF larger than 256 MB on my machine.
- jaffathecake 2mo agoAVIF video does support an alpha channel, which AV1, annoyingly, doesn't.