🎥 Free online video processing tool supporting video compression, speed adjustment, format conversion, and more. Process videos locally to protect privacy - no server upload needed. Use natural language AI chat to easily process videos without learning complex commands.
AI-FFmpeg is a web application based on FFmpeg.wasm that uses natural language processing to generate FFmpeg commands for video processing. It allows users to process videos easily without knowing complex FFmpeg commands.
Try it online: https://ffmpeg-online.top/
- 🎥 Browser-based Processing: Process videos directly in your browser using FFmpeg.wasm
- 🤖 AI Command Generation: Convert natural language to professional FFmpeg commands
- 📁 Multi-format Support: Support for major video formats (MP4, AVI, MOV, MKV, WebM)
- 🔄 Real-time Progress: Visual progress tracking for video processing
- 👀 Preview Function: Instant preview after processing
- 🌐 Cross-platform: Compatible with all modern browsers
- Compress Large Video Files
- Adjust Video Playback Speed
- Convert Between Video Formats
- Cut and Merge Videos
- Extract Audio from Videos
- Adjust Video Resolution and Quality
- Frontend: Next.js 14, React 18
- Styling: Tailwind CSS
- Video Processing: FFmpeg.wasm
- AI Integration: OpenAI API
- Language: TypeScript
- Package Manager: pnpm
-
Clone Repository
git clone https://github.com/woniu9524/ai-ffmpeg.git cd ai-ffmpeg -
Install Dependencies
pnpm install
-
Configure Environment
cp .env.example .env.local
Edit
.env.local:OPENAI_API_KEY=your_llm_key OPENAI_BASE_URL=base_url AI_MODEL=model_name #qwen2.5-coder-3b-instruct is sufficient -
Start Development Server
pnpm dev
- Open the web application
- Upload video by drag-and-drop or clicking
- Describe your desired video processing in natural language
- Review and confirm the generated FFmpeg command
- Start processing and monitor progress
- Preview and download the processed video
- Video Compression: Easily reduce video file size
- Format Conversion: Convert between different video formats
- Video Trimming: Cut video segments
- Resolution Adjustment: Change video size and quality
- Video Merging: Combine multiple video clips
- Audio Extraction: Extract audio tracks from videos
- Thanks to the FFmpeg.wasm team for their excellent work
- Thanks to QWEN for powerful API support
- Thanks to Cursor for the powerful editor