[PR #751] [Feature] Use Windows 10 graphics capture to record #1196

Open
opened 2026-02-26 09:33:58 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/NickeManarin/ScreenToGif/pull/751
Author: @h82258652
Created: 10/29/2020
Status: 🔄 Open

Base: masterHead: feature_SystemCapture


📝 Commits (5)

  • c636547 add a feature which can use windows system capture to record
  • d16769b fix button visibility
  • c84ffcb Due to encoder not support different frame size, remove recreate frame pool codes.
  • 113282d implement system capture pause function.
  • 21edd7e implement discard

📊 Changes

12 files changed (+866 additions, -127 deletions)

View changed files

📝 ScreenToGif/Model/ApplicationViewModel.cs (+179 -107)
📝 ScreenToGif/Resources/Localization/StringResources.en.xaml (+6 -1)
📝 ScreenToGif/Resources/Localization/StringResources.zh.xaml (+5 -0)
📝 ScreenToGif/ScreenToGif.csproj (+18 -10)
ScreenToGif/SystemCapture/CaptureHelper.cs (+24 -0)
ScreenToGif/SystemCapture/Direct3D11Helper.cs (+53 -0)
📝 ScreenToGif/Util/Enums.cs (+1 -0)
📝 ScreenToGif/Windows/Other/Startup.xaml (+13 -3)
📝 ScreenToGif/Windows/Other/Startup.xaml.cs (+14 -0)
ScreenToGif/Windows/SystemCapture.xaml (+138 -0)
ScreenToGif/Windows/SystemCapture.xaml.cs (+415 -0)
ScreenToGif/packages.config (+0 -6)

📄 Description

Hello, I have used ScreenToGif for several years. Record a window is always a bad hurt. These days I'm playing the Windows 10 graphics capture and I notice ScreenToGif can use it to record the window.

I implemented the basic function, it works well on my machine.
But I need bits of help such as icon, localization and test on old Windows version.


🔄 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/NickeManarin/ScreenToGif/pull/751 **Author:** [@h82258652](https://github.com/h82258652) **Created:** 10/29/2020 **Status:** 🔄 Open **Base:** `master` ← **Head:** `feature_SystemCapture` --- ### 📝 Commits (5) - [`c636547`](https://github.com/NickeManarin/ScreenToGif/commit/c636547fd008f8779e92b328bf030c4cfb28c75a) add a feature which can use windows system capture to record - [`d16769b`](https://github.com/NickeManarin/ScreenToGif/commit/d16769b8a7440c0b346b7810788968188036d22c) fix button visibility - [`c84ffcb`](https://github.com/NickeManarin/ScreenToGif/commit/c84ffcb43ba7455c224bdd00177b24c7375fbe8a) Due to encoder not support different frame size, remove recreate frame pool codes. - [`113282d`](https://github.com/NickeManarin/ScreenToGif/commit/113282da6da7427ac2a1effabe57d4f3b84a7d3c) implement system capture pause function. - [`21edd7e`](https://github.com/NickeManarin/ScreenToGif/commit/21edd7e9056c145d52ddb8fa9f7a93e5f6450a49) implement discard ### 📊 Changes **12 files changed** (+866 additions, -127 deletions) <details> <summary>View changed files</summary> 📝 `ScreenToGif/Model/ApplicationViewModel.cs` (+179 -107) 📝 `ScreenToGif/Resources/Localization/StringResources.en.xaml` (+6 -1) 📝 `ScreenToGif/Resources/Localization/StringResources.zh.xaml` (+5 -0) 📝 `ScreenToGif/ScreenToGif.csproj` (+18 -10) ➕ `ScreenToGif/SystemCapture/CaptureHelper.cs` (+24 -0) ➕ `ScreenToGif/SystemCapture/Direct3D11Helper.cs` (+53 -0) 📝 `ScreenToGif/Util/Enums.cs` (+1 -0) 📝 `ScreenToGif/Windows/Other/Startup.xaml` (+13 -3) 📝 `ScreenToGif/Windows/Other/Startup.xaml.cs` (+14 -0) ➕ `ScreenToGif/Windows/SystemCapture.xaml` (+138 -0) ➕ `ScreenToGif/Windows/SystemCapture.xaml.cs` (+415 -0) ➖ `ScreenToGif/packages.config` (+0 -6) </details> ### 📄 Description Hello, I have used **ScreenToGif** for several years. Record a window is always a bad hurt. These days I'm playing the Windows 10 graphics capture and I notice **ScreenToGif** can use it to record the window. I implemented the basic function, it works well on my machine. But I need bits of help such as icon, localization and test on old Windows version. --- <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
starred/ScreenToGif#1196
No description provided.