diff options
Diffstat (limited to 'youtube_dlc/options.py')
-rw-r--r-- | youtube_dlc/options.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/youtube_dlc/options.py b/youtube_dlc/options.py index 06273c20a..a7c870171 100644 --- a/youtube_dlc/options.py +++ b/youtube_dlc/options.py @@ -18,14 +18,12 @@ from .utils import ( get_executable_path, OUTTMPL_TYPES, preferredencoding, + REMUX_EXTENSIONS, write_string, ) from .version import __version__ -_remux_formats = ('mp4', 'mkv', 'flv', 'webm', 'mov', 'avi', 'mp3', 'mka', 'm4a', 'ogg', 'opus') - - def _hide_login_info(opts): PRIVATE_OPTS = set(['-p', '--password', '-u', '--username', '--video-password', '--ap-password', '--ap-username']) eqre = re.compile('^(?P<key>' + ('|'.join(re.escape(po) for po in PRIVATE_OPTS)) + ')=.+$') @@ -1042,7 +1040,7 @@ def parseOpts(overrideArguments=None): 'Remux the video into another container if necessary (currently supported: %s). ' 'If target container does not support the video/audio codec, remuxing will fail. ' 'You can specify multiple rules; eg. "aac>m4a/mov>mp4/mkv" will remux aac to m4a, mov to mp4 ' - 'and anything else to mkv.' % '|'.join(_remux_formats))) + 'and anything else to mkv.' % '|'.join(REMUX_EXTENSIONS))) postproc.add_option( '--recode-video', metavar='FORMAT', dest='recodevideo', default=None, |