From a687f01fc7bc84b05c160d9c6065258915ce9d81 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 30 Aug 2017 14:54:26 +0200 Subject: [PATCH] use h264 high profile for .mp4 --- pandora/archive/extract.py | 5 ++--- pandora/config.pandora.jsonc | 6 ++++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/pandora/archive/extract.py b/pandora/archive/extract.py index 02c553677..9c9ce8943 100644 --- a/pandora/archive/extract.py +++ b/pandora/archive/extract.py @@ -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 diff --git a/pandora/config.pandora.jsonc b/pandora/config.pandora.jsonc index 667622bfa..9e7788317 100644 --- a/pandora/config.pandora.jsonc +++ b/pandora/config.pandora.jsonc @@ -1241,8 +1241,10 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution. "userLevels": ["guest", "member", "staff", "admin"], /* "video" contains the video settings. - "formats": Supported video formats. Should be ["webm", "mp4"], or - ["webm"] in case iDevices are not part of the audience + "formats": Supported video formats. + Should be ["webm", "mp4"] to support WebM and MP4, + ["webm"] if only WebM is used or + ["mp4"] for MP4 only. "previewRatio": Aspect ratio used in the info panel in the bottom left corner of the screen "resolutions": List of video resolutions. Supported values are 96, 144,