# Video Use — Edit Videos with AI Coding Agents > An open-source tool by Browser Use that lets AI coding agents edit videos through natural language commands, handling cuts, transitions, subtitles, and effects programmatically. ## Install Save in your project root: # Video Use — Edit Videos with AI Coding Agents ## Quick Use ```bash pip install video-use video-use edit --input raw.mp4 --instruction "trim first 5 seconds, add fade-in, insert subtitle at 0:10" ``` ## Introduction Video Use brings video editing capabilities to AI coding agents. Part of the Browser Use ecosystem, it translates natural language instructions into FFmpeg and editing operations, enabling agents to produce polished video content without manual editor interaction. ## What Video Use Does - Translates natural language editing instructions into video operations - Handles trimming, cutting, merging, and concatenating video clips - Adds transitions, text overlays, and subtitle tracks - Applies audio adjustments including volume normalization and mixing - Exports to common formats with configurable quality settings ## Architecture Overview Video Use wraps FFmpeg and other media processing tools behind an LLM-friendly interface. The agent sends editing instructions as structured commands. A planning layer decomposes complex edits into a sequence of atomic FFmpeg operations, executes them in order, and validates the output. The tool manages temporary files and encoding pipelines automatically. ## Self-Hosting & Configuration - Install via pip with FFmpeg as the only system dependency - Configure output format, resolution, and codec preferences - Set working directory for temporary file storage - Integrate as a tool in agent frameworks via function calling - Use Docker for reproducible FFmpeg version pinning ## Key Features - Natural language to video edit pipeline - Supports cuts, transitions, overlays, subtitles, and audio mixing - FFmpeg-based backend for broad format compatibility - Automatic temporary file management and cleanup - Composable with other Browser Use tools for multimedia workflows ## Comparison with Similar Tools - **MoviePy** — Python video library; Video Use adds LLM-driven natural language control - **FFmpeg CLI** — powerful but complex; Video Use abstracts the command syntax - **Revideo** — code-driven editor; Video Use targets agent-driven workflows - **Descript** — proprietary SaaS; Video Use is open-source and self-hostable ## FAQ **Q: Do I need FFmpeg installed?** A: Yes. FFmpeg is the core dependency for all video processing operations. **Q: Can agents chain multiple edits?** A: Yes. The planning layer decomposes complex instructions into sequential operations automatically. **Q: What video formats are supported?** A: Any format supported by FFmpeg, including MP4, WebM, MOV, MKV, and more. **Q: Can it add AI-generated subtitles?** A: It handles subtitle rendering. For transcription, pair it with a speech-to-text tool like Whisper. ## Sources - https://github.com/browser-use/video-use --- Source: https://tokrepo.com/en/workflows/asset-06cc71c1 Author: AI Open Source