Skip to main content

ffmpeg

Extract audio and transcode MP4 to WebM using ffmpeg.

소스 정보

저장소
Th0rgal/sandboxed-library-template
최근 소스 활동
2026년 2월 13일 21:56
감지된 SKILL.md 언어
영어
스타
8
포크
15

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
ffmpeg
description
Extract audio and transcode MP4 to WebM using ffmpeg.
# ffmpeg ## Use when - Extract audio from a video file. - Transcode an MP4 video to WebM. ## Don't use when - A higher-level video-editing skill or tool is already in use for complex edits. - The task is purely file transfer or metadata inspection (no transcoding needed). ## Outputs - Output files should be written to `artifacts/` when possible (e.g., `artifacts/output.webm`). ## Templates or Examples - Use the command blocks below as templates, swapping inputs/outputs and codecs as needed. ## Requirements - Prefer safe defaults and explicit codecs. - Keep commands minimal and reproducible. - Use ASCII-only output unless file already uses Unicode. ## Commands ### Extract audio (MP4 → MP3) ``` ffmpeg -y -i input.mp4 -vn -c:a libmp3lame -q:a 2 output.mp3 ``` ### Extract audio (MP4 → WAV, lossless) ``` ffmpeg -y -i input.mp4 -vn -c:a pcm_s16le -ar 44100 -ac 2 output.wav ``` ### Transcode MP4 → WebM (VP9 + Opus) ``` ffmpeg -y -i input.mp4 -c:v libvpx-vp9 -crf 32 -b:v 0 -row-mt 1 -c:a libopus -b:a 128k output.webm ``` ### Transcode MP4 → WebM (VP8 + Vorbis) ``` ffmpeg -y -i input.mp4 -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis -b:a 128k output.webm ``` ## Notes - `-y` overwrites output files. Remove if you want interactive prompts. - Lower `-crf` means higher quality (and larger files). - If audio-only extraction is desired, use `-vn` to drop video.
GitHub에서 보기