diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2012-10-30 17:41:38 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2012-10-30 17:41:38 +0100 |
commit | b7a34316d20d6eee3d44a7c3294cf01592e07388 (patch) | |
tree | 534d80128e6acb5a1285fe58a33a1a912e5801f9 | |
parent | 74e453bdea29f29b0de2a87b6766b465c02cb8c6 (diff) |
-x for --extract-audio, one of the most popular options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | youtube-dl.1 | 2 | ||||
-rw-r--r-- | youtube_dl/__init__.py | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -92,7 +92,7 @@ which means you can modify it, redistribute it or use it however you like. -n, --netrc use .netrc authentication data ## Post-processing Options: - --extract-audio convert video files to audio-only files (requires + -x, --extract-audio convert video files to audio-only files (requires ffmpeg or avconv and ffprobe or avprobe) --audio-format FORMAT "best", "aac", "vorbis", "mp3", "m4a", or "wav"; best by default diff --git a/youtube-dl.1 b/youtube-dl.1 index 92f9e91db..d4883ad2f 100644 --- a/youtube-dl.1 +++ b/youtube-dl.1 @@ -120,7 +120,7 @@ redistribute it or use it however you like. .IP .nf \f[C] ---extract-audio\ \ \ \ \ \ \ \ \ \ convert\ video\ files\ to\ audio-only\ files\ (requires +-x,\ --extract-audio\ \ \ \ \ \ convert\ video\ files\ to\ audio-only\ files\ (requires \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ffmpeg\ or\ avconv\ and\ ffprobe\ or\ avprobe) --audio-format\ FORMAT\ \ \ \ "best",\ "aac",\ "vorbis",\ "mp3",\ "m4a",\ or\ "wav"; \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ best\ by\ default diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py index 5f90e2bff..3aa7bde12 100644 --- a/youtube_dl/__init__.py +++ b/youtube_dl/__init__.py @@ -298,7 +298,7 @@ def parseOpts(): help='write video metadata to a .info.json file', default=False) - postproc.add_option('--extract-audio', action='store_true', dest='extractaudio', default=False, + postproc.add_option('-x', '--extract-audio', action='store_true', dest='extractaudio', default=False, help='convert video files to audio-only files (requires ffmpeg or avconv and ffprobe or avprobe)') postproc.add_option('--audio-format', metavar='FORMAT', dest='audioformat', default='best', help='"best", "aac", "vorbis", "mp3", "m4a", or "wav"; best by default') |