MovieTrim is a lightweight web application for fast, video trimming, audio selection, and subtitle embedding; using FFmpeg and FFprobe. Self-hosted, web-based video processing application built with SvelteKit and Node.js.
- Extract Audio & Subtitle: Automatically parses
.mp4,.mkv,.avi,.mov, and.webmfiles to extract embedded audio and subtitle tracks. - Choose Audio & Subtitle: Pick specific audio streams or subtitle tracks, or upload your own audio and subtitle files from your device.
- Files Cleanup: Automated old file deletion alongside immediate browser tab-closure cleanup endpoints.
On your local machine, ensure you have FFmpeg and Node.js installed.
sudo apt install ffmpeg nodejs npmsudo dnf install ffmpeg nodejs npmsudo pacman -S ffmpeg nodejs npmsudo dnf install ffmpeg nodejs npmsudo zypper install ffmpeg nodejs npmAfter installation finishes, verify both tools are working:
ffmpeg -version
node -v
npm -vdocker run -p 5000:5000 prodsaas/movietrim:latest-
Clone the repository:
git clone https://github.com/prodsaas/movietrim.git cd movietrim -
Choose your method:
-
Method A: Run via npm
npm install npm run dev
-
Method B: Run via Docker
docker build -t movietrim . docker run -p 5000:5000 --name movietrim-app movietrim
-
-
Log in to Docker Hub
docker login
-
Build and tag the image with your Docker Hub username
docker build -t YOUR_DOCKER_HUB_USERNAME/movietrim:latest . -
Push the image to Docker Hub
docker push YOUR_DOCKER_HUB_USERNAME/movietrim:latest