From f9eae91a6d2d175b2f227d7ea04ddd5994e9a95a Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 22 May 2020 12:05:24 +0200 Subject: [PATCH] Copy streams when muxing. --- src/youtube/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/youtube/utils.py b/src/youtube/utils.py index 42ebc91..3dbab09 100644 --- a/src/youtube/utils.py +++ b/src/youtube/utils.py @@ -101,6 +101,7 @@ def mux(channels, output_path=None): args = ['ffmpeg', '-y'] for c in channels: args.extend(['-i', c]) + args.extend(['-c', 'copy']) return process_to_file(args, 'mux-', '.mkv', output_path=output_path) -- 2.20.1