13 ms·
To give a concrete example, VAAPI Haswell integrated graphics, peak CPU usage: mpv hardware H.264 1080p60: 3% CPU usage mpv software H.264 1080p60: 20% CPU
by btdmaster 4y ago
To give a concrete example, VAAPI Haswell integrated graphics, peak CPU usage:
mpv hardware H.264 1080p60: 3% CPU usage
mpv software H.264 1080p60: 20% CPU usage
mpv hardware H.264 4K60: 96% CPU usage
mpv software H.264 4K60: 80% CPU usage
There comes a point of diminishing (or in this case, negative) returns. A bit more subjectively, the H.264 software rendering at 4K60 also felt smoother.
I'm using H.264 as it is hardware accelerated on this platform.
- zamadatix 4y ago"Offloaded decoding takes more CPU than non-offloaded decoding" doesn't make any sense - clearly something else is going awry here.
- cornstalks 4y agoI don't think all Haswell chips support 4k H.264. That's one downside of hardware decoders: they have limits on what they support. I suspect the decoder is actually falling back to a software implementation to handle the bitstream since the hardware can't. For example: https://www.avsforum.com/threads/no-hardware-4k-h264-decode-on-pentium-g3258-with-hd-graphics.1936777/ https://www.avsforum.com/threads/no-hardware-4k-h264-decode-...