https://github.com/genietim/sequence-downloader
Use this command line utility to download a sequence of files and append each one onto the other.
https://github.com/genietim/sequence-downloader
bash downloader sequence
Last synced: 2 months ago
JSON representation
Use this command line utility to download a sequence of files and append each one onto the other.
- Host: GitHub
- URL: https://github.com/genietim/sequence-downloader
- Owner: GenieTim
- License: gpl-3.0
- Created: 2018-08-31T13:11:04.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-17T09:12:25.000Z (over 7 years ago)
- Last Synced: 2025-10-29T06:52:38.448Z (8 months ago)
- Topics: bash, downloader, sequence
- Language: Shell
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sequence-downloader
Use this command line utility to download a sequence of files and append one onto the other.
## About
This tool was started as a way to download `.ts`-files and appending them in the right order to get the `mp4`-file.
At the moment, it does only create the combined `.ts` file. To get an mp4, you can use e.g. [ffmpeg](https://www.ffmpeg.org)
(`ffmpeg -i 1-all.ts -acodec copy -vcodec copy all.mp4`) or [VideoLAN VLC](http://www.videolan.org).
## Usage
Run the `./ts-downloader.sh` with the download-URL as an argument, e.g. `./ts-downloader.sh url $YOUR_URL`.
Replace the number-sequence from which to generate all URLs with a `#`-sign.
Available options:
- n: no concatenation of the downloaded files
- d: delete the partials downloaded
- h: get help / a list of options
- v: get the version of this script
## Contributions
Contributions are very welcome, in any form, don't hesitate!
[dispatch.sh](https://github.com/Mosai/workshop/blob/master/doc/dispatch.md) is used to handle arguments & options.
### ToDo
[ ] handle # in URL : replace with other char? Add option?
[ ] require ffmpeg to auto-convert