alpha
Login
or
Join now
xcc.es
/
scripts
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/mrgnw/scripts.
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
vprev
author
Morgan Williams
date
7 months ago
(Nov 30, 2025, 7:15 PM +0100)
commit
f3a3b91b
f3a3b91b78c9cc5569fc205ed496d5bb42b663e7
parent
f7d86fda
f7d86fdaaf93dfc88497ae2d2a8d90c6d849cb1d
+1
-1
1 changed file
Expand all
Collapse all
Unified
Split
vprev
+1
-1
vprev
View file
Reviewed
···
1
1
#!/usr/bin/env zsh
2
2
3
3
-
ffmpeg -i "$1" -vf "scale=iw*min(1920/iw\,1080/ih):ih*min(1920/iw\,1080/ih),fps=5" -t 30 -c:v hevc_videotoolbox -b:v 1M -tag:v hvc1 -y "$(basename "$1").preview.mp4"
3
3
+
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"