[postprocessor:ugoira] use frame extension from filenames (#1550)
This commit is contained in:
parent
74d97e6c6b
commit
19a11fa11d
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user