Skip to content

Instantly share code, notes, and snippets.

View HolyWu's full-sized avatar

HolyWu

  • Taiwan
  • 03:02 (UTC +08:00)
View GitHub Profile
@HolyWu
HolyWu / seek-test.py
Last active March 4, 2024 05:36 — forked from dubhater/seek-test.py
Test the reliability of your favourite source filter
# Usage:
# python3 seek-test.py file.mkv [start_frame end_frame]
#
# Change the source filter as needed.
# Note: this script is slow because making the source filter decode frames randomly is slow.
import hashlib
import random
import sys
@HolyWu
HolyWu / adaptive-sharpen.glsl
Last active March 14, 2024 08:37 — forked from igv/adaptive-sharpen.glsl
Optimal sharpening strength (according to objective metrics) - 0.5. To use it on-demand add the following line to input.conf: n change-list glsl-shaders toggle "~~/adaptive-sharpen.glsl"
// Copyright (c) 2015-2021, bacondither
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// 1. Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer
// in this position and unchanged.
// 2. Redistributions in binary form must reproduce the above copyright