Download VODs of stuff with playlist files and base URLs.
download.rb
- Download .ts files
Expects a directory structure:
/download.rb /directoryA /playlistA1.m3u8 /playlistA2.m3u8 /directoryB /playlistB1.m3u8
Files will be downloaded into new folders defined by the name of the playlist file:
/download.rb /directoryA /playlistA1 /00000.ts /00001.ts /00002.ts /00003.ts /00004.ts /00005.ts /playlistA1.m3u8
process.rb
- Processes .ts files
Expects a similar directory structure for the download step. Requires ffmpeg
to be available.
cat
all .ts files into a master.ts file named appropriately by the directoryffmpeg
convert the master .ts file into its corresponding .mp4 file