Skip to content
This repository was archived by the owner on Apr 12, 2026. It is now read-only.

Latest commit

 

History

History
29 lines (21 loc) · 953 Bytes

File metadata and controls

29 lines (21 loc) · 953 Bytes

ffmpegserver

This is a simple Flask-based FFmpeg server that accepts video uploads, uses hardware encoders when available, and returns the processed file.

Features:

  • Upload a video file and choose encoding settings
  • Supports hardware encoders (NVENC, QSV, AMF, VAAPI) if detected
  • Advanced extra args field for passing ffmpeg flags
  • Progress updates via polling
  • Temporary files auto-cleaned after configurable lifetime

Requirements:

  • Python 3.8+
  • Flask
  • FFmpeg and FFprobe installed and accessible in PATH

Install and run:

pip install -r requirements.txt
python app.py

Open http://localhost:5000 in your browser.

Security note:

  • This server allows advanced ffmpeg args; it sanitizes some characters but it's not hardened for public internet exposure. Run behind authentication if exposing to untrusted users.