use vf for scale and add hqdn3d for derivatives

This commit is contained in:
j 2012-01-04 23:08:38 +05:30
parent 2e4d6fd9d9
commit 0c3bfaa792

View file

@ -121,11 +121,10 @@ def stream(video, target, profile, info):
aspect = '%s:%s' % (width, height) aspect = '%s:%s' % (width, height)
video_settings = [ video_settings = [
'-vb', '%dk'%bitrate, '-g', '%d' % int(fps*2), '-vb', '%dk'%bitrate,
'-keyint_min', '%d' % int(fps),
'-s', '%dx%d'%(width, height),
'-aspect', aspect, '-aspect', aspect,
#'-vf', 'yadif', #'-vf', 'yadif',
'-vf', 'hqdn3d,scale=%s:%s'%(width, height),
] ]
if format == 'mp4': if format == 'mp4':