[PR #37] [MERGED] AV1 support #343

Closed
opened 2026-10-15 12:59:53 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/games-on-whales/wolf/pull/37
Author: @ABeltramo
Created: 7/25/2023
Status: ✅ Merged
Merged: 7/25/2023
Merged by: @ABeltramo

Base: dev-api ← Head: dev-av1


📝 Commits (5)

  • 3394acc feat: Gstreamer, updated and added AV1 libaom (SW) plugin
  • 848bcec feat: added Moonlight AV1 protocol support + tests
  • 15d1208 Committing clang-format changes
  • 3f721f3 CI: fix Oracle ARM tests
  • 9585cfd CI: removed uinput test from ARM

📊 Changes

20 files changed (+246 additions, -121 deletions)

View changed files

📝 .github/workflows/docker-build.yml (+3 -3)
📝 .github/workflows/linux-build-test.yml (+2 -4)
📝 docker/.dockerignore (+0 -1)
📝 docker/gstreamer.Dockerfile (+18 -3)
➖ docker/gstreamer.control (+0 -34)
📝 src/moonlight-protocol/moonlight.cpp (+18 -6)
📝 src/moonlight-protocol/moonlight/data-structures.hpp (+1 -0)
📝 src/moonlight-protocol/moonlight/protocol.hpp (+2 -1)
📝 src/moonlight-server/gst-plugin/video.hpp (+19 -4)
📝 src/moonlight-server/rest/endpoints.hpp (+2 -1)
📝 src/moonlight-server/rtsp/commands.hpp (+31 -15)
📝 src/moonlight-server/state/configTOML.cpp (+23 -1)
📝 src/moonlight-server/state/data-structures.hpp (+3 -0)
📝 src/moonlight-server/state/default/config.include.toml (+20 -0)
📝 src/moonlight-server/state/default/config.v2.toml (+20 -0)
📝 tests/CMakeLists.txt (+0 -1)
📝 tests/assets/config.v2.toml (+17 -0)
➖ tests/assets/server_info_response.xml (+0 -29)
📝 tests/testGSTPlugin.cpp (+24 -15)
📝 tests/testMoonlight.cpp (+43 -3)

📄 Description

Added basic AV1 support for the upcoming Moonlight release, currently disabled by default.

Since I don't own a GPU that supports AV1 encoding, so I've only tested the SW based av1enc.
Unfortunately, it currently doesn't support forcing keyframes (see this issue); despite that I could successfully stream to the latest Moonlight-QT.

Screenshot_2023-07-23_at_20 31 47


🔄 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/37 **Author:** [@ABeltramo](https://github.com/ABeltramo) **Created:** 7/25/2023 **Status:** ✅ Merged **Merged:** 7/25/2023 **Merged by:** [@ABeltramo](https://github.com/ABeltramo) **Base:** `dev-api` ← **Head:** `dev-av1` --- ### 📝 Commits (5) - [`3394acc`](https://github.com/games-on-whales/wolf/commit/3394acc87e7903688af063073d60d8bbf4930be5) feat: Gstreamer, updated and added AV1 libaom (SW) plugin - [`848bcec`](https://github.com/games-on-whales/wolf/commit/848bcece5d42b8717a68584cc560c623f3b3aff3) feat: added Moonlight AV1 protocol support + tests - [`15d1208`](https://github.com/games-on-whales/wolf/commit/15d1208271f438ad9f5686b353d1ae3923ee967f) Committing clang-format changes - [`3f721f3`](https://github.com/games-on-whales/wolf/commit/3f721f3ef2380d86081f85579ef6fb6ccf046053) CI: fix Oracle ARM tests - [`9585cfd`](https://github.com/games-on-whales/wolf/commit/9585cfda7c53050506fae87fd34cbd599877c44f) CI: removed uinput test from ARM ### 📊 Changes **20 files changed** (+246 additions, -121 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/docker-build.yml` (+3 -3) 📝 `.github/workflows/linux-build-test.yml` (+2 -4) 📝 `docker/.dockerignore` (+0 -1) 📝 `docker/gstreamer.Dockerfile` (+18 -3) ➖ `docker/gstreamer.control` (+0 -34) 📝 `src/moonlight-protocol/moonlight.cpp` (+18 -6) 📝 `src/moonlight-protocol/moonlight/data-structures.hpp` (+1 -0) 📝 `src/moonlight-protocol/moonlight/protocol.hpp` (+2 -1) 📝 `src/moonlight-server/gst-plugin/video.hpp` (+19 -4) 📝 `src/moonlight-server/rest/endpoints.hpp` (+2 -1) 📝 `src/moonlight-server/rtsp/commands.hpp` (+31 -15) 📝 `src/moonlight-server/state/configTOML.cpp` (+23 -1) 📝 `src/moonlight-server/state/data-structures.hpp` (+3 -0) 📝 `src/moonlight-server/state/default/config.include.toml` (+20 -0) 📝 `src/moonlight-server/state/default/config.v2.toml` (+20 -0) 📝 `tests/CMakeLists.txt` (+0 -1) 📝 `tests/assets/config.v2.toml` (+17 -0) ➖ `tests/assets/server_info_response.xml` (+0 -29) 📝 `tests/testGSTPlugin.cpp` (+24 -15) 📝 `tests/testMoonlight.cpp` (+43 -3) </details> ### 📄 Description Added basic AV1 support for the upcoming Moonlight release, currently disabled by default. Since I don't own a GPU that supports AV1 encoding, so I've only tested the SW based [av1enc](https://gstreamer.freedesktop.org/documentation/aom/av1enc.html?gi-language=c). Unfortunately, it currently doesn't support forcing keyframes (see [this issue](https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1687)); despite that I could successfully stream to the latest Moonlight-QT. ![Screenshot_2023-07-23_at_20 31 47](https://github.com/games-on-whales/wolf/assets/1122217/c164dea7-79bd-40d8-b0ac-0765c5f69095) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 12:59:53 +00:00
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#343
No description provided.