[PR #495] feat(gstreamer): patch nvh265enc to add intra-refresh support. Also updates gstreamer to 1.28.6 from August 5. #496

Open
opened 2026-10-15 13:01:00 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/games-on-whales/wolf/pull/495
Author: @andygrundman
Created: 9/2/2026
Status: 🔄 Open

Base: beta ← Head: andyg.gst-intra-refresh


📝 Commits (3)

  • 38564d7 feat(gstreamer): patch nvh265enc to add intra-refresh support. Also updates gstreamer to 1.28.6 from August 5.
  • bbc4c2d fix(intra-refresh): enable intra-refresh for nvh265enc when requested by clients such as Xbox
  • 285a09d fix(intra-refresh): fixup gstreamer compile args, manual build docs, toml variables

📊 Changes

11 files changed (+159 additions, -14 deletions)

View changed files

📝 .github/workflows/docker-build.yml (+4 -4)
📝 docker/.dockerignore (+2 -1)
📝 docker/gstreamer.Dockerfile (+12 -3)
➕ docker/patches/gstreamer/0001-nvh265enc-intra-refresh.patch (+121 -0)
📝 docker/wolf.Dockerfile (+1 -1)
📝 docs/modules/dev/pages/manual_build.adoc (+1 -3)
📝 docs/modules/dev/partials/spec.json (+8 -0)
📝 src/moonlight-server/events/events.hpp (+2 -0)
📝 src/moonlight-server/rtsp/commands.hpp (+5 -1)
📝 src/moonlight-server/state/default/config.v7.toml (+1 -1)
📝 src/moonlight-server/streaming/streaming.cpp (+2 -0)

📄 Description

I took a guess at checking the SDP param and the TOML template but I didn't test it.

It looks a bit weird that we have both intra-refresh and single-slice-intra-refresh but this is to match the options in ffmpeg. gop-size=300 matches Sunshine but could be tuned based on how fast you want the recovery to happen.

I'll submit another PR for h264 and av1 if I get these accepted upstream.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/games-on-whales/wolf/pull/495 **Author:** [@andygrundman](https://github.com/andygrundman) **Created:** 9/2/2026 **Status:** 🔄 Open **Base:** `beta` ← **Head:** `andyg.gst-intra-refresh` --- ### 📝 Commits (3) - [`38564d7`](https://github.com/games-on-whales/wolf/commit/38564d78d4486939f4bd0231cec7e2493ea3127b) feat(gstreamer): patch nvh265enc to add intra-refresh support. Also updates gstreamer to 1.28.6 from August 5. - [`bbc4c2d`](https://github.com/games-on-whales/wolf/commit/bbc4c2d65441c320852900183d30709d32668441) fix(intra-refresh): enable intra-refresh for nvh265enc when requested by clients such as Xbox - [`285a09d`](https://github.com/games-on-whales/wolf/commit/285a09d62d1f2ef95134e9174f4227fe662d8a02) fix(intra-refresh): fixup gstreamer compile args, manual build docs, toml variables ### 📊 Changes **11 files changed** (+159 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/docker-build.yml` (+4 -4) 📝 `docker/.dockerignore` (+2 -1) 📝 `docker/gstreamer.Dockerfile` (+12 -3) ➕ `docker/patches/gstreamer/0001-nvh265enc-intra-refresh.patch` (+121 -0) 📝 `docker/wolf.Dockerfile` (+1 -1) 📝 `docs/modules/dev/pages/manual_build.adoc` (+1 -3) 📝 `docs/modules/dev/partials/spec.json` (+8 -0) 📝 `src/moonlight-server/events/events.hpp` (+2 -0) 📝 `src/moonlight-server/rtsp/commands.hpp` (+5 -1) 📝 `src/moonlight-server/state/default/config.v7.toml` (+1 -1) 📝 `src/moonlight-server/streaming/streaming.cpp` (+2 -0) </details> ### 📄 Description I took a guess at checking the SDP param and the TOML template but I didn't test it. It looks a bit weird that we have both` intra-refresh` and `single-slice-intra-refresh` but this is to match the options in ffmpeg. `gop-size=300` matches Sunshine but could be tuned based on how fast you want the recovery to happen. I'll submit another PR for h264 and av1 if I get these accepted upstream. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/wolf#496
No description provided.