agentsclimarketplace

Ffmpeg

Skill ai-native-engineer/astack/skills/ffmpeg

Standalone local ffmpeg/ffprobe media utility for command-level media operations: explicit time-range cutting/joining, compressing, converting, extracting tracks, resizing, FPS, rotating, GIFs, subtitles, thumbnails, audio normalization, HDR-to-SDR, HEIC conversion, and advanced ffmpeg encoding/filter questions. Use for ffmpeg, ffprobe, 코덱, 인코딩, 필터, 압축/변환, MP4/MOV/webm, 오디오 추출, mp3, GIF, 자막, 프레임/썸네일, HDR 제거, or HEIC 변환. Do NOT use for 무음 제거, 무음 컷, content-aware cut editing, marker-based retake cleanup, 컷 마커/편집점 효과음 workflow, speech/VAD review cut plans, speech-to-text, text-to-speech, CapCut draft editing, YouTube strategy, or image generation.From its SKILL.md

Install
npx -y skills add ai-native-engineer/astack --skill ffmpeg

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.9 KB, as published. Nobody here has run it

ffmpeg

영상·오디오·이미지 변환의 단일 스킬. ffmpeg/ffprobe(+ macOS 내장 sips)로 자르기·합치기·압축·추출·포맷변환·HDR 색공간 변환을 다룬다.

멘탈 모델: copy 먼저, 재인코딩은 최후

ffmpeg 작업은 두 모드뿐이다. 어느 쪽인지부터 정한다.

  • stream copy (-c copy) — 비트스트림을 그대로 복사. 무손실·초고속(8시간 영상도 1~2초). 자르기, 컨테이너 변경(mkv↔mp4), 트랙 추출처럼 픽셀을 바꾸지 않는 작업.
  • 재인코딩 (-c:v libx264 -crf … 등) — 픽셀을 디코드→인코드. 화질 손실 + 느림. 압축, 해상도/프레임레이트/코덱/색공간 변경처럼 픽셀을 바꿔야 할 때만.

판단: 픽셀을 바꿀 필요가 없으면 무조건 copy. 자를 때 끝점만 지정(-to)하면 시작이 0이라 copy로도 깔끔하다. 중간 구간 정밀 컷·합치기엔 함정이 있다 → recipes.md.

불변 안전선

  1. 원본 보존 — 출력은 항상 새 파일명. 입력을 덮어쓰지 않는다(in-place 요청이면 임시파일 생성 후 교체).
  2. 작업 후 ffprobe 검증·보고 — 출력의 duration·codec·해상도를 확인한다. copy면 코덱이 입력과 동일해야 무손실이 보증된다.
    ffprobe -v error -show_entries format=duration:stream=codec_name,width,height -of default=noprint_wrappers=1 OUT
    
  3. "무손실"은 copy일 때만 주장한다. 재인코딩이면 "재인코딩됨(crf N)"이라고 명시한다. 비트레이트 수치 차이는 구간별 평균 차이일 뿐 손실이 아니다 — copy면 코덱 동일 = 무손실.

라우팅 — 작업별 reference

작업읽을 것
자르기·합치기·압축·추출·포맷변환·해상도/fps·회전·GIF·자막·썸네일/프레임·배속·볼륨/정규화references/recipes.md
Apple HDR(HLG/BT.2020)→SDR, 사이니지/안드로이드 호환, HEIC→JPG/PNGreferences/apple-hdr.md

기본 명령은 해당 reference의 레시피를 베끼고, 전체 옵션은 ffmpeg -h full / https://ffmpeg.org/ffmpeg.html 에 위임한다.

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.