Add ‘--prefer-avconv’ and ‘--prefer-ffmpeg’ options (#2115)

Affects the ffmpeg post processors, if ‘--prefer-ffmpeg’ is given and both avconv and ffmpeg are installed, it will use ffmpeg. Otherwise it will follow the old behaviour.
This commit is contained in:
Jaime Marquínez Ferrándiz 2014-01-08 17:53:34 +01:00
parent 469ec9416a
commit 76b1bd672d
3 changed files with 29 additions and 12 deletions

View file

@ -156,6 +156,10 @@ class YoutubeDL(object):
the FileDownloader:
nopart, updatetime, buffersize, ratelimit, min_filesize, max_filesize, test,
noresizebuffer, retries, continuedl, noprogress, consoletitle
The following options are used by the post processors:
prefer_ffmpeg: If True, use ffmpeg instead of avconv if both are available,
otherwise prefer avconv.
"""
params = None