FFmpeg
Process video and audio with correct codec selection, filtering, and encoding settings.
New
Join 0+ developers using this skill
skill
Creative & Media
advanced
Process video and audio with correct codec selection, filtering, and encoding settings.
Real data. Real impact.
Emerging
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
-ss BEFORE -i: fast seek, may be inaccurate—starts from nearest keyframe-ss AFTER -i: frame-accurate but slow—decodes from start-ss 00:30:00 -i input.mp4 -ss 00:00:05—fast seek then accurate trim-avoid_negative_ts make_zero to fix timestamp issues-map 0:v:0 -map 0:a:1—first video, second audio-map 0:a—all audio streams-map 0 -c copy—all streams, no re-encoding-map 0 -map -0:s—all except subtitles-preset: ultrafast to veryslow—slower = smaller file at same quality-crf and -b:v mutually exclusive—use one or the other-c copy—fast, no quality loss-vf "scale=1280:720"—single filter chain-filter_complex "[0:v]scale=1280:720[scaled]"—named outputs for routing-vf "scale=1280:720,fps=30"—comma-separatedscale=1280:720 or scale=-1:720 for auto-width maintaining aspectcrop=640:480:100:50—width:height:x:y from top-leftfps=30—change frameratetrim=start=10:end=20,setpts=PTS-STARTPTS—setpts resets timestampsoverlay=10:10—position from top-left-ar 48000—standard for video-ac 2—stereo-c:a aac -b:a 192k—AAC at 192kbps-filter:a loudnorm—EBU R128 loudness normalization-vn -c:a copy output.m4a—no video, copy audio-f concat -safe 0 -i list.txt -c copy-filter_complex "[0:v][0:a][1:v][1:a]concat=n=2:v=1:a=1"file 'video1.mp4' per line—escape special characters-vf "subtitles=subs.srt"—cannot be turned off-c:s mov_text (MP4) or -c:s srt (MKV)—user toggleable-map 0:s—include subtitle streams-map 0:s:0 subs.srt—first subtitle to file-hwaccel cuda or -hwaccel videotoolbox (macOS)-c:v h264_nvenc (NVIDIA), -c:v h264_videotoolbox (macOS)-c copy when not re-encoding—defaults to re-encode, slow and lossy-ss after -i for long videos—takes forever seeking-async 1 or -af aresample=async=1-c copy + -vf = erroroutput.mp4 without -c:v uses default, may not be H.264No automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
© 2026 Torly.ai. All rights reserved.