Skip to content

Instantly share code, notes, and snippets.

View bart9h's full-sized avatar

Rodolfo Borges bart9h

  • Rio de Janeiro, Brazil
View GitHub Profile
import QtQuick 1.1
Flickable {
id: flickable
// Updates to the contentWidth and contentHeight of the regular
// flickable will trigger an instant relocation of the content
// item to the bounds of the flickable. We want to controll this
// behavior, so we shadow the properties and ensure they are set
// through the contentItem's own width and hight properties,
@phiresky
phiresky / motioninterpolation.vpy
Last active June 4, 2024 05:19
Realtime motion interpolating 60fps playback in mpv
# vim: set ft=python:
# see the README at https://gist.github.com/phiresky/4bfcfbbd05b3c2ed8645
# source: https://github.com/mpv-player/mpv/issues/2149
# source: https://github.com/mpv-player/mpv/issues/566
# source: https://github.com/haasn/gentoo-conf/blob/nanodesu/home/nand/.mpv/filters/mvtools.vpy
import vapoursynth
core = vapoursynth.get_core()
@cliss
cliss / mergechapters.py
Created January 26, 2021 14:30
Merge Files with Chapters
import datetime
import json
import os
import subprocess
import sys
#############
### USAGE ###
#############