aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/postprocessor/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Improve plugin architecture (#5553)Matthew2023-01-011-2/+3
| | | | | | | | | | | | | | | | | to make plugins easier to develop and use: * Plugins are now loaded as namespace packages. * Plugins can be loaded in any distribution of yt-dlp (binary, pip, source, etc.). * Plugin packages can be installed and managed via pip, or dropped into any of the documented locations. * Users do not need to edit any code files to install plugins. * Backwards-compatible with previous plugin architecture. As a side-effect, yt-dlp will now search in a few more locations for config files. Closes https://github.com/yt-dlp/yt-dlp/issues/1389 Authored by: flashdagger, coletdjnz, pukkandan, Grub4K Co-authored-by: Marcel <flashdagger@googlemail.com> Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com> Co-authored-by: Simon Sawicki <accounts@grub4k.xyz>
* [cleanup] Sort importspukkandan2022-04-121-8/+7
| | | | | | Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
* [cleanup] Minor fixespukkandan2022-01-211-0/+1
| | | | Closes #2334
* Add option `--concat-playlist`pukkandan2022-01-131-0/+1
| | | | Closes #1855, related: #382
* [dash,youtube] Download live from start to end (#888)The Hatsune Daishi2021-12-201-0/+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] minor fixespukkandan2021-11-101-2/+3
|
* [postprocessor] Add plugin supportpukkandan2021-09-301-33/+11
| | | | Adds option `--use-postprocessor` to enable them
* Native SponsorBlock implementation and related improvements (#360)Nil Admirari2021-09-021-0/+4
| | | | | | | | | | | | | | | | | SponsorBlock options: * The fetched sponsor sections are written to infojson * `--sponsorblock-remove` removes specified chapters from file * `--sponsorblock-mark` marks the specified sponsor sections as chapters * `--sponsorblock-chapter-title` to specify sponsor chapter template * `--sponsorblock-api` to use a different API Related improvements: * Split `--embed-chapters` from `--embed-metadata` * Add `--remove-chapters` to remove arbitrary chapters * Add `--force-keyframes-at-cuts` for more accurate cuts when removing and splitting chapters Deprecates all `--sponskrub` options Authored by: nihil-admirari, pukkandan
* Misc fixes - See descpukkandan2021-08-101-1/+2
| | | | | | | * Remove unnecessary uses of _list_from_options_callback * Fix download tests - Bug from 6e84b21559f586ee4d6affb61688d5c6a0c21221 * Rename ExecAfterDownloadPP to ExecPP and refactor its tests * Ensure _write_ytdl_file closes file handle on error - Potential fix for #517
* Add option `--replace-in-metadata`pukkandan2021-08-101-2/+6
|
* [websockets] Add `WebSocketFragmentFD` (#399)pukkandan2021-06-211-0/+4
| | | | | | Necessary for #392 Co-authored by: nao20010128nao, pukkandan
* [documentation] Improvementspukkandan2021-04-121-3/+3
|
* Add option `--convert-thumbnails`pukkandan2021-04-121-0/+2
| | | | Closes: https://github.com/yt-dlp/yt-dlp/issues/99 https://github.com/yt-dlp/yt-dlp/issues/102
* Split video by chapters (#158)pukkandan2021-03-151-0/+2
| | | | | | | | | | | | | | | | | | | | * New options `--split-chapters` and `--no-split-chapters` * The output/path of the split files can be given using the key `chapter` * Additional keys `section_title`, `section_number`, `section_start`, `section_end` are available in the output template * Alias `--split-tracks` for parity with animelover/youtube-dl * `--sponskrub-cut` and `--split-chapter` cannot work together Closes: https://github.com/blackjack4494/yt-dlc/issues/277 https://github.com/ytdl-org/youtube-dl/issues/28438 https://github.com/ytdl-org/youtube-dl/issues/12907 https://github.com/ytdl-org/youtube-dl/issues/6480 https://github.com/ytdl-org/youtube-dl/pull/25005 Rewritten from the implementation by: femaref and Wattux https://github.com/Wattux/youtube-dl/tree/split-at-timestamps https://github.com/ytdl-org/youtube-dl/pull/25005 https://github.com/femaref/youtube-dl/tree/split-track
* Completely change project name to yt-dlp (#85)Pccode662021-02-251-0/+48
* 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