DF

dubnium0/ffmpeg-mcp

Data science & ML

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

21 stars 3 forks Качество 57 Тренд 10

Advanced ffmpeg mcp server

Обзор

Model Context Protocol (MCP) server that provides for video/audio processing, analysis, and streaming - — Comprehensive metadata (codecs, bitrates, resolution, fps, etc.) - — Width, height, aspect ratio - — File duration in seconds & formatted - — All video, audio, subtitle streams - — Total frame count - — Scene cut detection with timestamps - — Keyframe timestamp listing - — Full codec/quality control (x264, x265, VP9, AV1, etc.) - — Audio format conversion (MP3, AAC, FLAC, WAV, OGG, etc.) - — High-quality GIF with palette optimization - — Bulk convert entire directories - — Extract audio track from video - — Cut segments by time - — Concatenate multiple videos - — Scale to any resolution - — Speed up / slow down with audio sync - — Export frames as images - — Image sequence → video - — 90°, 180°, 270° or arbitrary angle - — Crop a region - — Extract frame as image - — Embed poster image in MP4 - — Volume control (factor, dB, percentage) - — EBU R128 loudness normalization - —...

README

Показан фрагмент оригинального README. Открыть оригинал.

FFmpeg MCP Server

Model Context Protocol (MCP) server that provides 40+ advanced FFmpeg tools for video/audio processing, analysis, and streaming

Features

Media Analysis & Probing (7 tools)

  • get_media_info — Comprehensive metadata (codecs, bitrates, resolution, fps, etc.)
  • get_video_resolution — Width, height, aspect ratio
  • get_duration — File duration in seconds & formatted
  • list_streams — All video, audio, subtitle streams
  • get_frame_count — Total frame count
  • detect_scene_changes — Scene cut detection with timestamps
  • get_keyframes — Keyframe timestamp listing

Format Conversion (5 tools)

  • convert_video — Full codec/quality control (x264, x265, VP9, AV1, etc.)
  • convert_audio — Audio format conversion (MP3, AAC, FLAC, WAV, OGG, etc.)
  • convert_to_gif — High-quality GIF with palette optimization
  • batch_convert — Bulk convert entire directories
  • extract_audio — Extract audio track from video

Video Editing (10 tools)

  • trim_video — Cut segments by time
  • merge_videos — Concatenate multiple videos
  • resize_video — Scale to any resolution
  • change_speed — Speed up / slow down with audio sync
  • extract_frames — Export frames as images
  • create_video_from_images — Image sequence → video
  • rotate_video — 90°, 180°, 270° or arbitrary angle
  • crop_video — Crop a region
  • generate_thumbnail — Extract frame as image
  • add_thumbnail — Embed poster image in MP4

Audio Processing (7 tools)

  • adjust_volume — Volume control (factor, dB, percentage)
  • normalize_audio — EBU R128 loudness normalization
  • mix_audio — Overlay/replace audio tracks
  • remove_audio — Strip all audio
  • add_fade_audio — Fade in/out effects
  • generate_waveform — Audio waveform visualization
  • generate_spectrogram — Spectrogram image generation

Visual Effects & Filters (7 tools)

  • add_text_overlay — Text/watermark with position, timing, styling
  • add_image_overlay — Logo/watermark image overlay
  • apply_video_filter — Any FFmpeg filter (blur, sharpen, eq, hue, etc.)
  • add_fade — Video fade in/out
  • picture_in_picture — PiP effect with two videos
  • side_by_side — Horizontal/vertical split view
  • create_slideshow — Image slideshow with transitions (fade, wipe, slide)

Subtitles (3 tools)

  • extract_subtitles — Extract subtitle tracks (SRT, ASS, VTT)
  • burn_subtitles — Hardcode subtitles into video
  • add_subtitle_track — Add soft subtitles with language tags

Streaming (4 tools)

  • create_hls_stream — Generate HLS segments + playlist
  • create_dash_stream — Generate DASH manifest + segments
  • create_adaptive_hls — Multi-bitrate adaptive streaming (1080p/720p/480p/360p)
  • stream_to_rtmp — Stream to YouTube Live, Twitch, etc.

Advanced Processing (14 tools)

  • two_pass_encode — Optimal bitrate distribution
  • stabilize_video — Shake reduction (vidstab)
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "ffmpeg-mcp": { "command": "python", "args": ["C:/path/to/ffmpeg-mcp/server.py"] } } }