feat: 이번주 코디 영상 스크립트·템플릿·모델 사진과 명령 파일 추가, 클립 동작은 후보에서 무작위로 고름 (손가락 모양 동작 제외), .sh·.py·.mjs 는 LF 로 받음

This commit is contained in:
minaChoi committed 2026-10-29 08:52:40 +09:00
1 parent 1ec87a82c1
commit 56f71cdfbe
54 files changed
+1576

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
# usage: sheet.sh <영상> <출력.png> <초> [초 ...] — 그 시각 프레임을 가로로 붙인 확인용 시트
set -euo pipefail
video=$1; out=$2; shift 2
tmp=$(mktemp -d); inputs=(); n=0
for t in "$@"; do ffmpeg -hide_banner -loglevel error -y -ss "$t" -i "$video" -frames:v 1 -vf scale=270:480 "$tmp/$n.png"; inputs+=(-i "$tmp/$n.png"); n=$((n+1)); done
ffmpeg -hide_banner -loglevel error -y "${inputs[@]}" -filter_complex "hstack=inputs=$n" "$out"
rm -rf "$tmp"; echo "saved $out"