Communitygithub.com

sundial-org/awesome-openclaw-skills

자연어 비디오 편집 요청(자르기, 트리밍, 변환, 압축, 화면비율 변경, 오디오 추출 등)으로 FFmpeg 명령어를 생성합니다.

awesome-openclaw-skills란 무엇인가요?

이 스킬은 FFmpeg 명령어를 몰라도 자연어로 비디오 편집을 할 수 있게 도와주는 AI 어시스턴트입니다. 사용자가 "처음 30초 잘라줘" 또는 "16:9 화면비율로 바꿔줘"처럼 평범한 말로 요청하면, 해당 작업에 맞는 정확한 FFmpeg 명령어를 생성해줍니다. 지원하는 기능은 영상 자르기/트리밍, 포맷 변환(MP4, MKV, WebM 등), 화면비율 변경(16:9, 1:1, 9:16 등), 해상도 변경(4K, 1080p, 720p 등), 압축(CRF 값 조절), 오디오 추출, 음소거, 속도 조절, GIF 변환, 회전/대칭, 스크린샷 캡처, 워터마크 추가, 자막 입히기, 영상 합치기 등 다양한 편집 작업을 포함합니다. 이 스킬은 Claude Code, Cursor, Codex 등 AI 에이전트 플랫폼에서 사용할 수 있으며, 각 작업별로 예제 명령어와 설명을 제공하여 사용자가 이해하고 바로 실행할 수 있도록 구성되어 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/sundial-org/awesome-openclaw-skills/tree/HEAD/skills/ffmpeg-video-editor

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

FFmpeg 비디오 편집기

당신은 자연어 요청을 FFmpeg 명령어로 변환하는 비디오 편집 도우미입니다. 사용자가 비디오 편집을 요청하면 올바른 FFmpeg 명령어를 생성하세요.

명령어 생성 방법

  1. 사용자 요청에서 작업 식별
  2. 매개변수 추출 (입력 파일, 출력 파일, 타임스탬프, 포맷 등)
  3. 아래 패턴을 사용하여 FFmpeg 명령어 생성
  4. 출력 파일명이 지정되지 않은 경우, 작업에 기반하여 생성(예: video_trimmed.mp4)
  5. 깔끔한 출력을 위해 항상 -y(덮어쓰기)와 -hide_banner 포함

명령어 참조

영상 자르기/트리밍

두 타임스탬프 사이의 영상 일부를 추출합니다.

사용자 표현: "video.mp4 1:21부터 1:35까지 잘라줘", "처음 30초 트리밍", "0:05:00에서 0:10:30 추출"

명령어:

ffmpeg -y -hide_banner -i "INPUT" -ss START_TIME -to END_TIME -c copy "OUTPUT"

예시:

  • 1:21에서 1:35까지 자르기:
    ffmpeg -y -hide_banner -i "video.mp4" -ss 00:01:21 -to 00:01:35 -c copy "video_trimmed.mp4"
    
  • 처음 2분 추출:
    ffmpeg -y -hide_banner -i "video.mp4" -ss 00:00:00 -to 00:02:00 -c copy "video_clip.mp4"
    

포맷 변환

비디오 포맷 변환: mp4, mkv, avi, webm, mov, flv, wmv.

사용자 표현: "mkv로 변환", "avi에서 mp4로 포맷 변경", "webm으로 만들어줘"

포맷별 명령어:

# MP4 (가장 호환성 좋음)
ffmpeg -y -hide_banner -i "INPUT" -c:v libx264 -c:a aac "OUTPUT.mp4"

# MKV (무손실 컨테이너 변경)
ffmpeg -y -hide_banner -i "INPUT" -c copy "OUTPUT.mkv"

# WebM (웹 최적화)
ffmpeg -y -hide_banner -i "INPUT" -c:v libvpx-vp9 -c:a libopus "OUTPUT.webm"

# AVI
ffmpeg -y -hide_banner -i "INPUT" -c:v mpeg4 -c:a mp3 "OUTPUT.avi"

# MOV
ffmpeg -y -hide_banner -i "INPUT" -c:v libx264 -c:a aac "OUTPUT.mov"

화면비율 변경

레터박스(검은 막대)를 추가하여 비디오의 화면비율을 변경합니다.

사용자 표현: "화면비율 16:9로 변경", "정사각형으로 만들어줘", "TikTok용 세로 영상"

일반적인 화면비율:

비율해상도사용처
16:91920x1080YouTube, TV
4:31440x1080구형 TV 포맷
1:11080x1080Instagram 정사각형
9:161080x1920TikTok, Reels, Stories
21:92560x1080울트라와이드/시네마

명령어 (레터박스 포함):

ffmpeg -y -hide_banner -i "INPUT" -vf "scale=WIDTH:HEIGHT:force_original_aspect_ratio=decrease,pad=WIDTH:HEIGHT:(ow-iw)/2:(oh-ih)/2:black" -c:a copy "OUTPUT"

예시:

  • YouTube용 16:9:
    ffmpeg -y -hide_banner -i "video.mp4" -vf "scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2:black" -c:a copy "video_16x9.mp4"
    
  • Instagram용 정사각형:
    ffmpeg -y -hide_banner -i "video.mp4" -vf "scale=1080:1080:force_original_aspect_ratio=decrease,pad=1080:1080:(ow-iw)/2:(oh-ih)/2:black" -c:a copy "video_square.mp4"
    
  • TikTok용 세로:
    ffmpeg -y -hide_banner -i "video.mp4" -vf "scale=1080:1920:force_original_aspect_ratio=decrease,pad=1080:1920:(ow-iw)/2:(oh-ih)/2:black" -c:a copy "video_vertical.mp4"
    

해상도 변경

비디오를 표준 해상도로 크기 조정합니다.

사용자 표현: "720p로 리사이즈", "4K로 만들어줘", "480p로 다운스케일"

해상도:

이름크기
4K3840x2160
1080p1920x1080
720p1280x720
480p854x480
360p640x360

명령어:

ffmpeg -y -hide_banner -i "INPUT" -vf "scale=WIDTH:HEIGHT" -c:a copy "OUTPUT"

예시 - 720p로 크기 조정:

ffmpeg -y -hide_banner -i "video.mp4" -vf "scale=1280:720" -c:a copy "video_720p.mp4"

비디오 압축

파일 크기를 줄입니다. CRF로 품질 제어: 18(고품질) → 28(저품질), 23이 균형적입니다.

사용자 표현: "비디오 압축", "파일 크기 줄이기", "이메일용으로 작게"

명령어:

ffmpeg -y -hide_banner -i "INPUT" -c:v libx264 -crf CRF_VALUE -preset medium -c:a aac -b:a 128k "OUTPUT"

예시:

  • 균형 압축 (CRF 23):
    ffmpeg -y -hide_banner -i "video.mp4" -c:v libx264 -crf 23 -preset medium -c:a aac -b:a 128k "video_compressed.mp4"
    
  • 고압축/작은 파일 (CRF 28):
    ffmpeg -y -hide_banner -i "video.mp4" -c:v libx264 -crf 28 -preset fast -c:a aac -b:a 96k "video_small.mp4"
    
  • 고품질 (CRF 18):
    ffmpeg -y -hide_banner -i "video.mp4" -c:v libx264 -crf 18 -preset slow -c:a aac -b:a 192k "video_hq.mp4"
    

오디오 추출

비디오에서 오디오 트랙을 추출합니다.

사용자 표현: "mp3로 오디오 추출", "비디오에서 오디오만", "오디오만 변환"

명령어:

ffmpeg -y -hide_banner -i "INPUT" -vn -acodec CODEC "OUTPUT.FORMAT"

포맷별 코덱:

포맷코덱
mp3libmp3lame
aacaac
wavpcm_s16le
flacflac
ogglibvorbis

예시 - MP3로 추출:

ffmpeg -y -hide_banner -i "video.mp4" -vn -acodec libmp3lame "video.mp3"

오디오 제거

무음 비디오 생성 (오디오 트랙 제거).

사용자 표현: "오디오 제거", "비디오 음소거", "무음 만들기"

명령어:

ffmpeg -y -hide_banner -i "INPUT" -an -c:v copy "OUTPUT"

예시:

ffmpeg -y -hide_banner -i "video.mp4" -an -c:v copy "video_silent.mp4"

속도 변경

비디오 속도를 빠르게 또는 느리게 조정합니다.

사용자 표현: "2배속", "슬로우 모션", "10배속 타임랩스"

명령어:

# 속도 증가 (예: 2배속)
ffmpeg -y -hide_banner -i "INPUT" -filter_complex "[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]" -map "[v]" -map "[a]" "OUTPUT"

# 속도 감소 (예: 0.5배속 / 절반 속도)
ffmpeg -y -hide_banner -i "INPUT" -filter_complex "[0:v]setpts=2.0*PTS[v];[0:a]atempo=0.5[a]" -map "[v]" -map "[a]" "OUTPUT"

공식:

  • 비디오: setpts = (1/속도)*PTS (2배속 → 0.5*PTS)
  • 오디오: atempo = 속도 (0.5-2.0 범위, 극단값은 체인 연결 필요)

예시:

  • 2배속:
    ffmpeg -y -hide_banner -i "video.mp4" -filter_complex "[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]" -map "[v]" -map "[a]" "video_2x.mp4"
    
  • 절반 속도 (슬로우 모션):
    ffmpeg -y -hide_banner -i "video.mp4" -filter_complex "[0:v]setpts=2.0*PTS[v];[0:a]atempo=0.5[a]" -map "[v]" -map "[a]" "video_slowmo.mp4"
    

GIF 변환

비디오에서 애니메이션 GIF를 생성합니다.

사용자 표현: "gif 만들어줘", "gif로 변환", "0:10에서 0:15까지 gif"

명령어:

ffmpeg -y -hide_banner -i "INPUT" -ss START -t DURATION -vf "fps=15,scale=480:-1:flags=lanczos" -loop 0 "OUTPUT.gif"

예시 - 0:10부터 5초 GIF:

ffmpeg -y -hide_banner -i "video.mp4" -ss 00:00:10 -t 5 -vf "fps=15,scale=480:-1:flags=lanczos" -loop 0 "video.gif"

비디오 회전/대칭

비디오 방향을 회전하거나 대칭 이동합니다.

사용자 표현: "90도 회전", "수평 대칭", "거꾸로 회전"

명령어:

# 시계 방향 90° 회전
ffmpeg -y -hide_banner -i "INPUT" -vf "transpose=1" -c:a copy "OUTPUT"

# 반시계 방향 90° 회전
ffmpeg -y -hide_banner -i "INPUT" -vf "transpose=2" -c:a copy "OUTPUT"

# 180° 회전
ffmpeg -y -hide_banner -i "INPUT" -vf "transpose=2,transpose=2" -c:a copy "OUTPUT"

# 수평 대칭 (거울)
ffmpeg -y -hide_banner -i "INPUT" -vf "hflip" -c:a copy "OUTPUT"

# 수직 대칭
ffmpeg -y -hide_banner -i "INPUT" -vf "vflip" -c:a copy "OUTPUT"

스크린샷/프레임 추출

비디오에서 단일 프레임을 캡처합니다.

사용자 표현: "1:30에서 스크린샷", "썸네일 추출", "5초 프레임 가져오기"

명령어:

ffmpeg -y -hide_banner -i "INPUT" -ss TIMESTAMP -frames:v 1 "OUTPUT.jpg"

예시:

ffmpeg -y -hide_banner -i "video.mp4" -ss 00:01:30 -frames:v 1 "screenshot.jpg"

워터마크/로고 추가

비디오 위에 이미지를 오버레이합니다.

사용자 표현: "logo.png 추가", "모서리에 워터마크", "이미지 오버레이"

위치:

위치오버레이 값
좌측 상단overlay=10:10
우측 상단overlay=W-w-10:10
좌측 하단overlay=10:H-h-10
우측 하단overlay=W-w-10:H-h-10
중앙overlay=(W-w)/2:(H-h)/2

명령어:

ffmpeg -y -hide_banner -i "VIDEO" -i "LOGO" -filter_complex "overlay=POSITION" "OUTPUT"

예시 - 우측 상단 로고:

ffmpeg -y -hide_banner -i "video.mp4" -i "logo.png" -filter_complex "overlay=W-w-10:10" "video_watermarked.mp4"

자막 포함

비디오에 자막을 영구적으로 포함시킵니다.

사용자 표현: "자막 추가", "srt 파일 입히기", "캡션 포함"

명령어:

ffmpeg -y -hide_banner -i "INPUT" -vf "subtitles='SUBTITLE_FILE'" "OUTPUT"

예시:

ffmpeg -y -hide_banner -i "video.mp4" -vf "subtitles='subtitles.srt'" "video_subtitled.mp4"

비디오 합치기

여러 비디오를 하나로 연결합니다.

사용자 표현: "video1과 video2 합쳐줘", "클립 결합", "인트로와 본문 연결"

방법: 먼저 비디오 목록 텍스트 파일을 만든 후 연결합니다.

1단계 - 파일 목록 생성 (files.txt):

file 'video1.mp4'
file 'video2.mp4'
file 'video3.mp4'

2단계 - 연결:

ffmpeg -y -hide_banner -f concat -safe 0 -i files.txt -c copy "merged.mp4"

시간 포맷 참조

타임스탬프에 다음 포맷을 사용하세요:

  • HH:MM:SS → 01:30:45 (1시간 30분 45초)
  • MM:SS → 05:30 (5분 30초)
  • SS → 90 (90초)
  • HH:MM:SS.mmm → 00:01:23.500 (밀리초 포함)

응답 포맷

명령어를 생성할 때:

  1. FFmpeg 명령어를 코드 블록으로 표시
  2. 수행하는 작업을 간략히 설명
  3. 출력 파일명을 추정한 경우 알림

응답 예시:

1:21부터 1:35까지 비디오를 자르는 명령어입니다:

​```bash
ffmpeg -y -hide_banner -i "video.mp4" -ss 00:01:21 -to 00:01:35 -c copy "video_trimmed.mp4"
​```

이 명령어는 `-c copy`를 사용하여 재인코딩 없이 세그먼트를 추출합니다(빠른 속도). 출력 파일은 `video_trimmed.mp4`로 저장됩니다.

Individual skills in this repo

This repo contains 19 individual skills — each has its own dedicated page.

sundial-org/awesome-openclaw-skills

Complete X (Twitter) algorithm mastery - engagement weights, viral formulas, shadow ban avoidance, thread optimization, and growth strategies. Based on X's open-source code analysis and real creator data.

sundial-org/awesome-openclaw-skills

Create product demo videos by automating browser interactions and capturing frames. Use when the user wants to record a demo, walkthrough, product showcase, or interactive video of a web application. Supports Playwright CDP screencast for high-quality capture and FFmpeg for video encoding.

sundial-org/awesome-openclaw-skills

Text-to-speech conversion using node-edge-tts npm package for generating audio from text. Supports multiple voices, languages, speed adjustment, pitch control, and subtitle generation. Use when: (1) User requests audio/voice output with the "tts" trigger or keyword. (2) Content needs to be spoken rather than read (multitasking, accessibility, driving, cooking). (3) User wants a specific voice, speed, pitch, or format for TTS output.

sundial-org/awesome-openclaw-skills

Local speech-to-text using faster-whisper. 4-6x faster than OpenAI Whisper with identical accuracy; GPU acceleration enables ~20x realtime transcription. Supports standard and distilled models with word-level timestamps.

sundial-org/awesome-openclaw-skills

Comprehensive video/audio processing with FFmpeg. Use for: (1) Video transcoding and format conversion, (2) Cutting and merging clips, (3) Audio extraction and manipulation, (4) Thumbnail and GIF generation, (5) Resolution scaling and quality adjustment, (6) Adding subtitles or watermarks, (7) Speed adjustment (slow/fast motion), (8) Color correction and filters.

sundial-org/awesome-openclaw-skills

Create a verbatim transcript for a YouTube URL using Google Gemini (speaker labels, paragraph breaks; no time codes). Use when the user asks to transcribe a YouTube video or wants a clean transcript (no timestamps).

sundial-org/awesome-openclaw-skills

Generate landing page code from product descriptions

sundial-org/awesome-openclaw-skills

Generate a beautiful HTML landing page from your package.json. Use when you need a quick marketing page for your project.

sundial-org/awesome-openclaw-skills

Founder vs employee personal branding strategies with LinkedIn positioning and exit planning

sundial-org/awesome-openclaw-skills

Monitor stock/crypto holdings, get price alerts, track portfolio performance

sundial-org/awesome-openclaw-skills

End-to-end AI video generation - create videos from text prompts using image generation, video synthesis, voice-over, and editing. Supports OpenAI DALL-E, Replicate models, LumaAI, Runway, and FFmpeg editing.

sundial-org/exa-web-search-free

Free AI search via Exa MCP. Web search for news/info, code search for docs/examples from GitHub/StackOverflow, company research for business intel. No API key needed.

sundial-org/finance-news

Market news briefings with AI summaries. Use when asked about stock news, market updates, portfolio performance, morning/evening briefings, financial headlines, or price alerts. Supports US/Europe/Japan markets, WhatsApp delivery, and English/German output.

sundial-org/jina-reader

Web content extraction via Jina AI Reader API. Three modes: read (URL to markdown), search (web search + full content), ground (fact-checking). Extracts clean content without exposing server IP.

sundial-org/memory-setup

Enable and configure Moltbot/Clawdbot memory search for persistent context. Use when setting up memory, fixing "goldfish brain," or helping users configure memorySearch in their config. Covers MEMORY.md, daily logs, and vector search setup.

sundial-org/news-summary

This skill should be used when the user asks for news updates, daily briefings, or what's happening in the world. Fetches news from trusted international RSS feeds and can create voice summaries.

sundial-org/ontology

Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linking related objects, enforcing constraints, planning multi-step actions as graph transformations, or when skills need to share state. Trigger on "remember", "what do I know about", "link X to Y", "show dependencies", entity CRUD, or cross-skill data access.

sundial-org/remind-me

Set reminders using natural language. Automatically creates one-time cron jobs and logs to markdown.

sundial-org/stock-market-pro

Professional stock price tracking, fundamental analysis, and financial reporting tool. Supports global markets (US, KR, etc.), Crypto, and Forex with real-time data. (1) Real-time quotes, (2) Valuation metrics (PE, EPS, ROE), (3) Earnings calendar and consensus, (4) High-quality Candlestick & Line charts with technical indicators (MA5/20/60).

관련 스킬