3 ms·
Software video decoding isn't some monstrous workload, though. We're not in the era of Pentium 4 and h.264 decoding drowning every CPU out there to a screeching
by Dalewyn 3y ago
Software video decoding isn't some monstrous workload, though. We're not in the era of Pentium 4 and h.264 decoding drowning every CPU out there to a screeching halt anymore, the CPUs of today hardly acknowledge the load even in the low-end tiers.
The benefits of hardware decoding are lower power consumption (read: electricity bills) and offloading the work to dedicated co-processors freeing up resources on the CPU proper, which are indeed far less relevant on desktops and even laptops which can just pack big batteries.
The biggest beneficiaries are by far mobile devices and really low power hardware. Computers which either cannot practically carry more batteries or which use hardware that simply aren't performant for more important reasons.
Desktops and laptops meanwhile are better geared to benefit from the perks of software decoding: Better quality and versatility, and fine-tuning of filters and rendering paths.
- FirmwareBurner 3y agoWith all due respect, I think you must be out of touch if you don't acknowledge the negative effects of lacking HW decode on video playback and content consumption on regular notebooks. People do notice this even if they don't know where the fault comes from. Even on a modern Ryzen laptop APU, if I run H265 or AV1 4k decode in software the CPU usage is vastly noticeable. On my older Intel i5 6300HQ they're pegging it at 100% .
- Dalewyn 3y agoI watch software decoded video all the time because I like watching anime. I have never, ever had any problems for quite literally over a decade thanks to how powerful CPUs have gotten. Way back 20 years ago, you would have had a point. But today? CPUs are several orders of magnitudes of overpowered for the task.
- FirmwareBurner 3y ago>. I have never, ever had any problems for quite literally over a decade thanks to how powerful CPUs have gotten. I wasn't talking about having problems decoding, I was talking about software decode screwing your battery life due to high CPU usage on certain streams. Which is a problem, but not something most people who don't have laptops care about. Do you watch your anime on a desktop or a laptop on battery?
- Dalewyn 3y agoI watch on battery if I'm out traveling. The very slight increase in CPU processing and thus power use doesn't bother me at all. The screen takes more power than the CPU. I habitually have Task Manager minimized in the tray area because I like monitoring my CPU usage at a glance, and decoding video in software simply does not even register as a noticable blip anymore.
- iforgotpassword 3y agoSo yes for 720p low bitrate stuff it's not so much of a difference, but as others said watch some real content in 1080p or better 4k and your CPU will definitely break a sweat and the fans spin up. Now that I think of it with your claim of it not even registering as a blip in taskmanager I'd actually argue you're probably using hardware decoding without noticing, because I wouldn't know which player (esp if on Windows) wouldn't make use of it.
- steve_rambo 3y agompv (definitely the best player for advanced users) does not use it by default. I'll simply quote `man mpv`: > Hardware decoding is not enabled by default, to keep the out-of-the-box configuration as reliable as possible. However, when using modern hardware, hardware video decoding should work correctly, offering reduced CPU usage, and possibly lower power consumption. On older systems, it may be necessary to use hardware decoding due to insufficient CPU re‐sources; and even on modern systems, sufficiently complex content (eg: 4K60 AV1) may require it.
- Dalewyn 3y agoI am definitely not using hardware decoding. My setup is Media Player Classic Home Cinema, splitting and decoding via LAVFilters, then fed through ffdshow for some filters, before finally rendering on Enhanced Video Renderer. Nowhere in the pipeline is the GPU involved as far as decoding is concerned, it's all deliberately software on the CPU.
- 3y ago
- saidinesh5 3y agoAnime is like 480p, low fps video isn't it? Otherwise even my desktop struggles when it comes to 4K60 video decoding on the CPU.
- steve_rambo 3y agoDefinitely not. Many anime release groups are early adopters of new video coding standards. It was the first popular media that saw heavy use of AVC back in probably 2006 or so, then HEVC (roughly in 2014 or thereabouts), then AV1 (since ~2021), and sometimes even VVC, although that's currently being held back by a lack of support in mainline ffmpeg. It was also the first to start using 10 bit color profiles. Some release groups are particularly insistent on producing high quality releases and use FLAC for audio (even if the source tracks were in lossy format), and very high bitrate video.
- CyberDildonics 3y agoWhy would a type of animation dictate resolution and framerate?
- mihaic 3y agoDecoding has a component that is proportional to the bitrate. Anime has a much lower bitrate than say a 4k bluray movie. The truth though is somewhere in the middle, as recent CPUs are getting to a point where they can do all the heavy decoding on their own, but older models (that are still widespread) still struggle.
- cm2187 3y agoBut also I understand the GPU is using a video encoding/decoding chip which will have a fixed performance whatever the model of GPU within a generation, whereas software can fully utilise your CPU, and scale up if you run multiple streams in parallel. All of that is irrelevant for real time decoding, but for converting files, my experience if you are using hardware encoding is that hardware decoding can become the bottleneck and you may get faster performance with software decoding + hardware decoding.
- camhart 3y agoAv1 consumes most modern CPUs at 4k+. Sure if its 264 with 1080p res you haven't had issues.
- m4rtink 3y agoAnd its made even worse nowadays to properly support video conferencing, as often you need to decode multiple streams (video from multiple participants) as well as encode one or more (camera + slides/screen) streams from your end, at the same time, in real time.
- jug 3y agoHaha, a normal 1440p / 4K YouTube video is a pretty monstrous workload for my Intel Core i5-8259U CPU at least! I get by completely thanks to the Intel Iris Plus 655 HW decoder. Otherwise my Intel NUC would indeed be a screeching, hot mess, and then I'm only talking of H.264 and H.265.
- kaliqt 3y agoYou have to consider hardware limitations, you want maximum battery (thus minimize power burn, by reducing CPU and GPU load), and that can only be achieved by optimizing for the highest possible speed. Battery life is everything, no one cares about electricity bills on a laptop or phone, but they do care if the phone or laptop dies sooner than it has to.