aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/postprocessor/common.py
AgeCommit message (Collapse)Author
2021-12-20[dash,youtube] Download live from start to end (#888)The Hatsune Daishi
* 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
2021-11-29[cleanup] Add deprecation warningspukkandan
2021-10-16[downloader] Fix slow progress hookspukkandan
Closes #1301
2021-10-10[downloader/ffmpeg] Fix bug in initializing `FFmpegPostProcessor`pukkandan
When `FFmpegFD` initializes the PP, it passes `self` as the `downloader` But it does not have a `_postprocessor_hooks` attribute Closes #1211
2021-10-09Improved progress reporting (See desc) (#1125)pukkandan
* 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
2021-09-24Separate the options `--ignore-errors` and `--no-abort-on-error`pukkandan
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
2021-08-24[downloader/ffmpeg] Allow passing custom arguments before -ipukkandan
Closes #686
2021-06-14[postprocessor] Fix `_restrict_to` when a codec is not setpukkandan
2021-06-13Fix bug in 8326b00aabc332cad3edec246fe5353bea069cb0pukkandan
2021-06-13Allow `images` formatspukkandan
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
2021-05-29[embedthumbnail] Embed if any thumbnail was downloaded, not just the bestpukkandan
2021-05-14Standardize `write_debug`pukkandan
2021-03-14Refactor (See desc)pukkandan
* 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
2021-02-25Completely change project name to yt-dlp (#85)Pccode66
* 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