- generate palette
ffmpeg -y -i video.webm -vf palettegen=max_colors=64 palette.png
- convert
ffmpeg -y -i video.webm -i palette.png -filter_complex paletteuse=dither=bayer:bayer_scale=1 -r 15 output.gif
// 1. Open the browser developper console on the network tab | |
// 2. Start the video | |
// 3. In the dev tab, locate the load of the "master.json" file, copy its full URL | |
// 4. Run: node vimeo-downloader.js "<URL>" | |
// 5. Combine the m4v and m4a files with mkvmerge | |
const fs = require('fs'); | |
const url = require('url'); | |
const https = require('https'); |
; AutoHotkey Media Keys | |
^!Space::Send {Media_Play_Pause} | |
^!Left::Send {Media_Prev} | |
^!Right::Send {Media_Next} | |
^!NumpadMult::Send {Volume_Mute} | |
^!NumpadAdd::Send {Volume_Up} | |
^!NumpadSub::Send {Volume_Down} |
#ifndef QCHECKLIST | |
#define QCHECKLIST | |
#include <QWidget> | |
#include <QComboBox> | |
#include <QStandardItemModel> | |
#include <QLineEdit> | |
#include <QEvent> | |
#include <QStyledItemDelegate> | |
#include <QListView> |
#define AppId "{INSERT HERE YOUR GUID}" | |
#define AppName "My App" | |
#define AppVersion "1.7" | |
[CustomMessages] | |
english.NewerVersionExists=A newer version of {#AppName} is already installed.%n%nInstaller version: {#AppVersion}%nCurrent version: | |
[Code] | |
// find current version before installation | |
function InitializeSetup: Boolean; | |
var Version: String; |
#include <windows.h> | |
int main(int argc, char *argv[]) | |
{ | |
// ensure only one running instance | |
HANDLE hMutexHandle = CreateMutex(NULL, TRUE, L"my.mutex.name"); | |
if (GetLastError() == ERROR_ALREADY_EXISTS) | |
{ | |
return 0; | |
} |
[Players] | |
AIMP3=cmd,AIMP3.exe,Winamp v1.x,xxx,xxx,40045,40046,40047,40044,40048,0,1,WinAmp 5 | |
AIMP2=cmd,AIMP2.exe,Winamp v1.x,xxx,xxx,40045,40046,40047,40044,40048,0,1,WinAmp 5 |
; Starts qBitorrent after prompting for the listening port | |
#include <GUIConstantsEx.au3> | |
#include <StaticConstants.au3> | |
#include <WindowsConstants.au3> | |
#include <Misc.au3> | |
$iniFile = "C:\Users\USER\AppData\Roaming\qBittorrent\qBittorrent.ini" | |
$exeFile = "C:\Program Files\qBittorrent\qbittorrent.exe" |
ffmpeg -y -i video.webm -vf palettegen=max_colors=64 palette.png
ffmpeg -y -i video.webm -i palette.png -filter_complex paletteuse=dither=bayer:bayer_scale=1 -r 15 output.gif
#ifndef QTOOLBAREXT_H | |
#define QTOOLBAREXT_H | |
#include <QToolBar> | |
#include <QMenu> | |
#include <QToolButton> | |
/** | |
* @brief Custom QToolBar allowing to add a button/menu with text and icon |
; The VCRedistNeedsInstall function checks if a given version of VC++ is already installed | |
; Modify the function with one (or more) of the VC_* constants to suit your version | |
[Run] | |
Filename: "{app}\redist\vcredist_x86.exe"; Parameters: "/q /norestart /q:a /c:""VCREDI~3.EXE /q:a /c:""""msiexec /i vcredist.msi /qn"""" """; Check: VCRedistNeedsInstall; WorkingDir: {app}\redist; StatusMsg: Installing VC++ 2013 Redistributables... | |
[Code] | |
#IFDEF UNICODE | |
#DEFINE AW "W" | |
#ELSE |