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
# ---------- Status Cats Error Pages!!! via: https://http.cat/ --------- | |
# | |
# requires that a dns resolver be set for nginx as in: resolver 127.0.0.1; | |
# typically uses dnsmasq for 127.0.0.1 resolver | |
# | |
# Usage: | |
# place this file somewhere accessible to nginx. /etc/nginx/snippets is a decent choice. | |
# then inside the server block(s) you want cat themed error status responses do: | |
# include snippets/http-cat-error-pages.conf | |
# |
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 | |
inputFile=$1 # input file | |
outputFile=$2 # output file | |
outputRes=$3 # output resolution in WIDTHxHEIGHT | |
fps=$4 # fps for both input and output | |
useLeftoverFrames=0 # whether or not to process already split frames | |
# create temp dir if it doesn't exist yet | |
if [[ ! -d ".lqrtemp/" ]]; then | |
echo ":: Creating temporary directory .lqrtemp/..." |