Pinned Loading
-
Create animated gif from video
Create animated gif from video 1# Convert video to gif file.
2# Usage: video2gif video_file (scale) (fps)
3video2gif() {
4ffmpeg -y -i "${1}" -vf fps=${3:-10},scale=${2:-320}:-1:flags=lanczos,palettegen "${1}.png"
5ffmpeg -i "${1}" -i "${1}.png" -filter_complex "fps=${3:-10},scale=${2:-320}:-1:flags=lanczos[x];[x][1:v]paletteuse" "${1}".>
-
applescript to switch target display...
applescript to switch target display mode on headful imac 1#!/bin/bash
2osascript -e 'tell application "System Events" to key code 144 using command down delay'
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.