use vf for scale and add hqdn3d for derivatives
This commit is contained in:
parent
2e4d6fd9d9
commit
0c3bfaa792
1 changed files with 2 additions and 3 deletions
|
@ -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':
|
||||
|
|
Loading…
Reference in a new issue