Hacker News new | ask | show | jobs
by hokkos 980 days ago
Or better use the WebCodecs API to be able to use your hardware encoding and decoding facilities.
1 comments

Generally speaking, CPU decoding isn't that slow in the first place (compared to any kind of encoding), and hardware encoding is low-quality and lacking in options.

Hardware encoding is great for quickly getting a camera feed to disk at a non-professional quality level, but it's hard to imagine ever using it to do a re-encode of anything -- where you usually want to prioritize quality and a smaller size over encoding speed.

Depends what you're decoding. :) 4k H.265 or AVC will cook your CPU.