Commit Graph

93 Commits (5f1b2aea8051a34dd543ba0fd17e351a8b7bf858)

Author SHA1 Message Date
Yen Chi Hsuan 5495937f46 [options] Cleanup double spaces in help texts
Sergey M․ cab792abe5 [options] Use compat_shlex_split
Sergey M․ 804c343a4f [options] Clarify extractors supporting videopassword
Sergey M․ 4eb59a6b1c [options] Fix a typo ()
Sergey M․ f72b0a6032 Revert xvid to avi and make docs to be similar to existing external downloader option
Sergey M․ ac9ed061ec Merge branch 'master' of https://github.com/aurium/youtube-dl into aurium-master
Aurélio A. Heckert 1866432db7 Rename --pp-params to --postprocessor-args and access value as super class attribute
Sergey M. c608ee491f Merge pull request from dstftw/union-itags-from-multiple-dashmpd
[youtube] Extract formats from multiple DASH manifests (Closes )
Sergey M․ b2575b38e7 [options] Clarify --youtube-skip-dash-manifest
Sergey M․ 00334d0de0 [options] Add missing whitespace and split lines
Sergey M. 3c3b4176bd Merge pull request from dstftw/force-generic-extractor
Add --force-generic-extractor
Aurélio A. Heckert 14835de9fb Use shlex.split for --pp-params and update related docs.
Sergey M․ 5774ef35c4 [options] Add missing whitespace for --fixup description
Sergey M․ d22dec74ff Add `--force-generic-extractor`
For some extractors that are hard to workout a good _VALID_URL we use very vague and unrestrictive ones,
e.g. just allowing anything after hostname and capturing part of URL as id.
If some of these extractors happen to have an video embed of some different hoster or platform
and this scenario was not handled in extractor itself we end up with inability to download this embed
until extractor is fixed to support embed of this kind.
Forcing downloader to use the generic extractor can be a neat temporary solution for this problem.
Example: FiveTV extractor with Tvigle embed - http://www.5-tv.ru/rabota/broadcasts/48/
Aurélio A. Heckert d84f1d14b5 Adds support for XviD output with extra parametrization
As the "LG Time Machine" (a (not so) smart TV) has a limitation for video dimensions (as for codecs), I take to implement an extra parameter `--pp-params` where we can send extra parameterization for the video converter (post-processor).

Example:
```
$ youtube-dl --recode-video=xvid --pp-params='-s 720x480' -c https://www.youtube.com/watch?v=BE7Qoe2ZiXE
```
That works fine on a 4yo LG Time Machine.

Closes 
Sergey M․ 9836cfb8d6 [options] Clarify `--list-extractors` (Closes )
Jaime Marquínez Ferrándiz 79979c6897 Clarify that --dump-pages encodes the pages using base64 ()
Sergey M․ 663004ac2b [options] Clarify `--metadata-from-title` additional templates
Sergey M․ 0669c89c55 [options] Clarify `--write-annotations` help
Nikoli 083c1bb960 Add ability to embed subtitles in mkv files (closes )
Jaime Marquínez Ferrándiz 9f3fa89f7c Remove the --max-quality option
It doesn't work well with 'bestvideo' and 'bestaudio' because they are usually before the max quality.
Format filters should be used instead, they are more flexible and don't require the requested quality to exist for each video.
Jaime Marquínez Ferrándiz a380509259 Move the documentation for the `--format` option to the manpage
It's too big for beeing embedded in the help message and it's easier to edit in the markdown file.
Sergey M․ b04b94da5f [options] Fix file based configurations for python 2 (Closes )
Sergey M․ 1a48181a9f [options] Fix load info help string
Sergey M․ 6b70a4eb7d [options] `Number` is a verb here
Sergey M․ f01855813b [options] extractor is lowercase
Sergey M․ 4a3cdf81af [options] Restore some strings
Sergey M․ f777397aca Merge branch 'patch-1' of https://github.com/tuexss/youtube-dl into tuexss-patch-1
Sergey M․ ff556f5c09 Do not encode outtmpl twice (Closes )
testbonn 17941321ab Clean up of --help output
For consistency and readability
Philipp Hagemeister f5e2efbbf0 [options] Handle special characters in argv (Fixes )
Jaime Marquínez Ferrándiz 88cf6fb368 [metadatafromtitle] Some improvements and cleanup
* Remove the 'songtitle' field, 'title' can be used instead.
* Remove newlines in the help text, for consistency with other options.
* Add 'from __future__ import unicode_literals'.
* Call '__init__' from the parent class.
* Add test for the format_to_regex method
phiresky e7db87f700 Add metadata from title parser
(Closes )
Philipp Hagemeister 8bba753cca [options] Rename --dump-intermediate-pages to --dump-pages for consistence with --write-pages
Philipp Hagemeister 91410c9bfa [letv] Add --cn-verification-proxy (Closes )
Philipp Hagemeister c75f0b361a [downloader/external] Add support for custom options (Fixes , closes )
Jaime Marquínez Ferrándiz 003c69a84b Use shutil.get_terminal_size for getting the terminal width if it's available (python >= 3.3)
Jaime Marquínez Ferrándiz e9fade72f3 Add postprocessor for converting subtitles (closes )
Philipp Hagemeister df4bd0d53f [options] Add --yes-playlist as inverse of --no-playlist (Fixes )
Jaime Marquínez Ferrándiz bfc993cc91 Merge branch 'subtitles-rework'
(Closes PR )
Philipp Hagemeister 85729c51af [downloader] Add --hls-prefer-native to use the native HLS downloader ()
Jaime Marquínez Ferrándiz a504ced097 Improve subtitles support
For each language the extractor builds a list with the available formats sorted (like for video formats), then YoutubeDL selects one of them using the '--sub-format' option which now allows giving the format preferences (for example 'ass/srt/best').
For each format the 'url' field can be set so that we only download the contents if needed, or if the contents needs to be processed (like in crunchyroll) the 'data' field can be used.

The reasons for this change are:
* We weren't checking that the format given with '--sub-format' was available, checking it in each extractor would be repetitive.
* It allows to easily support giving a format preference.
* The subtitles were automatically downloaded in the extractor, but I think that if you use for example the '--dump-json' option you want to finish as fast as possible.

Currently only the ted extractor has been updated, but the old system still works.
Philipp Hagemeister 73fac4e911 [ffmpeg] Add --ffmpeg-location
Philipp Hagemeister 2f543a2142 [options] Add alias --dump-header for --print-traffic
Philipp Hagemeister 7e5db8c930 [options] Add --no-color
Philipp Hagemeister 347de4931c [YoutubeDL] Add generic video filtering (Fixes )
This functionality is intended to eventually encompass the current format filtering.
Philipp Hagemeister c06a9fa34f Use snake_case instead of camelCase
Sergey M․ 64f9baa084 [options] Mention asr as possible filter
Sergey M․ 6128bf07a9 [options] Update help on string comparisons
Philipp Hagemeister 9fffd0469f [options] Mark --fixup as non-experimental and correct its help