From f7d6cc2c3e1d87a02f1bc272b2516c8eeb5aa264 Mon Sep 17 00:00:00 2001 From: Adrien Beudin Date: Mon, 2 May 2016 09:57:18 +0200 Subject: [PATCH] fix resize --- prosopopee/prosopopee.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prosopopee/prosopopee.py b/prosopopee/prosopopee.py index 79cd31b..e6f9fd0 100644 --- a/prosopopee/prosopopee.py +++ b/prosopopee/prosopopee.py @@ -64,7 +64,7 @@ class Video(object): } warning("Generation", source) if options.get("resize"): - command = "ffmpeg {loglevel} -i {source} {resolution} -vframes 1 -y {target}".format(**ffmpeg_switches) + command = "ffmpeg {loglevel} -i {source} {resize} -vframes 1 -y {target}".format(**ffmpeg_switches) os.system(command) else: command = "ffmpeg {loglevel} -i {source} {resolution} {preselect} {bitrate} -pass 1 -an {format} -y {target}".format(**ffmpeg_switches)