Skip to content

Instantly share code, notes, and snippets.

@kawashirov
Created January 31, 2026 05:36
Show Gist options
  • Select an option

  • Save kawashirov/56d0174ab8db54dcf8bb45ed73550a2b to your computer and use it in GitHub Desktop.

Select an option

Save kawashirov/56d0174ab8db54dcf8bb45ed73550a2b to your computer and use it in GitHub Desktop.
My ShareX ffmpeg settings
-threads 8 -hwaccel amf -hwaccel_output_format amf -f dshow -thread_queue_size 1024 -rtbufsize 256M -audio_buffer_size 80 -framerate $fps$ -i video="screen-capture-recorder":audio="virtual-audio-capturer" -vf "scale=w='max(trunc(iw/4)*2,176)':h='max(trunc(ih/4)*2,144)'" -c:v h264_amf -preset quality -usage lowlatency_high_quality -tune zerolatency -latency true -rc vbr_latency -coder cavlc -high_motion_quality_boost_enable true -r $fps$ -b:v 3000k -pix_fmt yuv420p -movflags +faststart -c:a aac -ac 2 -b:a 192k -y "$output$"
PS C:\Users\kawa> ffmpeg -version
ffmpeg version 8.0.1-full_build-www.gyan.dev Copyright (c) 2000-2025 the FFmpeg developers
built with gcc 15.2.0 (Rev8, Built by MSYS2 project)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment