bigbluebutton-Github/record-and-playback/screenshare/scripts/screenshare.yml

56 lines
1.7 KiB
YAML
Raw Normal View History

publish_dir: /var/bigbluebutton/published/screenshare
playback_dir: /usr/local/bigbluebutton/core/playback/screenshare
layout:
:width: 1280
:height: 720
:areas:
- :name: :deskshare
:x: 0
:y: 0
:width: 1280
:height: 720
- :name: :webcam
:x: 1040
:y: 540
:width: 240
:height: 180
formats:
- :mimetype: 'video/webm; codecs="vp9, opus"'
:extension: webm
:parameters:
# Multi-pass encoding, high quality
2018-04-28 03:25:36 +08:00
# VP9 encoder settings based on https://developers.google.com/media/vp9/settings/vod/
- [ '-pass', '1',
# Video
'-c:v', 'libvpx-vp9',
'-crf', '32', '-b:v', '1024K', '-minrate', '512K', '-maxrate', '1485K',
'-quality', 'good', '-speed', '4', '-g', '240',
'-tile-columns', '2', '-threads', '8',
# Disable audio in first pass
'-an',
# Container
'-f', 'webm' ]
- [ '-pass', '2',
# Video
'-c:v', 'libvpx-vp9',
'-crf', '32', '-b:v', '1024K', '-minrate', '512K', '-maxrate', '1485K',
'-quality', 'good', '-speed', '2', '-g', '240',
'-tile-columns', '2', '-threads', '8',
# Audio
'-c:a', 'libopus',
'-b:a', '64K',
# Container
'-f', 'webm' ]
# Single-pass encoding - faster, lower quality
# - [ '-c:v', 'libvpx-vp9',
# '-crf', '32', '-b:v', '1024K', '-minrate', '512K', '-maxrate', '1485K',
# '-quality', 'good', '-speed', '4', '-g', '240',
# '-tile-columns', '2', '-threads', '8',
# '-c:a', 'libopus',
# '-b:a', '64K',
# '-f', 'webm' ]
:postprocess:
- [ 'mkclean', '--quiet', ':input', ':output' ]