more webm settings

This commit is contained in:
j 2012-03-22 00:17:40 +01:00
parent 5d18e2d6e9
commit 21b4d3cea4

View file

@ -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']