Important
Currently TSFusion works with URLs that have seg-{number} in them
❓ What is this? TSFusion is a lightweight and efficient tool designed to simplify the process of downloading and merging .ts (MPEG Transport Stream) video segments into a single .mp4 file. Whether you're working with HLS streams or segmented video sources, TSFusion automates the entire workflow — from fetching .ts files to generating a smooth, playable .mp4.
❓ How to use it?
❓ What did I use?
- Install ffmpeg:
- Windows:
winget install --id=Gyan.FFmpeg -e - Linux:
sudo apt install ffmpeg - MacOS:
brew install ffmpeg
- Windows:
- Install Python
- Clone this repository and enter its directory:
git clone https://github.com/jbakalarski/TSFusion.git
- Install requirements.txt:
python -m pip install -r requirements.txt
- Run main.py:
python main.py
- Paste your URL
- Type in the name of directory
- Press Enter
- It works!
- Go to releases
- Download latest version
- Install ffmpeg from cmd:
winget install --id=Gyan.FFmpeg -e - Run TSFusion.exe
- Paste your URL
- Type in the name of directory
- Press Enter
- It works!
- 📥 Download .ts video segments from a given playlist or URL
- 🔗 Automatically merge segments into a single .mp4 file
- ⚡ Fast, clean, and easy-to-use
- 💡 Ideal for video stream archiving or offline playback