detached 453cbd8

docs(config): add Media configuration section with hardware decoding options

commit
453cbd8b0585cc3c8d90e92bbf5dd160eda329a2
author
brice · · 2025-12-18 18:33 UTC
committer
brice · · 2025-12-19 05:28 UTC
parent
46f04d2
signature
unsigned
1 file · +27 -0
M docs/CONFIG.md +27 -0
@@ -268,6 +268,33 @@ cancel = ["escape"]
268268 | `workspace.styling.transition_duration` | int | `120` | Border transition duration (ms) |
269269 | `workspace.styling.ui_scale` | float | `1.0` | UI scale multiplier (1.0 = 100%, 1.2 = 120%) |
270270
271+## Media
272+
273+| Key | Type | Default | Valid Values | Description |
274+|-----|------|---------|--------------|-------------|
275+| `media.hardware_decoding` | string | `"auto"` | `auto`, `force`, `disable` | Hardware video decoding mode |
276+| `media.prefer_av1` | bool | `true` | - | Prefer AV1 codec when available |
277+| `media.show_diagnostics` | bool | `true` | - | Show media diagnostics warnings at startup |
278+
279+**Hardware decoding modes:**
280+- `auto` (recommended): Hardware preferred with software fallback - fixes Twitch Error #4000
281+- `force`: Hardware only - fails if unavailable
282+- `disable`: Software only - higher CPU usage
283+
284+**Example:**
285+```toml
286+[media]
287+hardware_decoding = "auto" # HW preferred, SW fallback
288+prefer_av1 = true # AV1 is most efficient codec
289+show_diagnostics = true # Log warnings if HW accel unavailable
290+```
291+
292+**Diagnostics CLI:**
293+```bash
294+# Check GStreamer plugins and VA-API status
295+dumber media
296+```
297+
271298 ## Content Filtering
272299
273300 | Key | Type | Default | Description |
@@ -268,6 +268,33 @@ cancel = ["escape"]
268 | `workspace.styling.transition_duration` | int | `120` | Border transition duration (ms) |268 | `workspace.styling.transition_duration` | int | `120` | Border transition duration (ms) |
269 | `workspace.styling.ui_scale` | float | `1.0` | UI scale multiplier (1.0 = 100%, 1.2 = 120%) |269 | `workspace.styling.ui_scale` | float | `1.0` | UI scale multiplier (1.0 = 100%, 1.2 = 120%) |
270 270
271+## Media
272+
273+| Key | Type | Default | Valid Values | Description |
274+|-----|------|---------|--------------|-------------|
275+| `media.hardware_decoding` | string | `"auto"` | `auto`, `force`, `disable` | Hardware video decoding mode |
276+| `media.prefer_av1` | bool | `true` | - | Prefer AV1 codec when available |
277+| `media.show_diagnostics` | bool | `true` | - | Show media diagnostics warnings at startup |
278+
279+**Hardware decoding modes:**
280+- `auto` (recommended): Hardware preferred with software fallback - fixes Twitch Error #4000
281+- `force`: Hardware only - fails if unavailable
282+- `disable`: Software only - higher CPU usage
283+
284+**Example:**
285+```toml
286+[media]
287+hardware_decoding = "auto" # HW preferred, SW fallback
288+prefer_av1 = true # AV1 is most efficient codec
289+show_diagnostics = true # Log warnings if HW accel unavailable
290+```
291+
292+**Diagnostics CLI:**
293+```bash
294+# Check GStreamer plugins and VA-API status
295+dumber media
296+```
297+
271 ## Content Filtering298 ## Content Filtering
272 299
273 | Key | Type | Default | Description |300 | Key | Type | Default | Description |

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 8

Tags 42

↑↓ moveenter openesc close