Skip to content

Instantly share code, notes, and snippets.

:octocat:
this isn't happening

140bpmdubstep LaineZ

:octocat:
this isn't happening
Block or report user

Report or block LaineZ

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@LaineZ
LaineZ / gifenc.bat
Created Jan 13, 2020
BAT GIF Encoder (FFmpeg)
View gifenc.bat
:: A small batch adaptation of this script http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html
:: USAGE
:: gifenc.bat [inputfile] [outputfile] [xsize] [ysize]
SET palette="palette.png"
SET filters="fps=15,scale=%3:%4:flags=lanczos"
ffmpeg -i %1 -vf "%filters%,palettegen" -y %palette%
ffmpeg -i %1 -i %palette% -lavfi "%filters% [x]; [x][1:v] paletteuse" -y %2
View filesystemtest.lua
local ins = {}
FILE = "tmpfile.txt"
CYCLES = 20
function average(inmassiv)
local rezik = 0
for i = 1, #inmassiv do
rezik = inmassiv[i] + rezik
You can’t perform that action at this time.