diff --git a/cuburn/output.py b/cuburn/output.py index e17a892..53d21fc 100644 --- a/cuburn/output.py +++ b/cuburn/output.py @@ -124,13 +124,13 @@ class X264Output(Output, ClsMod): { 'normal': '--profile high444 --level 4.2' , '': '' }) - base = ('x264 --no-progress --input-depth 16 --sync-lookahead 0 ' - '--rc-lookahead 5 --muxer raw -o - - --log-level debug ') + 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