aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/postprocessor/ffmpeg.py
AgeCommit message (Collapse)Author
2021-12-27[ThumbnailsConvertor] Fix for when there are no thumbnailspukkandan
Closes #2125
2021-12-25[ffmpeg] Fix position of `--ppa`pukkandan
Bug in ca5db158aecc36a3db41faa85a26e7d931b5d72b Closes #2112
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-12-20[postprocessor/ffmpeg] Always add `faststart`pukkandan
Closes #1491
2021-12-02[EmbedSubtitle] Disable duration check temporarilypukkandan
Closes #1870, #1385
2021-11-29[cleanup] Add deprecation warningspukkandan
2021-11-27[EmbedSubtitles] Slightly relax duration checkpukkandan
and related cleanup Closes #1385
2021-11-27[FixupM3u8] Fixup MPEG-TS in MP4 containerpukkandan
Closes #1701, https://github.com/ytdl-org/youtube-dl/issues/26410
2021-11-19[ExtractAudio] Support `alac`pukkandan
Closes #1707
2021-11-15Add option `--embed-info-json` to embed info-json in mkvpukkandan
Closes #1644
2021-11-15Add compat-option embed-metadatapukkandan
2021-11-13[ExtractAudio] Fix conversion to `wav`pukkandan
Closes #1645
2021-11-04[ffmpeg] Detect libavformat version for `aac_adtstoasc`pukkandan
and print available features in verbose head Based on https://github.com/ytdl-org/youtube-dl/pull/29581
2021-11-04[ffmpeg] Accurately detect presence of settspukkandan
Closes #1237
2021-11-04[ExtractAudio] Use `libfdk_aac` if availableCrypticSignal
Closes #1502 Authored by: CrypticSignal
2021-11-04[ffmpeg] Framework for feature detectionpukkandan
Related: #1502, #1237, https://github.com/ytdl-org/youtube-dl/pull/29581
2021-11-04[ExtractAudio] Rescale --audio-quality correctlypukkandan
Authored by: CrypticSignal, pukkandan
2021-10-26[downloader/ffmpeg] Fix vtt download with ffmpegpukkandan
2021-10-20Don't create console for subprocesses on Windows (#1261)pukkandan
Closes #1251
2021-10-18[EmbedMetadata] Allow overwriting all default metadatapukkandan
with `meta_default` key
2021-10-11[Merger] Do not add `aac_adtstoasc` to non-hls audiopukkandan
2021-10-10Revert "[ffmpeg] Set max probesize to workaround AAC HLS stream issues (#1109)"pukkandan
This reverts commit 250a938de82fb6b023c09ce3d89471c5871ff830. This is no longer necessary since 7687c8ac6e223a725b3ef8f56f04779bebdc86c5
2021-10-04[EmbedSubtitle, SubtitlesConvertor] Fix error when subtitle file is missingpukkandan
Closes #1152, #1134 Bug from 8e25d624df003d691be922488d6ab7007f75333d
2021-09-30[docs,cleanup] Some minor refactoring and improve docspukkandan
2021-09-30[embedsubtitle] Fix error when duration is unknownpukkandan
2021-09-28[ffmpeg] Set max probesize to workaround AAC HLS stream issues (#1109)shirt
Fixes: #618, #998, #1039 Authored by: shirt-dev
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-09-23bugfix for a21e0ab1a1a03f82517cd8cec4b9a2b4d6b81ac3pukkandan
Closes #1061
2021-09-22[ffmpeg] Add `aac_adtstoasc` when merging if neededpukkandan
Related: #1039
2021-09-04[ModifyChapters] fixes (See desc)pukkandan
* [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
2021-09-02Native SponsorBlock implementation and related improvements (#360)Nil Admirari
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
2021-09-01[EmbedSubtitle] Continue even if some files are missingpukkandan
2021-08-27Use `os.replace` where applicable (#793)Paul Wrubel
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
2021-08-15Fix bug during subtitle conversionpukkandan
2021-08-11minor bugfixespukkandan
bugs due to be2fc5b212338d89d9c139cb463f785e797d1ad3, e9f4ccd19eb92621970b518fb5984b8aef52bdc8
2021-08-10[ffmpeg] Fix `--ffmpeg-location` when directory is givenpukkandan
Bug introduced in 89efdc15dd4dbdb4b51e82647637f33112156f61 Closes #654
2021-08-05[ffpmeg] Allow `--ffmpeg-location` to be a file with different namepukkandan
2021-07-11[embedthumbnail] Fix `_get_thumbnail_resolution`pukkandan
2021-07-11[FFmpegMetadata] Add language of each streampukkandan
and some refactoring
2021-07-11[utils] Add `variadic`pukkandan
2021-06-25[thumbnailsconvertor] Treat `jpeg` as `jpg`pukkandan
2021-06-21[websockets] Add `WebSocketFragmentFD` (#399)pukkandan
Necessary for #392 Co-authored by: nao20010128nao, pukkandan
2021-06-20Skip fixup of existing files and add `--fixup force` to force itpukkandan
2021-06-20[cleanup] Refactor fixuppukkandan
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-06-08[utils] Generalize `traverse_dict` to `traverse_obj`pukkandan
2021-05-29[embedthumbnail] Correctly escape filenamepukkandan
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
2021-05-22[cleanup] Refactor ffmpeg convertorspukkandan
2021-05-22[videoconvertor] Generalize with remuxer and allow conditional recodingpukkandan
2021-05-21[ThumbnailsConvertor] Support conversion to `png` and make it the default (#333)louie-github
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