aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/downloader/dash.py
Commit message (Collapse)AuthorAgeFilesLines
* [downloader/fragment] HLS download can continue without first fragmentpukkandan2022-10-181-1/+1
| | | | Closes #5274
* [dash] Show fragment count with `--live-from-start` (#3493)MMM2022-06-071-0/+1
| | | Authored by: flashdagger
* [cleanup] Miscpukkandan2022-05-211-1/+1
|
* [cleanup] Sort importspukkandan2022-04-121-2/+1
| | | | | | Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
* [cleanup] Upgrade syntaxpukkandan2022-04-121-2/+1
| | | | | | | | | | Using https://github.com/asottile/pyupgrade 1. `__future__` imports and `coding: utf-8` were removed 2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format` 3. f-strings were cherry-picked from `pyupgrade --py36-plus` Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
* [dash] Fix `--test`pukkandan2021-12-231-1/+1
| | | | Bug in adbc4ec4bbfbe57842049cf9194384480f534859
* [dash] Fix aria2c dash downloadspukkandan2021-12-211-1/+1
| | | | Bug in adbc4ec4bbfbe57842049cf9194384480f534859
* [dash,youtube] Download live from start to end (#888)The Hatsune Daishi2021-12-201-25/+43
| | | | | | | | | | | | | | | * Add option `--live-from-start` to enable downloading live videos from start * Add key `is_from_start` in formats to identify formats (of live videos) that downloads from start * [dash] Create protocol `http_dash_segments_generator` that allows a function to be passed instead of fragments * [fragment] Allow multiple live dash formats to download simultaneously * [youtube] Implement fragment re-fetching for the live dash formats * [youtube] Re-extract dash manifest every 5 hours (manifest expires in 6hrs) * [postprocessor/ffmpeg] Add `FFmpegFixupDuplicateMoovPP` to fixup duplicated moov atoms Known issue: Ctrl+C doesn't work on Windows when downloading multiple formats Closes #1521 Authored by: nao20010128nao, pukkandan
* [downloader] Fix slow progress hookspukkandan2021-10-161-3/+2
| | | | Closes #1301
* [cleanup] Fix linter in 96fccc101f8f579ebd67da176e029803d82634c7pukkandan2021-08-011-1/+1
|
* [downloader] Allow streaming unmerged formats to stdout using ffmpegpukkandan2021-08-011-1/+2
| | | | | | | | | For this to work: 1. The downloader must be ffmpeg 2. The selected formats must have the same protocol 3. The formats must be downloadable by ffmpeg to stdout Partial solution for: https://github.com/ytdl-org/youtube-dl/issues/28146, https://github.com/ytdl-org/youtube-dl/issues/27265
* [cleanup] Refactor some codepukkandan2021-08-011-5/+5
|
* [downloader] Pass `info_dict` to `progress_hook`spukkandan2021-07-221-1/+1
|
* [cleanup] Minor refactoring of `fragment`pukkandan2021-06-241-2/+2
|
* [fragment] Return status of download correctlypukkandan2021-06-241-5/+2
|
* [fragment] Merge during download for `-N`, and refactor `hls`/`dash` (#364)pukkandan2021-06-221-128/+2
|
* [hls,dash] When using `concurrent_fragment_downloads`, do not keep the ↵pukkandan2021-05-301-3/+8
| | | | | | | fragment content in memory Partial fix for #359 This is a temporary solution until #364 can be implemented
* [fragment] Make sure first segment is not skippedpukkandan2021-05-091-2/+3
|
* [fragment] Ensure the file is closed on errorpukkandan2021-05-041-0/+3
|
* Py2 compatibility for `FileNotFoundError`pukkandan2021-04-261-1/+5
|
* Option to choose different downloader for different protocolspukkandan2021-04-101-2/+2
| | | | | | | | | * Renamed `--external-downloader-args` to `--downloader-args` * Added `native` as an option for the downloader * Use similar syntax to `--downloader-args` etc. Eg: `--downloader dash:native --downloader aria2c` * Deprecated `--hls-prefer-native` and `--hls-prefer-ffmpeg` since the same can now be done with `--downloader "m3u8:native"` and `m3u8:ffmpeg` respectively * Split `frag_urls` protocol into `m3u8_frag_urls` and `dash_frag_urls` * Standardize shortening of protocol names with `downloader.shorten_protocol_name`
* More consistent warning messages (#173)pukkandan2021-03-201-1/+3
| | | | Co-authored by: Damiano Amatruda <damiano.amatruda@outlook.com>
* Native concurrent downloading of fragments (#166)shirt2021-03-131-41/+111
| | | | | | | | | | | * Option `--concurrent-fragments` (`-N`) to set the number of threads Related: #165 Known issues: * When receiving Ctrl+C, the process will exit only after finishing the currently downloading fragments * The download progress shows the speed of only one thread Authored by shirt-dev
* More improvements to HLS/DASH external downloader codepukkandan2021-03-111-4/+5
| | | | | | | * Fix error when there is no `protocol` in `info_dict` * Move HLS byte range detection to `Aria2cFD` so that the download will fall back to the native downloader instead of ffmpeg * Fix bug with getting no fragments in DASH * Convert `check_results` in `can_download` to a generator
* Improve HLS/DASH external downloader code (#162)shirt-dev2021-03-101-3/+5
| | | Authored by: shirt
* Completely change project name to yt-dlp (#85)Pccode662021-02-251-0/+103
* All modules and binary names are changed * All documentation references changed * yt-dlp no longer loads youtube-dlc config files * All URLs changed to point to organization account Co-authored-by: Pccode66 Co-authored-by: pukkandan