[Legacy] OBS x264 settings for nearly uncompressed and lossless game capture with no CPU/fps impact

Channel:
Subscribers:
4,110
Published on ● Video Link: https://www.youtube.com/watch?v=LlkRH7y5MYM



Duration: 2:10
22,330 views
95


See 2018 update: https://www.youtube.com/watch?v=x7SLATkvYp0

OBS for local recording at 1080p 60 fps 10-300 mbps
how to record gameplay 60 fps 1080p
how to capture 60 fps
60 fps gameplay capture

x264’s settings I change is a few:
profile, preset and quantization parameter (qp).

Profile options from faster to slower:
baseline; main; high; high10; high422; high444.
Baseline, the profile of my choice, is optimized for fast encoding and decoding (playback) on low-cost applications/devices. YouTube’s maximum is ‘high’ profile.

Preset options from faster to slower:
ultrafast; superfast; veryfast; faster; fast; medium; slow; slower; veryslow; placebo.
Ultrafast profile is using more disk space, but has nearly zero CPU/fps impact. Preset option does not affect video quality.

QP is similar to CRF. It tries to make the video bitrate as low as possible for a set quality level, no matter if it’s high resolution or low, simple or complicated. QP can be set between 0 and 51, where lower values would result in better quality. 6 is usually considered ‘lossless’, 16-19 is ‘awesome’, and 20-24 is good.

Custom x264 Encoder Settings:
For YouTube upload I use:
profile=baseline preset=ultrafast qp=16
This gives me 10-30 Mbps in low action video and up to 160 Mbps in action games at 1080p60.

For editing I sometimes use:
profile=baseline preset=ultrafast qp=6
This setting can give 45 Mbps in simple and 300 Mbps in complex video.



OBS also allows NVENC and Intel Quick Sync for encoding. I tried both.
NVENC’s strong side is that it’s almost not impacting CPU/fps. Some games though (Half-Life 2 in my experience) can use a video card in such manner that it will start to skip frames in encoded video, meanwhile you can’t know it before you watch the results. This will never happen if you use CPU encoding.
Also NVENC’s video quality is not very high, at least with GTX 600 Series. GTX 700 series allows lossless NVENC profile but I haven’t tried it yet.
Intel Quick Sync is impacting CPU/fps at approximately the same rates as x264, but it is also bugged and can sometimes work incorrectly on my system. It also requires a virtual monitor, which is a drawback.



Notice 1. OBS produces 4:2:0 chroma subsampling files (it is also YouTube’s maximum for color), which results in ~75% color information loss and smaller file size. This loss is mostly noticeable with small objects and transition from one color to another and considered acceptable.
This way, if you decide to compare your resulting video with a game screenshot, you should be aware that small objects look different because of chroma subsampling and not necessarily because of bad video quality.

Notice 2. Web players based on HTML5 and Adobe Flash most of the time hang if you playback 1080p 60 fps in fullscreen mode. You can try mini-mode or download the video with software like jDownloader.








PC, FullHD 60 fps, 1080p60. Walkthroughs, gameplays, let's plays. High quality, good picture. i7 3770K, GTX 660

See my playlists here: https://www.youtube.com/user/SteadyEddy111/playlists




Other Videos By Steady Eddie


2015-02-24Half-Life 2. All main menu backgrounds
2015-02-23Half Life 2: Lost Coast (developer commentary)
2015-02-19Paranoia gameplay, part 2. Russian army / officer of the secret service (Half-Life 1 engine)
2015-02-19Paranoia gameplay, part 1. Russian army / officer of the secret service (Half-Life 1 engine)
2015-02-19Half-Life: Opposing Force walkthrough part 6. "The Package"; Worlds Collide
2015-02-19Half-Life: Opposing Force walkthrough part 4. Pit Worm's Nest; Foxtrot Uniform
2015-02-19Half-Life: Opposing Force walkthrough part 3. Crush Depth; Vicarious Reality
2015-02-19Half-Life: Opposing Force walkthrough part 2. Missing in Action; Friendly Fire; We Are Not Alone
2015-02-19Half-Life: Opposing Force walkthrough part 1. Incoming; Welcome to Black Mesa; ...
2015-02-19Half-Life: Opposing Force Boot Camp (training room)
2015-02-18[Legacy] OBS x264 settings for nearly uncompressed and lossless game capture with no CPU/fps impact
2015-02-18Half-Life: Blue Shift walkthrough part 4/4. A Leap of Faith; Deliverance
2015-02-18Half-Life: Blue Shift walkthrough part 3/4. Power Struggle
2015-02-18Half-Life: Blue Shift walkthrough part 2/4. Captive Freight; Focal Point
2015-02-18Half-Life: Blue Shift walkthrough part 1/4. Living Quarters Outbound; Insecurity; Duty Calls
2015-02-18Half-Life: Blue Shift HD. Hazard Course (training room)
2015-02-18Black Mesa walkthrough part 13 [ending]
2015-02-18Black Mesa walkthrough part 12
2015-02-18'Evacuate City 17 at once!' Dr. Isaac Kleiner speech in Half-Life 2 Episode One
2015-02-17Black Mesa walkthrough part 11. "Forget About Freeman!"; Lambda Core
2015-02-17Black Mesa walkthrough part 10. Residue Processing; Questionable Ethics



Tags:
gameplay
video game
1080p60
highest video quality
highest quality
Lossless Compression (File Format Genre)
Uncompressed Video
game capture
gameplay capture
X264 (Software)
Avi
Capture
Quality
Game
Definition
mp4
bitrate
mbps
cpu
video card
nvenc
intel quick sync
60 fps
advanced video codec
avc
Youtube
Computer
Frame Rate
Central Processing Unit (Computer Peripheral)
Player
Upload