From d8696dcad1f4e342878cf1a68cf42d2bf11549f8 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sun, 2 Nov 2025 19:11:40 -0700 Subject: [PATCH] powershell to turn video files into looping apng files at high quality with ffmpeg, and friendlyfriend :3 --- README.md | 1 + .../{ffmpreg_gif_loopy.ps1 => ffmpreg_apng_loopy.ps1} | 2 +- customscripts/friendlyfriend | 6 ++++++ 3 files changed, 8 insertions(+), 1 deletion(-) rename Windows-Scripts/{ffmpreg_gif_loopy.ps1 => ffmpreg_apng_loopy.ps1} (68%) create mode 100644 customscripts/friendlyfriend diff --git a/README.md b/README.md index 300d18d..4f80db2 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ script=/tmp/install_script.sh && curl -s https://raw.githubusercontent.com/Princ #### for fun * `donut` +* `friendlyfriend` #### media * `easylistdownload` diff --git a/Windows-Scripts/ffmpreg_gif_loopy.ps1 b/Windows-Scripts/ffmpreg_apng_loopy.ps1 similarity index 68% rename from Windows-Scripts/ffmpreg_gif_loopy.ps1 rename to Windows-Scripts/ffmpreg_apng_loopy.ps1 index a8d1a1a..8212999 100644 --- a/Windows-Scripts/ffmpreg_gif_loopy.ps1 +++ b/Windows-Scripts/ffmpreg_apng_loopy.ps1 @@ -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" \ No newline at end of file +ffmpeg -i "$Filename" -plays 0 -f apng "$Filename.apng" \ No newline at end of file diff --git a/customscripts/friendlyfriend b/customscripts/friendlyfriend new file mode 100644 index 0000000..11ce8ce --- /dev/null +++ b/customscripts/friendlyfriend @@ -0,0 +1,6 @@ +#!/bin/bash +while (true); do + clear + ponysay $(polygen /usr/share/polygen/eng/pornsite.grm | awk '{print $3}') + sleep 5 +done \ No newline at end of file