h264 high only supports 420p
This commit is contained in:
parent
4b463b6f46
commit
30d5f1be0c
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue