Add ffmpeg progress tracking to FFmpegPostProcessor
Apply changes from the code review
Fix a bug where the subprocess didn't capture any output thus an empty stdout and stderr were sent back
Add missing hooks
Revert "Add missing hooks"
This reverts commit a359c5ea10bb35b965e80801e736f43cdbcf3294.
Add support of -ss=132 timestamp format
Infer filename from ffmpeg args instead of info_dic
Remove redundant parenthesis and switch from to_stodout to to_screen
Add info kwarg with multiple files and ffmpeg to track progress
Moved format progress function to util
Moved format progress function to util
Add progress tracking to postprocessing operations
Fix typing error
Handle self._downloader is None at __init__
Move format progress functions to utils
Move format progress functions to utils
Handle case where ydl passed is None
Handle case where ydl passed is None
Handle case where _multiline isn't initialized
Handle case where _multiline isn't initialized
Fix streams incorrectly returned
Fix case where ydl is nested in the downloader
Add progress_hook attribute
Fix bug after merge
Fix import bugs after merge
Catch up with upstream
Fix merge errors #1
Adapt tests and implementatation for ffmpeg progress tracking args
- Remove `Cookie` header from `http_headers` immediately after loading into cookiejar
- Restore compat for `--load-info-json` cookies
- Add more tests
- Fix improper passing of Cookie header by `MailRu` extractor
Closes#7558
Authored by: bashonly, pukkandan
[YouTube] [core] Improve platform debug log, based on yt-dlp
d1c6c5c4d6
Except:
* 6ed34338285f722d0da312ce0af3a15a077a3e2a [jsinterp] Add short-cut evaluation for common expression
* There was no performance improvement when tested with https://github.com/ytdl-org/youtube-dl/issues/30641
* e8de54bce50f6f77a4d7e8e80675f7003d5bf630 [core] Handle `/../` sequences in HTTP URLs
* We plan to implement this differently
* [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
It is arguable how this "should" behave, but since progress is always
written to stdout in older yt-dl/p, we should keep it as-is
Bug in cf4f42cb97Closes#3844
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
* 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