only set max keyframe limit
This commit is contained in:
parent
b9ffb5e028
commit
4606c63680
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ def video_cmd(video, target, profile, info):
|
||||||
'-vb', '%dk'%bitrate,
|
'-vb', '%dk'%bitrate,
|
||||||
'-aspect', aspect,
|
'-aspect', aspect,
|
||||||
'-g', '%d' % int(fps*5),
|
'-g', '%d' % int(fps*5),
|
||||||
'-keyin_min', '%d' % int(fps*2),
|
'-deadline', 'good', '-cpu-used', '0',
|
||||||
'-vf', 'yadif,hqdn3d,scale=%s:%s'%(width, height),
|
'-vf', 'yadif,hqdn3d,scale=%s:%s'%(width, height),
|
||||||
] + extra
|
] + extra
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue