This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
# csv_to_ndjson.py | |
# | |
# Author: Werner Robitza | |
# | |
# Convert CSV files to .ndjson. | |
# This assumes the same keys being used in every line of the input file. | |
# It works on a line-by-line basis, so it should be fast and memory-efficient. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
# Code for calculating FFT and radial profile of an image | |
# | |
# Implements a method similar to: | |
# Katsavounidis, I., Aaron, A., & Ronca, D. (2015, October). Native resolution detection | |
# of video sequences. In SMPTE 2015 annual technical conference and exhibition (pp. 1-20). | |
# SMPTE. | |
# | |
# Author: Werner Robitza |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Work in progress! Does not handle escapes within filter arguments. | |
FilterGraph = | |
head: FilterChain | |
tail:(";" @FilterChain)* | |
{ return [head, ...tail]; } | |
FilterChain = | |
head: Filter | |
tail:("," @Filter)* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Convert a Word document to a Markdown-formatted JSON-parsable string | |
pandoc "$1" -t gfm-raw_html --wrap=preserve -o - | python -c 'import json; import sys; print(json.dumps(sys.stdin.read()))' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
# Run an ffmpeg command with a progress iterator | |
# Author: Werner Robitza | |
# Based on: https://gist.github.com/Hellowlol/5f8545e999259b4371c91ac223409209 | |
# For a library version, see https://pypi.org/project/ffmpeg-progress-yield/ | |
# License: MIT | |
import subprocess | |
import re |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RStudio Diagnostics Report | |
========================== | |
WARNING: This report may contain sensitive security information and / or | |
personally identifiable information. Please audit the below and redact any | |
sensitive information before submitting your diagnostics report. | |
Generated: Wed Jul 15 08:58:21 2020 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tool.poetry] | |
name = "test" | |
version = "0.1.0" | |
description = "" | |
authors = ["Werner Robitza <werner.robitza@gmail.com>"] | |
[tool.poetry.dependencies] | |
python = "^3.8" | |
ffmpeg_bitrate_stats = { git = "ssh://git@github.com:slhck/ffmpeg-bitrate-stats.git" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Bump the version, run auto-changelog, and push to Git | |
# | |
# Based on: | |
# - https://gist.github.com/pete-otaqui/4188238 | |
# - https://gist.github.com/mareksuscak/1f206fbc3bb9d97dec9c | |
# | |
# Requirements: | |
# - `npm i -g auto-changelog` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2021-06-17T18:38:14.803Z","extensionVersion":"v3.4.3"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Homebrew build logs for libvmaf on 4.9.125-linuxkit | |
Build date: 2019-04-12 08:37:31 |