Skip to content

Instantly share code, notes, and snippets.

View mangosango's full-sized avatar
:shipit:

Sang Lee mangosango

:shipit:
View GitHub Profile
@mangosango
mangosango / games.js
Last active September 7, 2018 03:51
games
// Import the script in your HTML file somewhere
<script src="https://codepen.io/sanglee-twitch/pen/990c7c1428290849155b7059cf131b5c.js"></script>
// Use it like this:
GAMEVIDEOS[ TWITCH_GAME_NAME_HERE ] // Returns an mp4 video
// For example, in React:
<video
src={GAMEVIDEOS["Ni no Kuni II: Revenant Kingdom"]}
@mangosango
mangosango / x264-veryfast+.md
Last active May 27, 2022 22:01
x264 veryfast CPU preset with improved subpixel motion tracking for high-motion games like Overwatch or CS:GO

x264 veryfast CPU preset with improved subpixel motion tracking for high-motion games like Overwatch or CS:GO


Instructions

In OBS set your x264 CPU preset to veryfast, then add the following flags to the x264 Options field (see: screenshot).

subme=4 trellis=2 ref=2 rc-lookahead=40