[postprocessor:ugoira] use frame extension from filenames (#1550)

This commit is contained in:
Mike Fährmann
2021-05-26 23:09:56 +02:00
parent 74d97e6c6b
commit 19a11fa11d

View File

@@ -152,7 +152,8 @@ class UgoiraPP(PostProcessor):
"-f", "image2",
"-ts_from_file", "2",
"-pattern_type", "sequence",
"-i", path.replace("%", "%%") + "%06d.jpg",
"-i", "{}%06d.{}".format(
path.replace("%", "%%"), frame["file"].rpartition(".")[2]),
]
def _exec(self, args):