Added Intra Refresh Support #97
No reviewers
Labels
No labels
bug
dependencies
duplicate
enhancement
hacktoberfest-accepted
invalid
question
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-moonlight-stream/moonlight-common-c!97
Loading…
Reference in a new issue
No description provided.
Delete branch "TheElixZammuto/intra-refresh"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This a companion PR on the moonlight-common-c project for these PR, the rationale/explanation for the PR can be found in the Sunshine one
Sunshine: https://github.com/LizardByte/Sunshine/pull/3415
Moonlight-Xbox: https://github.com/TheElixZammuto/moonlight-xbox/pull/155
@ -274,1 +274,4 @@// If set in the video renderer capabilities field, this flag specifies that the renderer// needs to opt-in to intra refresh, some clients (like the Xbox client with NVEnc) needs it#define CAPABILITY_INTRA_REFRESH 0x80This collides with
CAPABILITY_REFERENCE_FRAME_INVALIDATION_AV1.@ -274,1 +274,4 @@// If set in the video renderer capabilities field, this flag specifies that the renderer// needs to opt-in to intra refresh, some clients (like the Xbox client with NVEnc) needs it#define CAPABILITY_INTRA_REFRESH 0x80Changed to 0x80
@ -274,1 +274,4 @@// If set in the video renderer capabilities field, this flag specifies that the renderer// needs to opt-in to intra refresh, some clients (like the Xbox client with NVEnc) needs it#define CAPABILITY_INTRA_REFRESH 0x80Sorry for another nit, can you move this above the special
CAPABILITY_SLICES_PER_FRAMEmacro too?@TheElixZammuto did you still want to get this merged or did you end up not needing it?
@cgutman FYI the patch is still needed, I'm using my fork currently, let me know if there are other points that needs to be addressed
Yeah it would be good to merge this in, as it's a bit of a hassle to maintain an Xbox branch. I am curious if either of you have any ideas about how to improve on the unfortunate situation of Xbox intra refresh corruption. It happens most often on static or low-complexity content, and does resolve in a short time per the intra refresh settings, but it's just a bad experience. I tell people there's no solution, but is there anything we can do?
I couldn't work out why the Xbox decoder can't work with RFI, but it does crash if you try to enable it. I thought RFI might need changes to the render code around
so that ffmpeg had more buffers to use or something, but I didn't get very far trying to figure that out.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.