enable-chromium-hevc-hardware-decoding
DietPi
enable-chromium-hevc-hardware-decoding | DietPi | |
---|---|---|
10 | 306 | |
1,108 | 4,569 | |
- | - | |
7.0 | 9.8 | |
16 days ago | 2 days ago | |
JavaScript | Shell | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
enable-chromium-hevc-hardware-decoding
-
Raspberry Pi 5 drops codec hardware acceleration except for HEVC decode
Most devices can indeed most likely handle software decode of more common resolutions, codecs and bitrates. But I'd really hope they'd pick the one that won't suck up all the battery, so H264. This line of thought is supported by the fact that YouTube still provides an H264 option with most if not all videos.
With higher bitrate things, HEVC seems to grow in popularity but even software decode support is not everywhere. Netflix for example requires the installation of HEVC support on Windows to play 4K content.
Actually hardware-accelerated video decode is even spottier and more unreliable across most platforms. The JS API for codec support (canPlayType) literally returns "maybe" and "probably". It's quite bad.
So far the best compatibility I've seen has been Edge with flags on Windows (MPEG-2, H264, HEVC, AV1, VP8, VP9 with most also supporting accelerated encode). It still fails with some content (Dolby Vision P5 colors are incorrect, HEVC Rext doesn't play - more info about HEVC is available here https://github.com/StaZhu/enable-chromium-hevc-hardware-deco...). Chrome on macOS is a close second in terms of codec support.
The worst in terms of HW acceleration being all the browsers on desktop Linux-s, few and fragile combinations that offer limited and janky support. But it's slowly improving. This combined with the not-the-latest hardware many use, means things like VP9 or AV1 tend to stutter.
I'd love to see some more generic stats, but considering the APIs aren't sufficient to determine actual support, these might be difficult to gather.
-
Chrome still hasn't changed its opinion about dropping JPEG XL support
> The 'right' solution would be to just use system codecs for everything. Many apps need good implementations of image codecs. They just need to be implemented once by the OS vendor (or the toolkit on Linux).
Windows has done this and is still doing this, but the decade-long track history so far is that this does not work well. It can work, in a very limited scope and if you have a lot of influence.
Sure, it's really nice if an 8K@60Hz HDR HEVC video plays perfectly straight in your browser or desktop app, but more often than not, it just won't. You don't have the right browser, the extension installed (due to license agreements), good enough graphics drivers or someone has forgotten a flag yet again.
And we haven't even gotten to the immense amount of variation each codec introduces or the potential attack surface.
How shit the situation is with just HEVC (and thus also basically HEIC): https://github.com/StaZhu/enable-chromium-hevc-hardware-deco...
> Just file a bug against your OS.
In the end that "just" carries a lot of burden, it can't be the users reporting these issues.
It's just way easier to leech off of ffmpeg and similar, and let it deal with all the formats. Instead of hoping that maybe you can leverage what the OS gives you, that it works and works correctly in all your edge-cases.
Though not everything is that gloomy, there are Vulkan extensions that might (in the future) simplify cross-platform image and video decoding (and HW acceleration).
- Ubuntu 22.04 hevc video playback in chrome
- Solution for ZoneMinder and Reolink Cams and High Efficiency Video Coding H.265
- Google Quietly Added HEVC Support in Chrome
- What are your pet peeves about how people use your plex? This is one of my biggest
- Proper way to watch HEVC on supported browser like Chromium
- Chrome now has optional HEVC/h265 support
-
Ask HN: Why does nobody support h.265/HEVC anymore?
I think there are a few patches that can enable HEVC hardware decoding with chromium. Though I am a firefox user so I didn't test whether these patches works or not. https://github.com/StaZhu/enable-chromium-hevc-hardware-deco...
DietPi
- Home Lab Guide
- DietPi – Highly optimised minimal Debian OS
-
DietPi released a new version 9.1
DietPi is a lightweight Debian based Linux distribution for SBCs and server systems, with the option to install desktop environments, too. It ships as minimal image but allows to install complete and ready-to-use software stacks with a set of console based shell dialogs and scripts.
The source code is hosted on GitHub: https://github.com/MichaIng/DietPi
-
Considerations for a long-running Raspberry Pi
That's a good point, but the array of devices supported by the DietPi team is extensive: https://dietpi.com/
-
The Orange Pi 5
Before someone starts the usual yadda yadda about the RPi biger community, the OS not having long time support etc. I would repeat one more time: do not rely on board vendor supplied images; this is valid for pretty much all boards. Just go to Armbian or DietPi pages and you'll almost certainly find one or more images that work on your board and forums to discuss about them with very knowledgeable people.
https://www.armbian.com/download/
https://dietpi.com/#download
Those projects are well worth a contribution, as they don't have a giant like Broadcom behind them.
-
OpenWrt One/AP-24.XY: new open source router board by OpenWrt and Banana Pi
> bananapi do a lot of boards but their software story has been a bit poor
This is quite common with other board manufacturers too. I'd rather suggest to ignore completely their cobbled together distros, often also tainted by proprietary modifications, that become unmaintained in a few years, and see if they're among the many supported by Armbian or DietPi.
https://www.armbian.com/download/
https://dietpi.com/#download
- DietPi: Lightweight Debian OS, optimised for minimal CPU, RAM usage
-
DietPi released a new version 8.25
The full release notes can be found at: https://dietpi.com/docs/releases/v8_25/
-
Looking for a way to remote in to K's of raspberry pi's...
RPi OS = diet pi https://dietpi.com/ - initial config via text file - SDcard burning out partially mitigated as writes log files to ram then flushes to SDcard reducing write cycles
-
Laptop so slow that even XFCE is laggy. What distro could run better?
You could also try very minimalistic distros like TwisterUI or DietPi which are most known for their use in the RasprebbyPi / SBC computers but which also have editions for desktop / laptop.
What are some alternatives?
enable-chromium-hevc-hardware-deco
OpenMediaVault - openmediavault is the next generation network attached storage (NAS) solution based on Debian Linux. Thanks to the modular design of the framework it can be enhanced via plugins. openmediavault is primarily designed to be used in home environments or small home offices.
jellyfin-ffmpeg - FFmpeg for Jellyfin
NextCloudPi - 📦 Build code for NextcloudPi: Raspberry Pi, Odroid, Rock64, curl installer...
SVT-AV1
Open and cheap DIY IP-KVM based on Raspberry Pi - Open and inexpensive DIY IP-KVM based on Raspberry Pi
libheif - libheif is an HEIF and AVIF file format decoder and encoder.
DockSTARTer - DockSTARTer helps you get started with running apps in Docker.
Joshiraku - Kaleido-subs release of Joshiraku (Rakugo Girls)
FreeNAS - TrueNAS CORE/Enterprise/SCALE Middleware Git Repository [Moved to: https://github.com/truenas/middleware]
encode-scripts - Scripts of our encodes
Ansible-NAS - Build a full-featured home server or NAS replacement with an Ubuntu box and this playbook.