Preserve initial outfit review and tested heel-safe gait for reference revision

This commit is contained in:
JariKo
2026-10-28 20:27:46 +02:00
parent 60471b44e6
commit d40609c9ee
19 changed files with 696 additions and 9 deletions
+17
View File
@@ -0,0 +1,17 @@
"""Encode the exact frame ranges; ignore older surplus capture frames."""
from pathlib import Path
import argparse
import subprocess
parser=argparse.ArgumentParser()
parser.add_argument('--ffmpeg',required=True)
args=parser.parse_args()
root=Path(__file__).resolve().parent.parent
project=root/'Demon_v0.19'
out=project/'reviews/heels_v01'
for sequence,count,name in [('full',72,'walking'),('feet',48,'boots'),('outfit',96,'outfit')]:
subprocess.run([args.ffmpeg,'-hide_banner','-loglevel','error','-y','-framerate','24',
'-i',str(project/'captures/heels-v01'/sequence/'%03d.png'),
'-filter_complex','[0:v]scale=1120:-1:flags=lanczos,split[a][b];[a]palettegen=max_colors=192[p];[b][p]paletteuse=dither=sierra2_4a',
'-frames:v',str(count),'-loop','0',str(out/(name+'.gif'))],check=True)
print(name,count,'frames',flush=True)