forked from 0x2620/pandora
set keyframe keyframe interval
This commit is contained in:
parent
0c3bfaa792
commit
f72a70252c
1 changed files with 2 additions and 1 deletions
|
@ -125,8 +125,9 @@ def stream(video, target, profile, info):
|
||||||
'-aspect', aspect,
|
'-aspect', aspect,
|
||||||
#'-vf', 'yadif',
|
#'-vf', 'yadif',
|
||||||
'-vf', 'hqdn3d,scale=%s:%s'%(width, height),
|
'-vf', 'hqdn3d,scale=%s:%s'%(width, height),
|
||||||
|
'-g', '%d' % int(fps*5),
|
||||||
|
'-keyint_min', '%d' % int(fps*2),
|
||||||
]
|
]
|
||||||
|
|
||||||
if format == 'mp4':
|
if format == 'mp4':
|
||||||
#quicktime does not support bpyramid
|
#quicktime does not support bpyramid
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in a new issue