https://github.com/byteshiva/video-concatenation-script
A simple and robust Bash script for concatenating multiple video files using ffmpeg on Linux, with the ability to exclude empty files.
https://github.com/byteshiva/video-concatenation-script
Last synced: 7 months ago
JSON representation
A simple and robust Bash script for concatenating multiple video files using ffmpeg on Linux, with the ability to exclude empty files.
- Host: GitHub
- URL: https://github.com/byteshiva/video-concatenation-script
- Owner: byteshiva
- License: apache-2.0
- Created: 2024-01-29T09:47:56.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-29T11:06:18.000Z (over 2 years ago)
- Last Synced: 2025-10-24T22:33:37.849Z (7 months ago)
- Language: Shell
- Homepage: https://medium.com/@byteshiva/creating-a-robust-video-concatenation-script-with-ffmpeg-on-linux-3ca0bed502e1
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Video Concatenation Script
This repository contains a Bash script for combining multiple video files into a single cohesive unit using `ffmpeg` on Linux. The script is designed to be simple, robust, and capable of handling various video sources.
## Getting Started
Follow these steps to use the video concatenation script:
### 1. Clone the Repository
Clone the repository to your local machine:
```bash
git clone https://github.com/byteshiva/video-concatenation-script.git
cd video-concatenation-script
```
### 2. Enter the Development Environment (Optional)
If you're using Nix, you can enter the development environment to ensure consistent dependencies:
```bash
nix develop
```
### 3. Run the Script
Execute the `combine_videos.sh` script to concatenate your video files. Make sure to customize the script for your specific use case, specifying the correct output file:
```bash
bash ./combine_videos.sh
```
The script will generate a dynamic `filelist.txt`, exclude empty video files, and use `ffmpeg` to combine the videos into a single output file.
## License
This project is licensed under the [Apache-2.0-1](https://github.com/byteshiva/video-concatenation-script/tree/main?tab=Apache-2.0-1-ov-file).