FFmpeg Service

A Simple Media Processing Microservice

FFmpeg Service is a Flask-based microservice that provides powerful media processing capabilities. The service supports both video and audio file processing, including format conversion, metadata extraction, screenshot generation (for videos), and offers developers an easy-to-use media processing API.

🎬 Video Processing

Supports conversion and processing of multiple video formats, including popular formats such as MP4, AVI, MOV, MKV, and more.

🎵 Audio Processing

Supports audio file processing including format conversion for MP3, WAV, FLAC, AAC, OGG, M4A, and more audio formats.

📸 Screenshot Feature

Automatically extracts video screenshots, supports specifying timestamps or evenly distributed screenshots, making video preview convenient.

📊 Information Analysis

Extracts detailed metadata for both video and audio files, including resolution, frame rate, duration, codec, sample rate, and more.

🔒 Secure Authentication

Supports API Key authentication to ensure service security and reliability, suitable for production environments.

API Endpoints

  • POST /process - Main media processing endpoint (supports both video and audio)
  • POST /info - Get media information (supports both video and audio)
  • GET /download/<filename> - Download processed files
  • GET /health - Health check