Files
dronevideoplayer/.claude/skills/ffmpeg-cmd/SKILL.md
minsung 2aae3d1c0d feat: StationOverlay 렌더링 최적화 및 스무딩 적용 close #1
- 텍스트(측점/POI) 전 프레임 사전 계산 Map (requestIdleCallback 백그라운드)
- 드론 데이터 이동 평균 스무딩 (smoothFrame ±N프레임)
- 30fps→60fps 프레임 간 선형 보간 (performance.now() 기반)
- EMA(지수이동평균) 표시 위치 스무딩 (α=0.01 기본값)
- 글씨 2배 크기, bold, strokeText 테두리, 배경 박스 제거
- 카메라 파라미터 패널에 smooth/EMA α 슬라이더 추가

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 15:11:39 +09:00

37 lines
1.3 KiB
Markdown

---
name: ffmpeg-cmd
description: 자연어 설명을 FFmpeg/FFprobe 명령으로 변환하고 실행합니다.
argument-hint: "<설명>"
disable-model-invocation: true
---
## FFmpeg 명령 생성 및 실행
요청: **$ARGUMENTS**
### 실행 규칙
1. **CLAUDE.md**의 FFmpeg 관련 규칙을 먼저 확인하세요:
- HLS 변환: 세그먼트 6초, 키프레임 2초, H.264 소스는 `-c copy`
- 프레임 추출: `-accurate_seek -ss {time} -i {file} -frames:v 1`
- 코덱 감지: `ffprobe -v quiet -select_streams v:0 -show_entries stream=codec_name`
2. 요청 내용을 FFmpeg/FFprobe 명령으로 변환
3. 실행 전 다음을 표시:
- 생성된 명령
- 각 플래그의 의미 (한줄 설명)
- 예상 결과
4. 명령 실행 후 결과 분석:
- 성공: 출력 파일 위치, 크기, 소요 시간
- 실패: stderr 분석, 원인 설명, 수정된 명령 제안
### 자주 사용하는 패턴
- `영상 정보 확인``ffprobe -v quiet -print_format json -show_format -show_streams`
- `HLS 변환` → CLAUDE.md의 HLS 변환 명령 패턴 사용
- `프레임 추출``-accurate_seek -ss {time} -i {file} -frames:v 1`
- `코덱 확인``ffprobe -v quiet -select_streams v:0 -show_entries stream=codec_name -of csv=p=0`
- `썸네일 스프라이트` → 10초 간격 프레임 추출 후 타일링