This is a simple bash script for fetching and joining ts movie segments based on m3u8
index file.
- Clone this repository or download
fetch_ts_movies
file. - Put
fetch_ts_movies
into one of paths listed int$PATH
variable
e.g.
wget https://github.com/wrutek/fetch_ts/blob/master/fetch_ts_movies
cp fetch_ts_movies ~/.local/bin/
fetch_ts_movies https://remote.host.with.index.file/index.m3u8 my.awesome.movie.mp4
If you will not provide second argument (the name of output file) this script will name this file by itself in a format ${date_in_unix_format}.stream.mp4
If you have any issues feel free to create one or just fix it :).