def compose_2_pass(self, a: Project, c: Chunk, output: str) -> MPCommands: return [ CommandPair( Encoder.compose_ffmpeg_pipe(a), [ "aomenc", "--passes=2", "--pass=1", *a.video_params, f"--fpf={c.fpf}.log", "-o", os.devnull, "-", ], ), CommandPair( Encoder.compose_ffmpeg_pipe(a), [ "aomenc", "--passes=2", "--pass=2", *a.video_params, f"--fpf={c.fpf}.log", "-o", output, "-", ], ), ]
def compose_2_pass(self, a: Project, c: Chunk, output: str) -> MPCommands: return [ CommandPair( Encoder.compose_ffmpeg_pipe(a), [ "rav1e", "-", "-q", "-y", "--first-pass", f"{c.fpf}.stat", *a.video_params, "--output", os.devnull, ], ), CommandPair( Encoder.compose_ffmpeg_pipe(a), [ "rav1e", "-", "-y", "--second-pass", f"{c.fpf}.stat", *a.video_params, "--output", output, ], ), ]
def compose_2_pass(self, a: Project, c: Chunk, output: str) -> MPCommands: return [ CommandPair(Encoder.compose_ffmpeg_pipe(a), [ 'rav1e', '-', '-q', '-y', '--first-pass', f'{c.fpf}.stat', *a.video_params, '--output', os.devnull ]), CommandPair(Encoder.compose_ffmpeg_pipe(a), [ 'rav1e', '-', '-y', '--second-pass', f'{c.fpf}.stat', *a.video_params, '--output', output ]) ]
def compose_2_pass(self, a: Project, c: Chunk, output: str) -> MPCommands: return [ CommandPair(Encoder.compose_ffmpeg_pipe(a), [ 'aomenc', '--passes=2', '--pass=1', *a.video_params, f'--fpf={c.fpf}.log', '-o', os.devnull, '-' ]), CommandPair(Encoder.compose_ffmpeg_pipe(a), [ 'aomenc', '--passes=2', '--pass=2', *a.video_params, f'--fpf={c.fpf}.log', '-o', output, '-' ]) ]
def compose_2_pass(self, a: Project, c: Chunk, output: str) -> MPCommands: return [ CommandPair(Encoder.compose_ffmpeg_pipe(a), [ 'SvtAv1EncApp', '-i', 'stdin', '--progress', '2', '--irefresh-type', '2', *a.video_params, '--pass', '1', '--stats', f'{c.fpf}.stat', '-b', os.devnull, '-' ]), CommandPair(Encoder.compose_ffmpeg_pipe(a), [ 'SvtAv1EncApp', '-i', 'stdin', '--progress', '2', '--irefresh-type', '2', *a.video_params, '--pass', '2', '--stats', f'{c.fpf}.stat', '-b', output, '-' ]) ]
def compose_1_pass(self, a: Project, c: Chunk, output: str) -> MPCommands: return [ CommandPair( Encoder.compose_ffmpeg_pipe(a), ["aomenc", "--passes=1", *a.video_params, "-o", output, "-"], ) ]
def compose_1_pass(self, a: Project, c: Chunk, output: str) -> MPCommands: return [ CommandPair( Encoder.compose_ffmpeg_pipe(a), ["rav1e", "-", "-y", *a.video_params, "--output", output], ) ]
def compose_1_pass(self, a: Project, c: Chunk, output: str) -> MPCommands: return [ CommandPair(Encoder.compose_ffmpeg_pipe(a), [ 'SvtAv1EncApp', '-i', 'stdin', '--progress', '2', *a.video_params, '-b', output, '-' ]) ]
def compose_1_pass(self, a: Project, c: Chunk, output: str) -> MPCommands: return [ CommandPair( Encoder.compose_ffmpeg_pipe(a), ['aomenc', '--passes=1', *a.video_params, '-o', output, '-'] ) ]
def compose_2_pass(self, a: Project, c: Chunk, output: str) -> MPCommands: return [ CommandPair( Encoder.compose_ffmpeg_pipe(a), [ "SvtAv1EncApp", "-i", "stdin", "--progress", "2", "--irefresh-type", "2", *a.video_params, "--pass", "1", "--stats", f"{c.fpf}.stat", "-b", os.devnull, "-", ], ), CommandPair( Encoder.compose_ffmpeg_pipe(a), [ "SvtAv1EncApp", "-i", "stdin", "--progress", "2", "--irefresh-type", "2", *a.video_params, "--pass", "2", "--stats", f"{c.fpf}.stat", "-b", output, "-", ], ), ]
def compose_1_pass(self, a: Project, c: Chunk, output: str) -> MPCommands: return [ CommandPair( Encoder.compose_ffmpeg_pipe(a), [ "SvtAv1EncApp", "-i", "stdin", "--progress", "2", *a.video_params, "-b", output, ], ) ]
def compose_1_pass(self, a: Project, c: Chunk, output: str) -> MPCommands: return [ CommandPair( Encoder.compose_ffmpeg_pipe(a), ['rav1e', '-', '-y', *a.video_params, '--output', output]) ]