mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 02:32:33 +01:00
[postprocessor:ugoira] do not auto-select image2 demuxer (#2492)
This commit is contained in:
parent
3e942a58be
commit
24ea1398bc
@ -3275,12 +3275,11 @@ Default
|
||||
Description
|
||||
FFmpeg demuxer to read and process input files with. Possible values are
|
||||
|
||||
* "`concat <https://ffmpeg.org/ffmpeg-formats.html#concat-1>`_" (inaccurate frame timecodes)
|
||||
* "`image2 <https://ffmpeg.org/ffmpeg-formats.html#image2-1>`_" (accurate timecodes, not usable on Windows)
|
||||
* "`concat <https://ffmpeg.org/ffmpeg-formats.html#concat-1>`_" (inaccurate frame timecodes for non-uniform frame delays)
|
||||
* "`image2 <https://ffmpeg.org/ffmpeg-formats.html#image2-1>`_" (accurate timecodes, requires nanosecond file timestamps, i.e. no Windows or macOS)
|
||||
* "mkvmerge" (accurate timecodes, only WebM or MKV, requires `mkvmerge <ugoira.mkvmerge-location_>`__)
|
||||
|
||||
`"auto"` will select `mkvmerge` if possible and fall back to `image2` or
|
||||
`concat` depending on the local operating system.
|
||||
`"auto"` will select `mkvmerge` if available and fall back to `concat` otherwise.
|
||||
|
||||
|
||||
ugoira.ffmpeg-location
|
||||
|
@ -49,7 +49,7 @@ class UgoiraPP(PostProcessor):
|
||||
mkvmerge or shutil.which("mkvmerge")):
|
||||
demuxer = "mkvmerge"
|
||||
else:
|
||||
demuxer = "concat" if util.WINDOWS else "image2"
|
||||
demuxer = "concat"
|
||||
|
||||
if demuxer == "mkvmerge":
|
||||
self._process = self._process_mkvmerge
|
||||
|
Loading…
Reference in New Issue
Block a user