Skip to content

Instantly share code, notes, and snippets.

@lextra2
lextra2 / input.conf
Last active March 13, 2024 18:05
mpv\portable_config\mpv.conf
WHEEL_UP add volume 5
WHEEL_DOWN add volume -5
LEFT seek -5 exact
RIGHT seek 5 exact
UP add chapter 1
DOWN add chapter -1
@lextra2
lextra2 / Environment Variables
Last active June 27, 2023 00:19
DXVK Settings
System Properties > Environment Variables > System Variables
Name > Value
DXVK_ASYNC
1
DXVK_CONFIG_FILE
C:\DXVK_CACHE\dxvk.conf
@lextra2
lextra2 / DefaultDeviceProfiles.ini
Last active October 13, 2024 01:29
Unreal Engine 4
[/Script/Engine.TextureLODSettings]
TextureLODGroups=(Group=TEXTUREGROUP_World,MinLODSize=1,MaxLODSize=8192,LODBias=0,MinMagFilter=aniso,MipFilter=point,NumStreamedMips=0,MipGenSettings=TMGS_Sharpen3)
TextureLODGroups=(Group=TEXTUREGROUP_WorldNormalMap,MinLODSize=1,MaxLODSize=8192,LODBias=0,MinMagFilter=aniso,MipFilter=point,NumStreamedMips=0,MipGenSettings=TMGS_SimpleAverage)
TextureLODGroups=(Group=TEXTUREGROUP_WorldSpecular,MinLODSize=1,MaxLODSize=8192,LODBias=0,MinMagFilter=aniso,MipFilter=point,NumStreamedMips=0,MipGenSettings=TMGS_SimpleAverage)
K4Z80325BC - Samsung
1000 MHz
000000005E0C000000000000DA08000040000000101E0F092D000F0004040002100000000606060010000000110806000000010101000101001718003C0F00000A0A000078000000780000004A5156023C0000000C000A0A0F0400011F2A0C00780000004AF3130F7800000000000000
1250 MHz
000000007E000000000000006A090000400200001426130D3900130006060002140000000607070014000000218A06000000010101000101001B18000B1300000D0D000096000000960000004D5166024B0000000C000A0D130400011F2A0C00960000000AF4130F9600000000000000
1500 MHz
000000000F040000000000007A09000040030000162D170F4400170006060002180000000708080018000000210C07000000010101000101001C18009D1700000F0F0000B4000000B40000004F5178025A0000000C000A0F150500011F2A0C00B4000000CBF4130FB400000000000000
000
@lextra2
lextra2 / MPV-OLD
Last active February 14, 2024 07:00
MPV-OLD
[default]
hwdec=auto
scale=lanczos
dither-depth=auto
volume=100
volume-max=100
@lextra2
lextra2 / AMD AMF
Last active November 19, 2024 14:41
https://github.com/GPUOpen-LibrariesAndSDKs/AMF/tree/master/amf/public/include/components
https://github.com/GPUOpen-LibrariesAndSDKs/AMF/blob/master/amf/doc/AMF_Video_Encode_HEVC_API.md
https://github.com/GPUOpen-LibrariesAndSDKs/AMF/blob/master/amf/doc/AMF_Video_PreAnalysis_API.md
OBS
https://github.com/obsproject/obs-studio/blob/master/plugins/obs-ffmpeg/texture-amf.cpp
---------------------------------------------------------------------------------------------------------
@lextra2
lextra2 / CMD
Last active June 7, 2020 11:18
MPV 2020
(Requires d3dcompiler_43.dll to be in the same location)
To check for all available profiles:
mpv --profile=help
To check for presets of profile:
mpv --show-profile=<name>
e.g.
mpv --show-profile=gpu-hq
@lextra2
lextra2 / 0_AVISYNTH
Last active November 7, 2024 22:17
AVISYNTH-2022
321
@lextra2
lextra2 / NEWEST
Last active March 5, 2023 02:12
youtube.com CSS
/* country code besides the youtube logo - top left */
#country-code {
display: none !important;
}
/* video player gradients */
.ytp-gradient-top,
.ytp-gradient-bottom {
display: none !important;
}