From b073b7e22e5fcdad06ba48e983b38398ea282520 Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Sat, 20 Dec 2014 18:34:36 -0800 Subject: [PATCH] Allow overriding the x264 binary name to use --- cuburn/output.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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