Jump to content

Recommended Posts

Posted (edited)

 

#Include <WinAPIFiles.au3>


_SetDPIUNAWARE('D:\Bureau\ScreenRecorder\ScreenRecorder64.exe')

Func _SetDPIUNAWARE($sFullPath) ; With a dpi scale > 1
;~  Application compatibily flags are stored in the registry (user or system part):
;~  HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
;~  HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
    Local $iRet, $sHklm
    If _WinAPI_GetBinaryType($sFullPath) Then
        Switch @extended
            Case $SCS_32BIT_BINARY
                $sHklm = 'HKLM'
            Case $SCS_64BIT_BINARY
                $sHklm = 'HKLM64'
            Case Else
                Return SetError(-1, 0, 0)
        EndSwitch
        Local $sReg1 = RegRead($sHklm & '\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers', $sFullPath)
        Local $sReg2 = RegRead('HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers', $sFullPath)
        If $sReg1 <> '~ DPIUNAWARE' Or $sReg2 <> '~ DPIUNAWARE' Then
            $iRet = RegWrite($sHklm & '\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers', _
                    $sFullPath, _
                    'REG_SZ', _
                    '~ DPIUNAWARE')
            If @error Or $iRet = 0 Then Return SetError(@error, 0, -2)
            $iRet = RegWrite('HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers', _
                    $sFullPath, _
                    'REG_SZ', _
                    '~ DPIUNAWARE')
            If @error Or $iRet = 0 Then Return SetError(@error, 0, -3)

            Return 1
        EndIf
    EndIf
EndFunc   ;==>_SetDPIUNAWARE

Once script run, i run ScreenRecorder64.exe and now i'm able to read your gui

Edited by wakillon

AutoIt 3.3.18.0 X86 - SciTE 4.4.6.0WIN 11 24H2 X64 - Other Examples Scripts

Posted
4 hours ago, wakillon said:

When i try to enter 30 fps in your gui settings, numbers are not visibles ... 🤔

Well, if the background is light, it can be even harder to read the values in the input fields. But when I open the GUI on a white background, I can still see the numbers fairly well. Maybe it’s because I don’t have a 4K monitor and can’t reproduce your problem.

 

On 4/25/2026 at 10:25 AM, Gianni said:

I recorded for about a minute just by pressing the Start button and without changing any settings, but when I open the file, the media player displays this message: "Cannot open Capture_..._... It's using unsupported encoding settings." (win11 x64)
Am I doing something wrong?

Since desktop recordings can get quite large and are recorded internally in high444 format—which not every video player can play—you can easily use FFMPEG to reduce the size of the AVI file and make it compatible so that even the default Windows tools can play it!

Example in CMD:

ffmpeg.exe -i Capture_20260426_181055.avi -c:v libx265 -crf 32 -pix_fmt yuv420p -preset medium output_small.mp4

 

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted (edited)
10 hours ago, UEZ said:

Well, if the background is light, it can be even harder to read the values in the input fields. But when I open the GUI on a white background, I can still see the numbers fairly well. Maybe it’s because I don’t have a 4K monitor and can’t reproduce your problem.

It's incredible !
When i look with my own eyes your gui settings, i don't see any numbers even when placing

the black background of notepad or a white background  behind it


But when i take a screenshot for show you that there is no numbers displayed, the screenshot show well the numbers !!! ☹️

You invented invisible numbers ! 👍

For the suspicious, no, I didn't drink! 😋

Edited by wakillon

AutoIt 3.3.18.0 X86 - SciTE 4.4.6.0WIN 11 24H2 X64 - Other Examples Scripts

Posted (edited)

Ok, you are not drunken. 😉😄

I'm working on fixing the problem. Thanks for testing.

I wonder if others have the same problem...

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted

First of all, I am sorry for straying away from the main topic but I am curious...

On 4/13/2026 at 7:45 PM, UEZ said:

The previous version used the GDI API to send frames to the codec

What API are you using to capture frames now?

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Posted
1 hour ago, TheDcoder said:

First of all, I am sorry for straying away from the main topic but I am curious...

What API are you using to capture frames now?

GraphicsCaptureWrapper is a C++ wrapper using WinRT and DX11 to provide the desktop image to the encoder.

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted (edited)

@wakillon I changed the Settings GUI to DarkMode. It should work now for you, too.

image-2026-04-27-234729172.png

 

You have to download it again -> ScreenRecorder.7z 

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted (edited)

Gui settings, display ok now

So, with settings to ultrafast and 30 FPS

Video quality ok

Playing ok, i mean playing duration = record duration 🫡

Excellent work 👍

Edited by wakillon

AutoIt 3.3.18.0 X86 - SciTE 4.4.6.0WIN 11 24H2 X64 - Other Examples Scripts

  • 2 weeks later...
Posted

Hi everyone,

I’ve updated my video recording tool, now named AirCapRec (v0.7.5).

I need help testing technical edge cases where manual stride handling often fails.

Seeking feedback on:

  • "Weird" Resolutions: Any skewed/slanted images on ultra-wide or non-standard window sizes?

  • High-DPI / Multi-Monitor: Does the capture area and cursor align correctly at 125% or 150% scaling?

  • Stability: Any frame drops or stutter during long sessions?

Download: AirCapRec.zip

If you find a bug, please post your Resolution, DPI Scaling, and Windows Version. You can also enable the Debug Log option in the settings to provide more information.

Thanks for the support! 

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted

Wow, already available on Softpedia 😉

5 minutes recorded with UltraFast, 30 FPS, audio 192k, 300% scaling give well 5 minutes reading.

Mp4 file 498 Mo 5mn200ms H.264 3840x2160 AAC

What is the question mark for? 
When I click on it, both windows disappear and i need to right click on the taskbar for close it and then both windows reappear

When i record with "region" selected , it display a default  width of 1280 and height of 720
but the region is three times smaller than my screen size (3840x2160) due to my dpi scalling (X3)
Is it intentional ? I need to set manually the real size in inputs


And why not suggest reducing the video dimensions at the output for reduce Mo size ?
 

AirCapRec_debug.log

AutoIt 3.3.18.0 X86 - SciTE 4.4.6.0WIN 11 24H2 X64 - Other Examples Scripts

Posted (edited)
1 hour ago, wakillon said:

What is the question mark for? 
When I click on it, both windows disappear and i need to right click on the taskbar for close it and then both windows reappear

What a shame that it's not showing up on your screen. It is the About Window with some raymarched animation and a simple vertical scroller.

The About window video: About AirCapRec Window

 

1 hour ago, wakillon said:

When i record with "region" selected , it display a default  width of 1280 and height of 720
but the region is three times smaller than my screen size (3840x2160) due to my dpi scalling (X3)
Is it intentional ? I need to set manually the real size in inputs

I need to check. Unfortunatelly I don't have a 4k monitor to test with 300% DPI.

 

1 hour ago, wakillon said:

And why not suggest reducing the video dimensions at the output for reduce Mo size ?

It takes up a lot of CPU time if you have to reduce the resolution while recording. I'm currently working on another DLL to re-encode the recorded mp4 file afterward and make it smaller.

 

Let me analyze your log....

 

Thank you so much, again and again, for testing the app. I really appreciate it. 👍

 

Latest version on my OneDrive: AirCapRec which from today. 😉

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Posted (edited)

@wakillon I think I fixed the DPI issues which caused that you can't see the About window and the region selection.

For region: it was set to DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2 and for me it works propely. Obvously your Windows version doesn't support it - added some fallbacks.

I uploaded a new build -> AirCapRec (link is the same).

Can you please test again?

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...