make sure video is 420p

This commit is contained in:
j 2019-11-01 19:48:35 +01:00
parent ce8b693922
commit 551ffc5c86

View file

@ -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