← Back to context

Comment by mkoubaa

1 year ago

I'm shocked there still isn't a hardware accelerator for video decoding.

Practically every computer device manufactured in the last 15 years has some sort of accelerator/specific instructions designed primarily for optimizing the decoding of video.

There is! FFmpeg supports hardware acceleration for a lot of operations. (Though format/codec dependant on the chipset you're working with, so it's not as general as you might expect. I don't know a ton about video's guts, so I assume the variance between video codec decoding is big enough to require incompatible special silicon.)

https://trac.ffmpeg.org/wiki/HWAccelIntro

What do you mean? Pretty much any SoC designed for consumer applications has some form of hardware accelerated video decoding.

ffmpeg does more than hardware decoding. For example scaling, cropping, changing colors, effects. All this stuff can benefit from vectorized operations (on CPU or GPU).