h264 high only supports 420p

This commit is contained in:
j 2019-11-01 21:50:25 +01:00
parent 4b463b6f46
commit 30d5f1be0c

View file

@ -211,6 +211,7 @@ def video_cmd(video, target, profile, info):
'-preset:v', 'medium', '-preset:v', 'medium',
'-profile:v', 'high', '-profile:v', 'high',
'-level', '4.0', '-level', '4.0',
'-pix_fmt', 'yuv420p',
] ]
video_settings += ['-map', '0:%s,0:0' % info['video'][0]['id']] video_settings += ['-map', '0:%s,0:0' % info['video'][0]['id']]
audio_only = False audio_only = False