fix ffmpeg args

This commit is contained in:
bakatrouble 2023-07-23 13:48:12 +03:00
parent 8deac50ef3
commit cc46539ea9

View File

@ -62,7 +62,7 @@ async def send_post(post: E621Post, tag_list: List[str]):
webm.write(file.read())
ffmpeg\
.input(str(src_path)) \
.filter('pad', {
.filter('pad', **{
'width': 'ceil(iw/2)*2',
'height': 'ceil(ih/2)*2',
'x': '0',