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
1 changed files with 2 additions and 3 deletions

View File

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