Preserve initial outfit review and tested heel-safe gait for reference revision
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user