When recording a screen capture which is quite big, the app crashes when stopping/aborting the record.
When I start the record with a big rectangle, I get this output window:

It's indeed strange that it says "1600,900" whereas my resolution is 3200x1800 with a scaling of 200%. I guess some parameters are passed to ffmpeg, which don't include the scaling factor of the current resolution? It works for small resolutions (I guess because they're smaller than 1600x900), but everything above let's the app crash.
If you manually attempt the same recording with numbers adjusted for DPI scaling does the recording come out correctly?
ffmpeg -y -rtbufsize 100M -f gdigrab -framerate 20 -offset_x 80 -offset_y 70 -video_size 832x604 -draw_mouse 0 -i desktop -c:v libx264 -r 20 -preset veryfast -tune zerolatency -crf 30 -pix_fmt yuv420p "output.mp4"
Press Ctrl + C to stop the recording.
Possibly related FFmpeg issues:
FFmpeg gdigrab device have problem which is not to do with ShareX.
Try using these devices:

Thanks for the help! Installing the recorder devices helped. Is this documented somewhere? I did some research before posting the issue and didn't find this anywhere...
However, recording works now, but the cursor is misaligned and the X and Y coordinates are half the numbers they should be. I guess the scaling factor is not multiplied there as well. See http://i.imgur.com/K29Q3jB.gifv - I moved the cursor around the inner circle and in the final video it's misaligned. Also an ffmpeg issue?
Thanks. Could not find it searching for "cursor" -.-
Look like it is finally fixed in FFmpeg: https://trac.ffmpeg.org/ticket/4232
Can someone who had this issue before, download latest FFmpeg from ShareX screen recording options window and test video source "GDI grab"?
Edit: Tested myself now with 150% DPI and it works. But still cursor position is wrong.
Most helpful comment
FFmpeg gdigrab device have problem which is not to do with ShareX.
Try using these devices: