3 ms·
Or better use the WebCodecs API to be able to use your hardware encoding and decoding facilities.
by hokkos 3y ago
Or better use the WebCodecs API to be able to use your hardware encoding and decoding facilities.
- crazygringo 3y agoGenerally 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.
- dpe82 3y agoDepends what you're decoding. :) 4k H.265 or AVC will cook your CPU.