A powerful AI-powered video editing application built with Next.js that helps you remove silence, transcribe speech, and filter duplicate segments using AI. This project is designed to run locally while providing a modern, user-friendly interface and controls throughout the video editing tasks.
- Silence Removal: Automatically detect and remove silent segments from your videos
- Speech Transcription: Transcribe video content using Groq's Distil-Whisper model (reportedly 250x faster and 15x cheaper than OpenAI's Whisper)
- AI-Powered Duplicate Detection: Identify and remove duplicate segments using AI
- Modern UI: Built with Next.js and featuring a neo-brutalist design
- Local Processing: All processing happens locally on your machine
- Export Options: Export to various formats including Premiere Pro XML
- Node.js 18+ and Yarn
- FFMPEG installed on your system
- API keys for:
- OpenRouter API (Get Key Here) - For LLM features
- Groq API (for transcription) (Get Groq API Key Here)
- Download FFMPEG from ffmpeg.org
- Extract the files to a location on your computer
- Add the FFMPEG bin directory to your system's PATH environment variable
brew install ffmpegsudo apt update
sudo apt install ffmpeg- Clone the repository:
git clone https://github.com/yourusername/video-editor-nextjs.git
cd video-editor-nextjs- Install dependencies:
yarn install- Create a
.env.localfile in the root directory with your API keys:
OPENROUTER_API_KEY=your_openrouter_api_key
GROQ_API_KEY=your_groq_api_key
- Start the development server:
yarn devThe application follows a step-by-step workflow, offering controls at each stage:
- Upload: Select your video file to begin
- Silence Removal: Configure and apply silence detection
- Transcription: Generate transcriptions for your video segments
- AI Filtering: Remove duplicate segments using AI
- Start with shorter videos (1-2 minutes) for testing
- Ensure good audio quality in your source video
- Adjust silence detection thresholds based on your video's characteristics
- Review and edit transcriptions before finalizing
video-editor-nextjs/
├── app/ # Next.js app directory
│ ├── api/ # API routes
│ ├── components/ # React components
│ ├── services/ # Core services
│ └── styles/ # Styling
├── components/ # Shared components
├── lib/ # Utility functions
└── public/ # Static assets
yarn dev- Start development server with Turbopackyarn build- Build for productionyarn start- Start production serveryarn lint- Run linting
This is an open-source project. Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Project inspired by YouTube Tutorial
- Evolved from Follow-up Video
- Built with Cursor AI assistance
Join the AI Forge community for detailed tutorials and updates: The AI Forge