powershell to turn video files into looping apng files at high quality with ffmpeg, and friendlyfriend :3

This commit is contained in:
2025-11-02 19:11:40 -07:00
parent ae96a64b01
commit d8696dcad1
3 changed files with 8 additions and 1 deletions
@@ -4,4 +4,4 @@ param(
[string]$Filename
)
# apng is far hjigher quality and also preserves transparancy :activated:
ffmpeg -i "$Filename" -plays 0 -f apng -lavfi split[v],palettegen,[v]paletteuse "$Filename.apng"
ffmpeg -i "$Filename" -plays 0 -f apng "$Filename.apng"