aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/postprocessor/common.py
Commit message (Collapse)AuthorAgeFilesLines
* [dash,youtube] Download live from start to end (#888)The Hatsune Daishi2021-12-201-2/+1
| | | | | | | | | | | | | | | * 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
* [cleanup] Add deprecation warningspukkandan2021-11-291-0/+6
|
* [downloader] Fix slow progress hookspukkandan2021-10-161-6/+7
| | | | Closes #1301
* [downloader/ffmpeg] Fix bug in initializing `FFmpegPostProcessor`pukkandan2021-10-101-3/+1
| | | | | | | When `FFmpegFD` initializes the PP, it passes `self` as the `downloader` But it does not have a `_postprocessor_hooks` attribute Closes #1211
* Improved progress reporting (See desc) (#1125)pukkandan2021-10-091-2/+61
| | | | | | | | | | | * Separate `--console-title` and `--no-progress` * Add option `--progress` to show progress-bar even in quiet mode * Fix and refactor `minicurses` * Use `minicurses` for all progress reporting * Standardize use of terminal sequences and enable color support for windows 10 * Add option `--progress-template` to customize progress-bar and console-title * Add postprocessor hooks and progress reporting Closes: #906, #901, #1085, #1170
* Separate the options `--ignore-errors` and `--no-abort-on-error`pukkandan2021-09-241-0/+1
| | | | | | | | | | | | | | In youtube-dl, `-i` ignores both download and post-processing error, and treats the download as successful even if the post-processor fails. yt-dlp used to skip the entire video on either error and there was no option to ignore the post-processing errors like youtube-dl does. By splitting the option into two, now either just the download errors (--no-abort-on-error, default on CLI) or all errors (--ignore-errors) can be ignored as per the users' needs Closes #893
* [downloader/ffmpeg] Allow passing custom arguments before -ipukkandan2021-08-241-13/+4
| | | | Closes #686
* [postprocessor] Fix `_restrict_to` when a codec is not setpukkandan2021-06-141-2/+2
|
* Fix bug in 8326b00aabc332cad3edec246fe5353bea069cb0pukkandan2021-06-131-1/+1
|
* Allow `images` formatspukkandan2021-06-131-0/+20
| | | | | | | | | | Necessary for #343. * They are identified by `vcodec=acodec='none'` * These formats show as the worst in `-F` * Any postprocessor that expects audio/video will be skipped * `b*` and all related selectors will skip such formats * This commit also does not add any selector for downloading such formats. They have to be explicitly requested by the `format_id`. Implementation of a selector is left for when #389 is resolved
* [embedthumbnail] Embed if any thumbnail was downloaded, not just the bestpukkandan2021-05-291-1/+1
|
* Standardize `write_debug`pukkandan2021-05-141-4/+3
|
* Refactor (See desc)pukkandan2021-03-141-2/+10
| | | | | | * Create `FFmpegPostProcessor.real_run_ffmpeg` that can accept multiple input/output files along with switches for each * Rewrite `cli_configuration_args` and related functions * Create `YoutubeDL._ensure_dir_exists` - this was previously defined in multiple places
* Completely change project name to yt-dlp (#85)Pccode662021-02-251-0/+101
* 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