| name | ffmpeg-core |
| description | FFmpeg fundamentals for video/audio manipulation. Covers common operations (trim, concat, convert, extract), codec selection, filter chains, and performance optimization. Use when planning or executing video processing tasks. |
plugin: video-editing
updated: 2026-01-20
FFmpeg Core Operations
Production-ready patterns for video and audio manipulation using FFmpeg.
System Requirements
- FFmpeg (5.0+ recommended)
- Verify installation:
ffmpeg -version
- For hardware acceleration: check
ffmpeg -hwaccels
Cross-Platform Installation
macOS:
brew install ffmpeg
Linux (Ubuntu/Debian):
sudo apt update && sudo apt install ffmpeg
Linux (Fedora/RHEL):
sudo dnf install ffmpeg
Windows:
choco install ffmpeg
Common Operations Reference
1. Video Information
Extract metadata and stream information:
ffprobe -v quiet -print_format json -show_format -show_streams "input.mp4"
ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1
ffprobe -v error -select_streams v:0 -show_entries stream=width,height -of csv=s=x:p=0