more webm settings
This commit is contained in:
parent
5d18e2d6e9
commit
21b4d3cea4
1 changed files with 7 additions and 1 deletions
|
@ -140,9 +140,15 @@ 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),
|
||||||
'-deadline', 'good', '-cpu-used', '0',
|
|
||||||
'-vf', 'yadif,hqdn3d,scale=%s:%s'%(width, height),
|
'-vf', 'yadif,hqdn3d,scale=%s:%s'%(width, height),
|
||||||
] + extra
|
] + extra
|
||||||
|
if format == 'webm':
|
||||||
|
video_settings += [
|
||||||
|
'-deadline', 'good',
|
||||||
|
'-cpu-used', '0',
|
||||||
|
'-lag-in-frames', '16',
|
||||||
|
'-auto-alt-ref', '1',
|
||||||
|
]
|
||||||
else:
|
else:
|
||||||
video_settings = ['-vn']
|
video_settings = ['-vn']
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue