From: Radek Czajka Date: Fri, 22 May 2020 10:05:24 +0000 (+0200) Subject: Copy streams when muxing. X-Git-Url: https://git.mdrn.pl/audio.git/commitdiff_plain/f9eae91a6d2d175b2f227d7ea04ddd5994e9a95a?hp=48a6d541090ed8a674a8867a0bb705448ad21e63 Copy streams when muxing. --- 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)