From 97c15882dbfb3e3d5e9eeaac5bac8134375adbb5 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 16 Aug 2011 11:38:17 +0200 Subject: [PATCH] do not set -g/keyint_min twice --- pandora/archive/extract.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pandora/archive/extract.py b/pandora/archive/extract.py index dc0cba5b..1fbef95b 100644 --- a/pandora/archive/extract.py +++ b/pandora/archive/extract.py @@ -122,6 +122,7 @@ def stream(video, target, profile, info): video_settings = [ '-vb', '%dk'%bitrate, '-g', '%d' % int(fps*2), + '-keyint_min', '%d' % int(fps), '-s', '%dx%d'%(width, height), '-aspect', aspect, #'-vf', 'yadif', @@ -163,8 +164,6 @@ def stream(video, target, profile, info): '-flags2', '+mixed_refs', '-coder', '0', '-me_range', '16', - '-g', '250', #FIXME: should this be related to fps? - '-keyint_min', '25', #FIXME: should this be related to fps? '-sc_threshold', '40', '-i_qfactor', '0.71', '-qmin', '10', '-qmax', '51',