diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2015-01-10 05:45:51 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2015-01-10 05:45:51 +0100 |
commit | 6271f1cad9331cbdb274906d8330736fb888bda2 (patch) | |
tree | 839365b1b4c6f04535098ba1aff55366914e11b3 /youtube_dl/options.py | |
parent | fb4b030aafee72801b47d4715391bd5822f80e13 (diff) |
[youtube|ffmpeg] Automatically correct video with non-square pixels (Fixes #4674)
Diffstat (limited to 'youtube_dl/options.py')
-rw-r--r-- | youtube_dl/options.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/youtube_dl/options.py b/youtube_dl/options.py index 14006178d..e5602bb3a 100644 --- a/youtube_dl/options.py +++ b/youtube_dl/options.py @@ -632,6 +632,13 @@ def parseOpts(overrideArguments=None): action='store_true', dest='xattrs', default=False, help='write metadata to the video file\'s xattrs (using dublin core and xdg standards)') postproc.add_option( + '--fixup', + metavar='POLICY', dest='fixup', default='detect_or_warn', + help='(experimental) Automatically correct known faults of the file. ' + 'One of never (do nothing), warn (only emit a warning), ' + 'detect_or_warn(check whether we can do anything about it, warn ' + 'otherwise') + postproc.add_option( '--prefer-avconv', action='store_false', dest='prefer_ffmpeg', help='Prefer avconv over ffmpeg for running the postprocessors (default)') |