From 551ffc5c86dde51f12d374860d6af6fa1e0b877e Mon Sep 17 00:00:00 2001 From: j Date: Fri, 1 Nov 2019 19:48:35 +0100 Subject: [PATCH] make sure video is 420p --- pandora/archive/extract.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora/archive/extract.py b/pandora/archive/extract.py index 618bad85..f85c464e 100644 --- a/pandora/archive/extract.py +++ b/pandora/archive/extract.py @@ -239,6 +239,7 @@ def stream(video, target, profile, info, audio_track=0, flags={}): '-preset:v', 'medium', '-profile:v', 'high', '-level', '4.0', + '-pix_fmt', 'yuv420p', ] video_settings += ['-map', '0:%s,0:0' % info['video'][0]['id']] audio_only = False