Skip to content

Tweaks Menu: Chromium Enable h265 videos#1011

Closed
tarekbecker wants to merge 1 commit into
basecamp:masterfrom
tarekbecker:enable-h265-chromium
Closed

Tweaks Menu: Chromium Enable h265 videos#1011
tarekbecker wants to merge 1 commit into
basecamp:masterfrom
tarekbecker:enable-h265-chromium

Conversation

@tarekbecker
Copy link
Copy Markdown

I noticed that chromium cannot play h265 videos. The following flags enable the HardwareAcceleration and shall improve the performance with wayland

Please let me know, if a migration file is required for this or what else is missing.

Thanks
Tarek

@ryanrhughes
Copy link
Copy Markdown
Collaborator

Odd that's not enabled by default.

Just a simple migration using omarchy-refresh-config to update that file should do it.

@tarekbecker
Copy link
Copy Markdown
Author

@ryanrhughes added the migration

@woopstar
Copy link
Copy Markdown
Contributor

Seems important:)

@woopstar
Copy link
Copy Markdown
Contributor

@tarekbecker Please resolve conflicts

@tarekbecker
Copy link
Copy Markdown
Author

@woopstar resolved

@dhh
Copy link
Copy Markdown
Member

dhh commented Oct 8, 2025

We had another PR for the same thing. Unfortunately having these on by default means instability and crashes and glitches on some systems. That's why it's not turned on by default by Chromium. So I don't think we can have it on.

But what I WOULD like to see is basically a Setup > Tweaks section where we can add stuff like that that we can't ship by default, but that many folks might like to do after an install. So this could enable under Setup > Tweaks > Enable Chromium H265 Decoding or something like that.

@sgruendel
Copy link
Copy Markdown
Contributor

Hey @tarekbecker do you have a web page with an embedded h265 video to test this, I have found https://h265.webmfiles.org/embed-h265-video.php and both embedded videos don't work for me?

@tarekbecker
Copy link
Copy Markdown
Author

At least for me, your site shows an error in the console with name not found.

Check this out: https://test-videos.co.uk/bigbuckbunny/mp4-h265

The download file links play the videos for me if I have the flags enabled (you need to close all chromium sessions beforehand)

@sgruendel
Copy link
Copy Markdown
Contributor

At least for me, your site shows an error in the console with name not found.

Ah same for me, hadn't checked console output.

Check this out: https://test-videos.co.uk/bigbuckbunny/mp4-h265

The download file links play the videos for me if I have the flags enabled (you need to close all chromium sessions beforehand)

Had found that page too but was confused by the download link, videos play fine, thanks :) Also Dev Tools > Media confirms that hardware decoder is used.

@tarekbecker
Copy link
Copy Markdown
Author

We had another PR for the same thing. Unfortunately having these on by default means instability and crashes and glitches on some systems. That's why it's not turned on by default by Chromium. So I don't think we can have it on.

But what I WOULD like to see is basically a Setup > Tweaks section where we can add stuff like that that we can't ship by default, but that many folks might like to do after an install. So this could enable under Setup > Tweaks > Enable Chromium H265 Decoding or something like that.

I'll work on a suggestion

@tarekbecker tarekbecker force-pushed the enable-h265-chromium branch 2 times, most recently from 21a5bc1 to c11f0e8 Compare October 9, 2025 18:58
@tarekbecker
Copy link
Copy Markdown
Author

@dhh Added a tweaks menu that allows toggling the flags.

Brave is not tested yet.

screenshot-2025-10-09_20-59-46 screenshot-2025-10-09_21-00-08

@tarekbecker tarekbecker changed the title Chromium Enable h265 videos Tweaks Menu: Chromium Enable h265 videos Oct 9, 2025
@tarekbecker tarekbecker force-pushed the enable-h265-chromium branch from 5527a38 to 5c3b94a Compare October 9, 2025 19:13
@dhh
Copy link
Copy Markdown
Member

dhh commented Jan 3, 2026

I still like this, but it's way too much code. We should be able to just use grep + sed to check if the line we want is there and otherwise add it. Don't need to detect the browser either, just try to do it for both configs directly.

@dhh dhh closed this in 5066ae8 May 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants