mirror of
https://github.com/owncast/owncast.git
synced 2024-10-24 21:45:59 +03:00
04dc0796d8
* New video transcoder * Set a smaller max muxing size + logging tweaks * No need to return an err since it wiill panic anyway * Use a default encoder preset if one is not supplied * Rename to NewTranscoder. Add comments. * Rename Bitrate to VideoBitrate. Config file changes required with this rename. * Allow overrides of segment length. Allow offline stream to live in a single segment * Append offline state video to existin HLS stream instead of overwriting because players do not like that * Make properties private as they do not need to be exported
37 lines
812 B
YAML
37 lines
812 B
YAML
publicHLSPath: webroot/hls
|
|
privateHLSPath: hls
|
|
ffmpegPath: /usr/bin/ffmpeg
|
|
webServerPort: 8080
|
|
|
|
videoSettings:
|
|
chunkLengthInSeconds: 4
|
|
streamingKey: abc123
|
|
offlineContent: static/offline.m4v # Is displayed when a stream ends
|
|
|
|
streamQualities:
|
|
# Pass through the exact video and audio that you're streaming.
|
|
- full:
|
|
videoPassthrough: true
|
|
audioPassthrough: true
|
|
|
|
# Transcode the video to a lower bitrate and resize
|
|
# - low:
|
|
# videoBitrate: 700
|
|
# scaledWidth: 600
|
|
# audioPassthrough: true
|
|
# encoderPreset: superfast
|
|
|
|
files:
|
|
maxNumberInPlaylist: 30
|
|
|
|
ipfs:
|
|
enabled: false
|
|
gateway: https://ipfs.io
|
|
|
|
s3:
|
|
enabled: false
|
|
endpoint: https://s3.us-west-2.amazonaws.com
|
|
accessKey: ABC12342069
|
|
secret: lolomgqwtf49583949
|
|
region: us-west-2
|
|
bucket: myvideo
|