annotate mrjunejune/src/public/test.sh @ 148:76cd7afa6b8e

[Configs] Updated configs and finally added ctags.
author June Park <parkjune1995@gmail.com>
date Sat, 10 Jan 2026 05:04:19 -0800
parents 19cccf6e866a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
91
19cccf6e866a Added Epi photo reels.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
1 i=1; for f in *; do \
19cccf6e866a Added Epi photo reels.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
2 # Create the original resolution version
19cccf6e866a Added Epi photo reels.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
3 ffmpeg -i "$f" -vcodec libwebp -q:v 75 "webp/${i}_original.webp"; \
19cccf6e866a Added Epi photo reels.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
4 # Create the 400x400 version (maintaining aspect ratio)
19cccf6e866a Added Epi photo reels.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
5 ffmpeg -i "$f" -vcodec libwebp -vf "scale=400:400:force_original_aspect_ratio=decrease,pad=400:400:(ow-iw)/2:(oh-ih)/2:color=black" -q:v 75 "webp/${i}.webp"; \
19cccf6e866a Added Epi photo reels.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
6 i=$((i+1)); \
19cccf6e866a Added Epi photo reels.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
7 done