From f72a70252c1dd5a784d566520c663cbcaac984d8 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 5 Jan 2012 21:11:42 +0530 Subject: [PATCH] set keyframe keyframe interval --- pandora/archive/extract.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora/archive/extract.py b/pandora/archive/extract.py index 23236ff2..7054df1a 100644 --- a/pandora/archive/extract.py +++ b/pandora/archive/extract.py @@ -125,8 +125,9 @@ def stream(video, target, profile, info): '-aspect', aspect, #'-vf', 'yadif', '-vf', 'hqdn3d,scale=%s:%s'%(width, height), + '-g', '%d' % int(fps*5), + '-keyint_min', '%d' % int(fps*2), ] - if format == 'mp4': #quicktime does not support bpyramid '''