forked from 0x2620/pandora
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)
|
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':
|
||||||
|
|
Loading…
Reference in a new issue