use h264 high profile for .mp4

This commit is contained in:
j 2017-08-30 14:54:26 +02:00
commit a687f01fc7
2 changed files with 6 additions and 5 deletions

View file

@ -232,9 +232,8 @@ def stream(video, target, profile, info, audio_track=0, flags={}):
video_settings += [
'-c:v', 'libx264',
'-preset:v', 'medium',
'-profile:v', 'baseline',
# does not work with avconv in Ubuntu 14.04 yet
# '-level', '3.0',
'-profile:v', 'high',
'-level', '4.0',
]
video_settings += ['-map', '0:%s,0:0' % info['video'][0]['id']]
audio_only = False