forked from 0x2620/pandora
use h264 high profile for .mp4
This commit is contained in:
parent
790b08ce77
commit
a687f01fc7
2 changed files with 6 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue