Skip to content

Instantly share code, notes, and snippets.

@Goshik92
Last active April 23, 2018 15:33
Show Gist options
  • Save Goshik92/07dd21478574a3948f83c878d7b63885 to your computer and use it in GitHub Desktop.
Save Goshik92/07dd21478574a3948f83c878d7b63885 to your computer and use it in GitHub Desktop.
Using Intel Quick Sync Video accelerator to capture realtime video with ShareX and ffmpeg in HEVC/H.265
-y -rtbufsize 256M -f dshow -framerate $fps$ -i video="screen-capture-recorder":audio="virtual-audio-capturer" -c:v hevc_qsv -load_plugin hevc_hw -global_quality 20 -look_ahead 1 -r $fps$ -tune zerolatency -movflags +faststart -c:a aac -strict -2 -ac 2 -b:a 256k "$output$"
@Goshik92
Copy link
Author

Goshik92 commented Apr 3, 2018

Go to Task Settings -> Screen Recorder -> Screen Recording Options. Make sure you installed "screen-capture-recorder" and "virtual-audio-capturer". Enable "use custom commands" and put the content of ffmpeg_options.txt in the field below. After doing that you will be able to record at least 1080p@30fps with sound and without glitches. Notice that you need Intel Skylake or later processor to use QSV.

-global_quality can be changed from 1 (best) to 51 (poorest) to adjust video quality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment