aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/postprocessor/ffmpeg.py
Commit message (Collapse)AuthorAgeFilesLines
...
* [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
|
* Don't create console for subprocesses on Windows (#1261)pukkandan2021-10-201-8/+6
| | | Closes #1251
* [EmbedMetadata] Allow overwriting all default metadatapukkandan2021-10-181-11/+10
| | | | with `meta_default` key
* [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
* [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-301-15/+14
|
* [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
* Separate the options `--ignore-errors` and `--no-abort-on-error`pukkandan2021-09-241-2/+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
* bugfix for a21e0ab1a1a03f82517cd8cec4b9a2b4d6b81ac3pukkandan2021-09-231-1/+3
| | | | Closes #1061
* [ffmpeg] Add `aac_adtstoasc` when merging if neededpukkandan2021-09-221-1/+3
| | | | Related: #1039
* [ModifyChapters] fixes (See desc)pukkandan2021-09-041-0/+22
| | | | | | | | * [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-021-49/+125
| | | | | | | | | | | | | | | | | 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-271-9/+4
| | | | | | | | | | 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
* Fix bug during subtitle conversionpukkandan2021-08-151-1/+1
|
* minor bugfixespukkandan2021-08-111-1/+1
| | | | bugs due to be2fc5b212338d89d9c139cb463f785e797d1ad3, e9f4ccd19eb92621970b518fb5984b8aef52bdc8
* [ffmpeg] Fix `--ffmpeg-location` when directory is givenpukkandan2021-08-101-2/+5
| | | | | Bug introduced in 89efdc15dd4dbdb4b51e82647637f33112156f61 Closes #654
* [ffpmeg] Allow `--ffmpeg-location` to be a file with different namepukkandan2021-08-051-9/+4
|
* [embedthumbnail] Fix `_get_thumbnail_resolution`pukkandan2021-07-111-6/+6
|
* [FFmpegMetadata] Add language of each streampukkandan2021-07-111-28/+40
| | | | and some refactoring
* [utils] Add `variadic`pukkandan2021-07-111-8/+3
|
* [thumbnailsconvertor] Treat `jpeg` as `jpg`pukkandan2021-06-251-0/+2
|
* [websockets] Add `WebSocketFragmentFD` (#399)pukkandan2021-06-211-0/+29
| | | | | | Necessary for #392 Co-authored by: nao20010128nao, pukkandan
* Skip fixup of existing files and add `--fixup force` to force itpukkandan2021-06-201-1/+1
|
* [cleanup] Refactor fixuppukkandan2021-06-201-35/+19
|
* Allow `images` formatspukkandan2021-06-131-0/+9
| | | | | | | | | | 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
* [utils] Generalize `traverse_dict` to `traverse_obj`pukkandan2021-06-081-2/+2
|
* [embedthumbnail] Correctly escape filenamepukkandan2021-05-291-12/+5
| | | | | | Closes #352 The approach in [1] is faulty as can be seen in the test cases 1. https://github.com/ytdl-org/youtube-dl/commit/bff857a8af696e701482208617bf0b7564951326
* [cleanup] Refactor ffmpeg convertorspukkandan2021-05-221-23/+26
|
* [videoconvertor] Generalize with remuxer and allow conditional recodingpukkandan2021-05-221-39/+32
|
* [ThumbnailsConvertor] Support conversion to `png` and make it the default (#333)louie-github2021-05-211-10/+16
| | | | | | PNG, being a lossless format, should be a better default here compared to JPG since we won't be compressing to a lossy format and losing some of the original image data PNG is also supported for embedding in all the formats similar to JPEG Authored by: louie-github
* Add field `name` for subtitlespukkandan2021-05-151-3/+6
| | | | | | Co-authored by: pukkandan, tpikonen Based on: #310, https://github.com/ytdl-org/youtube-dl/pull/26112
* Add compat-option `no-attach-infojson`pukkandan2021-05-111-1/+2
|
* Add option `--convert-thumbnails`pukkandan2021-04-121-0/+70
| | | | Closes: https://github.com/yt-dlp/yt-dlp/issues/99 https://github.com/yt-dlp/yt-dlp/issues/102
* Ability to set a specific field in the file's metadatapukkandan2021-04-031-3/+9
| | | | | Eg: `--parse-metadata "description:(?s)(?P<meta_comment>.+)"` sets the "comment" field using `description`
* More consistent warning messages (#173)pukkandan2021-03-201-4/+4
| | | | Co-authored by: Damiano Amatruda <damiano.amatruda@outlook.com>
* Embed video URL metadata inside MP4 (#173)pukkandan2021-03-201-2/+2
| | | | | | | | | `mp4` has `comment` and `synopsis`; the synopsis is expected to have the long description So we save the `webpage_url` to `comment` and `description` to `synopsis` Related: https://github.com/ytdl-org/youtube-dl/issues/28478 Co-authored by: Damiano Amatruda <damiano.amatruda@outlook.com>
* [splitchapters] Fix for older ffmpegpukkandan2021-03-201-1/+1
| | | | | Older versions of ffmpeg doesn't allow `-to` as an input option Closes #180
* fix some typos and linterpukkandan2021-03-181-2/+0
|
* [movefiles] Fix bugs and make more robustpukkandan2021-03-181-6/+11
|
* Split video by chapters (#158)pukkandan2021-03-151-0/+38
| | | | | | | | | | | | | | | | | | | | * 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
* Refactor (See desc)pukkandan2021-03-141-8/+19
| | | | | | * 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/+760
* 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