Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/mrgnw/scripts.
Something went wrong. Try again.
scripts vprev
189 B · 3 lines
123#!/usr/bin/env zsh
ffmpeg -i "$1" -vf "scale=iw*min(1920/iw\,1080/ih):ih*min(1920/iw\,1080/ih),fps=10" -t 30 -c:v hevc_videotoolbox -b:v 1000k -tag:v hvc1 -y "$(basename "$1").preview.mp4"