Skip to content

Instantly share code, notes, and snippets.

@lextra2
lextra2 / input.conf
Last active September 22, 2025 19:53
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 / Global\default_SpecialK.ini
Last active October 20, 2025 08:54
DXVK Settings
[ImGui.Render]
DisableAlpha=true
[Render.DXGI]
AutoLowLatency=false
[NVIDIA.DLSS]
ForcedAutoExposure=1
[Render.FrameRate]
@lextra2
lextra2 / DefaultScalability.ini
Last active August 28, 2025 07:20
Unreal Engine 4
[ScalabilitySettings]
PerfIndexThresholds_ResolutionQuality="GPU 18 42 115"
PerfIndexThresholds_ViewDistanceQuality="Min 18 42 105"
PerfIndexThresholds_AntiAliasingQuality="GPU 18 42 115"
PerfIndexThresholds_ShadowQuality="Min 18 42 105"
PerfIndexThresholds_PostProcessQuality="GPU 18 42 115"
PerfIndexThresholds_TextureQuality="GPU 18 42 115"
PerfIndexThresholds_EffectsQuality="Min 18 42 105"
PerfIndexThresholds_FoliageQuality="GPU 18 42 115"
PerfIndexThresholds_ShadingQuality="GPU 18 42 115"
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 October 10, 2025 16:21
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 / 0001-Avisynth
Last active October 18, 2025 05:47
AVISYNTH-2022
LWLibavVideoSource("C:\Users\ULTRA\Downloads\ffmpeg\06.mkv").Prefetch(0)
DeBilinearResizeMT(1280, 720).Prefetch(0)
z_ConvertFormat(pixel_type="RGBPS", colorspace_op="709:709:709:limited=>rgb:709:709:full", dither_type="error_diffusion", cpu_type="avx2", use_props=0).Prefetch(0)
mlrt_ort(network_path="C:\Program Files (x86)\AviSynth+\plugins64+\mlrt_ort_rt\models\2x_Ani4Kv2_G6i2_Compact_107500_fp32.onnx", builtin=False, provider="DML", fp16=True, num_streams=1).Prefetch(2)
z_ConvertFormat(pixel_type="YUV420P8", colorspace_op="rgb:709:709:full=>709:709:709:limited", dither_type="error_diffusion", cpu_type="avx2", use_props=0).Prefetch(0)
@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;
}