TL;DR
⚠️ Warning : Before modifying the registry, record and backup the original value, if there is a problem, it can be restored! Be careful when modifying the registry! Be careful when modifying the registry! Be careful when modifying the registry! Say the important thing three times!
If the video recorded by the Windows Xbox Game Bar has a green border or a blurry screen when playing on an Apple device, you can try it.
- Win + R enter
regedit
to open the registry editor; - The left directory is located to
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\GameDVR
in turn, open it and look to the right; -
VideoEncodingResolutionMode
double-click to open, change the value to0
; -
CustomVideoEncodingHeight
changed to 1080 (decimal); -
CustomVideoEncodingWidth
changed to 1920 (decimal); - Save and restart your computer, and you’re done.
strange glitch
The recording function of the Xbox Game Bar on Windows is very convenient, but I have been plagued by an annoying problem. The recorded video does not play properly on Apple devices (iOS, iPadOS, macOS), showing a green space below and to the right. The edge and video flicker and blurry screen, but the preview image is a normal video screen and a green frame, which is roughly as long as the following.
Green frame and blurry screen when playing on Apple devices The preview image is a normal picture with a green frame
Use an Apple device to view the information of this video, you can see that the length and width of the video is 2560×1440.
Video information seen by Apple devices
When I was puzzled, looking at this preview gave me an idea. I felt that the proportion of this video on the “green screen” was very special . I opened Final Cut Pro X and created a new 1920×1080 screen. , and then put this video on the screen at 100% scale, and if you align it with the upper left corner, you will find that the green edge is perfectly cut off!
What does this mean? It means that the real resolution of this video is actually 1920×1080, not 2560×1440. It should be the information in the metadata of the file that is processed differently on Windows and Apple devices, resulting in the latter Misunderstanding, playing it with a 2560×1440 picture, the missing part is filled with green and becomes a green frame.
find the reason
With this conjecture, I started looking for the reason. Using Potplayer on Windows to open the video’s information, I found a contradiction with the Apple device.
Video information displayed by Potplayer on Windows
There are two different values of Width
and Original width
, which are 2560 and 1920 respectively, which are consistent with our previous experimental results – Apple devices play a 1920×1080 video at a resolution of 2560×1440, and the spare time There is an error in the place where it is filled with green into a green frame, but on Windows, the Width
information is ignored, and only the Original width
information is used, that is, the video is played with a 1920×1080 screen, and this failure does not occur.
The cause of the problem was found, but the process of solving it turned out to be more troublesome – this video was recorded in the Xbox Game Bar, and the Windows settings interface did not provide any resolution-related options.
Settings screen for Xbox Game Bar on Windows
The turning point of this matter came when suddenly one day, the record button in my Xbox Game Bar turned gray, there was no prompt message, and the settings interface was all normal, but all the buttons related to recording could not be clicked (let’s Saying together, thank you Microsoft for giving us an OS in a bug ?️), while trying to find a solution, I came across this post.
Is Windows 11 Xbox Game Bar Not Working? Try to Fix It! [MiniTool Tips]
Following the way it modifies the registry fixed the problem of the button being greyed out, but at the same time it mentions some other options in the GameDVR registry path that caught my attention.
solution
⚠️ Warning : Before modifying the registry, record and backup the original value, if there is a problem, it can be restored! Be very careful when modifying the registry, mistakes can lead to very serious consequences, be cautious and think twice!
I made a whole attempt, and the process will not be repeated. I found that this problem can be solved by modifying a few values in the registry.
Press Win+R, enter regedit
to open the Registry Editor, and look for it on the left
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\GameDVR
GameDVR registry options
Open the GameDVR directory, there are some key values on the right, we need to modify the following three items, if not, you can right-click in the blank space on the right, select新建> DWORD(32位)值
manually add:
- For
VideoEncodingResolutionMode
this option, double-click to open it, change the value to0
, OK. At this time, go to use the Xbox Game Bar to record a video, and then use Potplayer to open the file information, and find that there are no longer two different values ofWidth
andOriginal width
, but the video may be blurred at this time. -
CustomVideoEncodingHeight
to desired video height, click Decimal and enter 1080 (recommended). - Similarly, change
CustomVideoEncodingWidth
to the desired video width, click “Decimal” and enter 1920 (recommended).
Set VideoEncodingResolutionMode to 0 Set CustomVideoEncodingHeight to 1080, another similar
After modifying the above values, restart the computer, and transfer the recorded video to the Apple device to play normally. The problem is solved! ?
Postscript
The method mentioned above to fix the problem of the record button being grayed out is also worth recording.
Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\GameDVR
in Registry Editor and set AppCaptureEnabled
to 1
.
If you don’t see AppCaptureEnabled
, right-click on the right, select新建> DWORD(32位)值
, write the name as AppCaptureEnabled
, and set the value to 1
.
At the same time, other keys in this directory can also guess their functions according to their names, and you can manually set the video bit rate, etc. (these options are not provided in the GUI menu), you can study it yourself, but remind again, adjust the registration Watch carefully!
Finally, advertise your own little blog. If you like it, you can follow it~ https://blog.flynnoct.com/
This article is reproduced from: https://sspai.com/post/75019
This site is for inclusion only, and the copyright belongs to the original author.