aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/postprocessor/common.py
AgeCommit message (Collapse)Author
2025-02-20[core] Support emitting ConEmu progress codes (#10649)Simon Sawicki
Authored by: Grub4K
2024-11-17[cleanup] Deprecate more compat functions (#11439)sepro
Authored by: seproDev
2024-06-12[cleanup] Add more ruff rules (#10149)sepro
Authored by: seproDev Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com> Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
2023-07-15[compat, networking] Deprecate old functions (#2861)coletdjnz
Authored by: coletdjnz, pukkandan
2023-06-17[postprocessor] Print newline for `--progress-template`pukkandan
Closes #7193
2022-10-18[SponsorBlock] Obey `--retry-sleep extractor`pukkandan
2022-08-30[utils] Add `deprecation_warning`pukkandan
See https://github.com/yt-dlp/yt-dlp/pull/2173#issuecomment-1097021515
2022-08-02Standardize retry mechanism (#1649)pukkandan
* [utils] Create `RetryManager` * Migrate all retries to use the manager * [extractor] Add wrapper methods for convenience * Standardize console messages for retries * Add `--retry-sleep` for extractors
2022-06-11[cleanup] Misc fixespukkandan
Closes #4027
2022-06-06[ExtractAudio, cleanup] Refactorpukkandan
2022-05-27[cleanup] Misc fixes and cleanuppukkandan
Closes #3780, Closes #3853, Closes #3850
2022-05-09[cleanup] Minor fixes (See desc)pukkandan
* [youtube] Fix `--youtube-skip-dash-manifest` * [build] Use `$()` in `Makefile`. Closes #3684 * Fix bug in 385ffb467b2285e85a2a5495b90314ba1f8e0700 * Fix bug in 43d7f5a5d0c77556156a3f8caa6976d3908a1e38 * [cleanup] Remove unnecessary `utf-8` from `str.encode`/`bytes.decode` * [utils] LazyList: Expose unnecessarily "protected" attributes and other minor cleanup
2022-05-01[EmbedThumbnail] Do not obey `-k`pukkandan
2022-04-18[cleanup] Misc cleanup and refactor (#2173)pukkandan
2022-04-18[docs] Improve embedding docs and other minor fixespukkandan
2022-04-12[cleanup] Sort importspukkandan
Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
2022-04-12[cleanup] Upgrade syntaxpukkandan
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
2022-03-25[postprocessor,cleanup] Create `_download_json`pukkandan
2022-02-18[FFmpegConcat] Abort on `--simulate`pukkandan
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