The most simple way to make screen recording to high quality animated GIF for Mac
f4cd7011611046acdf4f8da2d4c19459
The issue looks to be related to accessibility permissions. For that you'll want to go to System Preferences > Security & Privacy > Privacy > Accessibility. If Capture Gif is listed here, make sure it is checked
Setting higher FPS means more frames in the GIF image, so to speed up the animation, just set a smaller frame delay time like 20ms or 50ms… (200ms by default), also you need to buy Capture GIF to set a custom delay time.
Setting a smaller FPS (such as 3 or 4) will get you a smaller GIF.