초기 커밋: DefVideo 소스 등록
abcVideo 플레이어 소스 (client / server / shared / pythonsource / docs / .claude). .gitignore 적용으로 node_modules·storage·samplevideo·미디어 등 대용량 일괄 제외. 103 files, ~964K. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
36
.claude/skills/ffmpeg-cmd/SKILL.md
Normal file
36
.claude/skills/ffmpeg-cmd/SKILL.md
Normal file
@@ -0,0 +1,36 @@
|
||||
---
|
||||
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초 간격 프레임 추출 후 타일링
|
||||
Reference in New Issue
Block a user