From e4f4dfb471bee2bc08204712f918d6cb7c6adc2a Mon Sep 17 00:00:00 2001 From: thatguywob Date: Wed, 28 Oct 2026 18:21:19 +0000 Subject: [PATCH] fix: include H.264 video decoding and playlist support Request the newly published OpenH264 codec and GStreamer plugin explicitly, together with the playlist parser whose uchardet dependency is now published. Assert factory origin and refresh package guidance and counts. Assisted-by: GPT-6 via GitHub Copilot Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Hive-Run: projectbluefin/utah#383 Hive-Plan: consume-published-media-packages Hive-Spec: issue-383#gstreamer-and-thumbnailers Signed-off-by: thatguywob --- README.md | 2 +- docs/skills/package-contract.md | 31 +++++++++++++++---------------- packages/utah.toml | 10 +++++++++- site/data/packages.json | 7 +++++-- 4 files changed, 30 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index af5201e88..cc79ef991 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ Like Bluefin, Utah builds four hardware flavors (`utah`, `utah-nvidia`, | | count | | --- | --- | | Bluefin contract installed | **61** | -| Utah additions (GNOME 51, base-image parity, device firmware, desktop services) | 251 | +| Utah additions (GNOME 51, base-image parity, device firmware, desktop services) | 254 | | Genuinely unavailable | **7** | ## Known gaps diff --git a/docs/skills/package-contract.md b/docs/skills/package-contract.md index 898997a4f..54b81a1fa 100644 --- a/docs/skills/package-contract.md +++ b/docs/skills/package-contract.md @@ -107,26 +107,25 @@ The four requested overrides and `ffmpegthumbnailer` are in `[factory].parity`; their installed releases must carry `.bfin` to prevent base substitution. Check new names with `just check-repos` and the image's `package-origins.txt`. -`gstreamer1-plugins-bad-free` and `totem-pl-parser` stay out of the install -request until their dependency closures publish (`soundtouch`, `faad2`, -`openal-soft`, `libsrtp`, `uchardet` — tracked by #383). Do not list them -under `[unavailable]`; after publication, re-verify with `just check-repos` -against the reviewed pinned inputs before restoring either request. - +The pinned factory `sha256:688e2137` publishes `openh264` 2.7.0 and +`gstreamer1-plugin-openh264` 1.28.6, plus `totem-pl-parser` and `uchardet`. +Utah requests the plugin, real codec, and playlist parser by name and asserts +their factory release identity. The plugin's library requirement alone is insufficient: older +factory pins offered the `noopenh264` compatibility library instead of a +working decoder. Recheck the digest-pinned repodata before carrying forward +an older publication blocker. + +Utah also consumes libav, dav1d, bad-free and ugly-free GStreamer plugins, +`ffmpegthumbnailer`, `gnome-epub-thumbnailer`, and the Papers thumbnailer. Package installation does not prove codec functionality. On Intel hardware, run `vainfo` against the render device and confirm the iHD driver loads and advertises the expected decode profiles. Inspect `avdec_h264`, `openh264dec`, and `vah264dec` with `gst-inspect-1.0`, then test a known H.264 sample. -The audit pin published `gstreamer1-plugin-openh264` but only `noopenh264`; -resolving that library dependency is not proof of a working decoder. +The decoder-load probe in PR #919 failed for H.264 despite libav being installed. -Remaining #383 gaps: `gstreamer1-plugin-libav` (blocked on the gstreamer1 -family bump), `papers-thumbnailer` (needs published `libspelling` or another -native PDF provider), and `gst-thumbnailers` (needs the Rust crate stack, -see factory #527). `ffmpegthumbnailer` is consumed; ugly-free, plugin-dav1d, and the -epub thumbnailer are still not in the factory and stay out until -utah-packages publishes them (#383). Full FFmpeg (not `-free`) is the decided -direction; keep #383 open for hardware and codec proof. +Remaining #383 gaps include full FFmpeg (the decided direction, replacing +`-free`) and `gst-thumbnailers` (factory #527); neither is published in this +pin. Keep #383 open for those factory deliveries and hardware/codec proof. ## Repository policy @@ -363,7 +362,7 @@ Raise the overlay change as its own pull request against `main`; the bump PR then picks the fix up on its next rebuild. Current counts, per the README "Package parity" section: 61 Bluefin contract -packages installed, 251 Utah additions (GNOME 51, base-image parity, device +packages installed, 254 Utah additions (GNOME 51, base-image parity, device firmware, desktop services), 7 genuinely unavailable. `scripts/check-doc-counts.py` (part of `just check`) recomputes these from the manifests and fails if either document drifts from `site/data/packages.json`. diff --git a/packages/utah.toml b/packages/utah.toml index a2bbe0aa8..23b1ab409 100644 --- a/packages/utah.toml +++ b/packages/utah.toml @@ -187,7 +187,12 @@ packages = [ "intel-mediasdk", "intel-vpl-gpu-rt", "libvpl", - # Totem stays omitted: uchardet is unpublished (#383). + # Playlist parsing and software H.264 decoding now have their dependency + # closures in the pinned factory (#383). Request the real codec explicitly + # so a noopenh264 compatibility library cannot satisfy the plugin alone. + "totem-pl-parser", + "gstreamer1-plugin-openh264", + "openh264", # Locale and fonts "langpacks-en", "langpacks-fonts-en", @@ -877,6 +882,9 @@ parity = [ "intel-mediasdk", "intel-vpl-gpu-rt", "ffmpegthumbnailer", + "totem-pl-parser", + "gstreamer1-plugin-openh264", + "openh264", # Bluefin tools consumed from the pinned factory (#263, #388, #392). "thermald", "intel-lpmd", diff --git a/site/data/packages.json b/site/data/packages.json index 79f736772..d5066a86b 100644 --- a/site/data/packages.json +++ b/site/data/packages.json @@ -1,5 +1,5 @@ { - "generated_at": "2026-10-24", + "generated_at": "2026-10-28", "generator": "scripts/generate-site-data.py", "groups": [ { @@ -184,6 +184,7 @@ "gssproxy", "gstreamer1-plugin-dav1d", "gstreamer1-plugin-libav", + "gstreamer1-plugin-openh264", "gstreamer1-plugins-bad-free", "gstreamer1-plugins-bad-free-libs", "gstreamer1-plugins-ugly-free", @@ -240,6 +241,7 @@ "nvtop", "openal-soft", "openconnect", + "openh264", "openvpn", "orca", "papers-libs", @@ -299,6 +301,7 @@ "tcpdump", "thermald", "tmux", + "totem-pl-parser", "tpm2-tools", "tree", "unbound-anchor", @@ -369,7 +372,7 @@ } ], "totals": { - "installed": 312, + "installed": 315, "unavailable": 7 }, "unavailable": [