aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/postprocessor
Commit message (Collapse)AuthorAgeFilesLines
* [EmbedThumbnail] Prefer AtomicParsley over ffmpeg if availablepukkandan2021-12-271-33/+38
|
* [ThumbnailsConvertor] Fix for when there are no thumbnailspukkandan2021-12-271-3/+3
| | | | Closes #2125
* [ffmpeg] Fix position of `--ppa`pukkandan2021-12-251-2/+2
| | | | | Bug in ca5db158aecc36a3db41faa85a26e7d931b5d72b Closes #2112
* [cleanup] Misc cleanuppukkandan2021-12-231-1/+1
| | | | Closes #1942 #1976 #2020 #2058 #1984
* [dash,youtube] Download live from start to end (#888)The Hatsune Daishi2021-12-203-4/+14
| | | | | | | | | | | | | | | * 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
* [postprocessor/ffmpeg] Always add `faststart`pukkandan2021-12-201-6/+5
| | | | Closes #1491
* [SponsorBlock] Add Filler and Highlight categories (#1664)Nil Admirari2021-12-092-5/+13
| | | Authored by: nihil-admirari, pukkandan
* [EmbedSubtitle] Disable duration check temporarilypukkandan2021-12-021-0/+6
| | | | Closes #1870, #1385
* [cleanup Fix some typospukkandan2021-12-011-8/+5
| | | | | | | * `MetadataFromFieldPP` is not deprecated! * Wrong args to `MetadataFromFieldPP` * Some mistakes in change log * Type in build.yml causing release tag to be placed on wrong commit
* [cleanup] Add deprecation warningspukkandan2021-11-295-6/+37
|
* [cleanup] Misc cleanuppukkandan2021-11-291-2/+2
| | | | Closes #1805, closes #1800
* [EmbedSubtitles] Slightly relax duration checkpukkandan2021-11-272-23/+23
| | | | | and related cleanup Closes #1385
* [FixupM3u8] Fixup MPEG-TS in MP4 containerpukkandan2021-11-271-2/+13
| | | | Closes #1701, https://github.com/ytdl-org/youtube-dl/issues/26410
* [ExtractAudio] Support `alac`pukkandan2021-11-191-16/+28
| | | | Closes #1707
* Add option `--embed-info-json` to embed info-json in mkvpukkandan2021-11-151-12/+35
| | | | Closes #1644
* Add compat-option embed-metadatapukkandan2021-11-151-0/+3
|
* [ExtractAudio] Fix conversion to `wav`pukkandan2021-11-131-4/+1
| | | | Closes #1645
* [cleanup] minor fixespukkandan2021-11-101-2/+3
|
* [ffmpeg] Detect libavformat version for `aac_adtstoasc`pukkandan2021-11-041-1/+9
| | | | | and print available features in verbose head Based on https://github.com/ytdl-org/youtube-dl/pull/29581
* [ffmpeg] Accurately detect presence of settspukkandan2021-11-041-4/+6
| | | | Closes #1237
* [ExtractAudio] Use `libfdk_aac` if availableCrypticSignal2021-11-041-1/+6
| | | | | Closes #1502 Authored by: CrypticSignal
* [ffmpeg] Framework for feature detectionpukkandan2021-11-041-36/+43
| | | | Related: #1502, #1237, https://github.com/ytdl-org/youtube-dl/pull/29581
* [ExtractAudio] Rescale --audio-quality correctlypukkandan2021-11-041-14/+23
| | | | Authored by: CrypticSignal, pukkandan
* [downloader/ffmpeg] Fix vtt download with ffmpegpukkandan2021-10-261-0/+1
|
* [SponsorBlock] Obey `extractor-retries` and `sleep-requests`pukkandan2021-10-221-10/+23
|
* Don't create console for subprocesses on Windows (#1261)pukkandan2021-10-203-14/+12
| | | Closes #1251
* [ModifyChapters] Do not mutate original chapters (#1322)Nil Admirari2021-10-191-4/+6
| | | | Closes #1295 Authored by: nihil-admirari
* [ModifyChapters] Allow removing sections by timestamppukkandan2021-10-181-2/+11
| | | | | Eg: --remove-chapters "*10:15-15:00". The `*` prefix is used so as to avoid any conflicts with other valid regex
* [EmbedMetadata] Allow overwriting all default metadatapukkandan2021-10-181-11/+10
| | | | with `meta_default` key
* [downloader] Fix slow progress hookspukkandan2021-10-161-6/+7
| | | | Closes #1301
* [Merger] Do not add `aac_adtstoasc` to non-hls audiopukkandan2021-10-111-1/+2
|
* Revert "[ffmpeg] Set max probesize to workaround AAC HLS stream issues (#1109)"pukkandan2021-10-101-1/+1
| | | | | | This reverts commit 250a938de82fb6b023c09ce3d89471c5871ff830. This is no longer necessary since 7687c8ac6e223a725b3ef8f56f04779bebdc86c5
* [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-093-6/+63
| | | | | | | | | | | * 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
* [EmbedSubtitle, SubtitlesConvertor] Fix error when subtitle file is missingpukkandan2021-10-041-1/+4
| | | | | Closes #1152, #1134 Bug from 8e25d624df003d691be922488d6ab7007f75333d
* [docs,cleanup] Some minor refactoring and improve docspukkandan2021-09-302-19/+18
|
* [postprocessor] Add plugin supportpukkandan2021-09-301-33/+11
| | | | Adds option `--use-postprocessor` to enable them
* [embedsubtitle] Fix error when duration is unknownpukkandan2021-09-301-1/+1
|
* [ffmpeg] Set max probesize to workaround AAC HLS stream issues (#1109)shirt2021-09-281-1/+1
| | | | | Fixes: #618, #998, #1039 Authored by: shirt-dev
* [xattr] bugfix for b19404591a8ad4d0c7e962931ea809221e3f0b8epukkandan2021-09-241-0/+1
|
* Separate the options `--ignore-errors` and `--no-abort-on-error`pukkandan2021-09-243-5/+4
| | | | | | | | | | | | | | 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
* bugfix for a21e0ab1a1a03f82517cd8cec4b9a2b4d6b81ac3pukkandan2021-09-231-1/+3
| | | | Closes #1061
* [ffmpeg] Add `aac_adtstoasc` when merging if neededpukkandan2021-09-221-1/+3
| | | | Related: #1039
* [SponsorBlock] Improve merge algorithm (#999)Nil Admirari2021-09-191-36/+39
| | | Authored by: nihil-admirari
* [ModifyChapters] fixes (See desc)pukkandan2021-09-042-13/+27
| | | | | | | | * [docs] Fix typo * Do not enable `sponskrub` by default * Fix `--force-keyframes-at-cuts` * Don't embed subtitles if the video has been cut. Previously, running `--remove-chapters` with `--embed-subs` multiple times caused repeated cuts and out-of-sync subtitles * Store `_real_duration` to prevent running ffprobe multiple times
* Native SponsorBlock implementation and related improvements (#360)Nil Admirari2021-09-025-49/+559
| | | | | | | | | | | | | | | | | 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
* [EmbedSubtitle] Continue even if some files are missingpukkandan2021-09-011-0/+3
|
* Use `os.replace` where applicable (#793)Paul Wrubel2021-08-273-13/+6
| | | | | | | | | | When using ```py os.remove(encodeFilename(filename)) os.rename(encodeFilename(temp_filename), encodeFilename(filename)) ``` the `os.remove` need not be atomic and so can be executed arbitrarily compared to the immediately following rename call. It is better to use `os.replace` instead Authored by: paulwrubel
* [downloader/ffmpeg] Allow passing custom arguments before -ipukkandan2021-08-241-13/+4
| | | | Closes #686
* Fix bug during subtitle conversionpukkandan2021-08-151-1/+1
|