Hardware Video Codec Acceleration

The cluster discusses the efficiency of hardware versus software encoding and decoding for video codecs like H.264, HEVC, VP9, and AV1, including hardware support in CPUs/GPUs such as QuickSync and NVENC, and factors affecting adoption of new codecs.

📉 Falling 0.4x Hardware
2,572
Comments
19
Years Active
5
Top Authors
#6307
Topic ID

Activity Over Time

2008
4
2009
23
2010
71
2011
62
2012
63
2013
89
2014
80
2015
92
2016
115
2017
110
2018
208
2019
161
2020
327
2021
223
2022
226
2023
287
2024
216
2025
207
2026
8

Keywords

MMX e.g CPU NVENC JS MIPS DVD DTV PS2 DSP decoding hardware cpu encoding gpu av1 decode encode 264 video

Sample Comments

heavyset_go Jun 12, 2020 View on HN

Encoding is probably more important. Without acceleration from a hardware codec, decoding modern videos is CPU intensive.

richardwhiuk Jul 29, 2024 View on HN

Surely h264 encode and decode is substantial, given the large amount of video consumed?

blibble Jan 29, 2013 View on HN

given that sites tend to only encode to a few formats, and given decoding is cheap cpu wise: couldn't you pipe the output of the ffmpeg decoder into a hardware encoder and get the best of both worlds?

joefourier Nov 12, 2020 View on HN

You already have HW encoder blocks on certain CPUs and most GPUs. See: Intel Quicksync, Nvidia NVENC and AMD Video Core Next. Support for them will of course depend on your platform and the applications you are using. IIRC, video editing software will generally use HW decoding for smooth-real time playback, but use CPU-encoding for the final output.

BubRoss Feb 4, 2020 View on HN

Video encoding is still very CPU intensive, especially newer codecs like HEVC VP9 and AV1

gruez Aug 1, 2020 View on HN

Don't most computers already have hardware accelerated encode/decode via cpu/gpu?

pertymcpert Jan 15, 2025 View on HN

Yes. The reason is that there's many ways to encode a video, you can choose to spend a lot of compute in order to get the best quality, or the best size efficiency. Fixed function hardware encoders by nature have much less freedom in how they encode, and additionally are expected to be faster, or even real time.

sidewndr46 Dec 1, 2022 View on HN

Don't most devices have hardware offload for decoding nowadays?

lostmsu Dec 30, 2019 View on HN

Video decoding is usually implemented in hardware, so very efficient.

wmf Jan 10, 2018 View on HN

But codecs are implemented in hardware. Gotcha!