1
0
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:
Mike Fährmann 2022-04-12 21:47:47 +02:00
parent 3e942a58be
commit 24ea1398bc
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -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