From 2a3062e02953d00ae4172a360decafc238090a95 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 14 Nov 2014 23:00:19 +0000 Subject: [PATCH] fix melt scaling --- pandora/archive/extract.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pandora/archive/extract.py b/pandora/archive/extract.py index 61b91ef7..ae5991d3 100644 --- a/pandora/archive/extract.py +++ b/pandora/archive/extract.py @@ -390,13 +390,14 @@ def melt_frame_cmd(video, frame, position, height=128, info=None): video, 'in=%d' % position, 'out=%d' % position, '-consumer', 'avformat:%s' % frame, - 'vcodec=%s' % vcodec + 'vcodec=%s' % vcodec, + 'progressive=1' ] if height: dar = AspectRatio(info['video'][0]['display_aspect_ratio']) width = int(dar * height) width += width % 2 - cmd += ['-s', '%sx%s' % (width, height)] + cmd += ['s=%sx%s' % (width, height)] return cmd def frame_direct(video, target, position):