mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Allow overriding the x264 binary name to use
This commit is contained in:
parent
b882d6587d
commit
b073b7e22e
@ -124,13 +124,13 @@ class X264Output(Output, ClsMod):
|
||||
{ 'normal': '--profile high444 --level 4.2'
|
||||
, '': ''
|
||||
})
|
||||
base = ('x264 --no-progress --input-depth 16 --sync-lookahead 0 '
|
||||
base = ('--no-progress --input-depth 16 --sync-lookahead 0 '
|
||||
'--rc-lookahead 5 --muxer raw -o - - --log-level debug')
|
||||
|
||||
def __init__(self, profile='normal', csp='i444', crf=15,
|
||||
x264opts='', alpha=False):
|
||||
command='x264', x264opts='', alpha=False):
|
||||
super(X264Output, self).__init__()
|
||||
self.args = ' '.join([self.base, self.profiles[profile],
|
||||
self.args = ' '.join([command, self.base, self.profiles[profile],
|
||||
'--crf', str(crf), x264opts]).split()
|
||||
self.alpha = alpha
|
||||
self.csp = csp
|
||||
|
Loading…
Reference in New Issue
Block a user