This tutorial is based on a config file (ffmpeg.cfg) along with some presets written and tested by Purple-CSGO.
For specifically learning these commands, check our Wiki and other tutorials, or analyze the config file.
Related Tutorials
Video tutorial: https://b23.tv/av56424646 [English subtitles available]
Written tutorial: https://upup.cool/pages/620156/ [zh-CN]
Steps
- Download and install ffmpeg to
hlae/ffmpeg/
Folder [Link]. Be sure thathlae/ffmpeg/bin/ffmpeg.exe
exists. - Download ffmpeg.cfg [zh-CN] to your cfg folder.
- Open
ffmpeg.cfg
and look through all the instructions. Modify default record setting if you want. - Launch CS:GO with HLAE.
- Use
exec ffmpeg
to load presets.p2
is used by default. - Change setting with a single command like
p0
(for higher quality)
Settings are applied to all streams. Do other things as usual.
Which preset to use
p1
andp2
are recommended for common uses.- Presets like
p1pro
set up YUV422 10BIT. More space for color grading is given but they are not compatible with some softwares like Vegas ~14 and Premiere ~2019. p4444
andp422
use ProRes codec and are recommended for smoother editing experience.
FAQ
Issues (such as stuttering) with the output video file?
- Your media player probably doesn't have the required codecs.
- Use an alternative media player such as VLC, potplayer or mpv instead.