You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bb2434c
Browse filesBrowse the repository at this point in the historyBrowse files
|`Transcoding.MaxHeight`| Transcodes are scaled down to this many lines. |
57
-
|`Transcoding.MaxVideoKbps`| Peak video bitrate of a transcode. |
57
+
|`Transcoding.MaxHeight`| Transcodes are scaled down to this many lines. `2160` allows 4K transcodes (see Quality below); 1080 by default. |
58
+
|`Transcoding.MaxVideoKbps`| Peak video bitrate of a transcode. Raise it to about `30000` with `MaxHeight` 2160, or the 4K level is held to this. |
59
+
|`Transcoding.ToneMapHdr`| HDR video (HDR10, HLG) that has to be converted is tone-mapped to ordinary colours, so it isn't washed out (see Quality below). `true` by default. |
58
60
|`Transcoding.MaxSessions`| Remuxes and transcodes running at once, all users together. Direct play doesn't count. |
59
61
|`Transcoding.MaxSessionsPerUser`| A user starting more stops their oldest. |
60
62
|`Transcoding.SegmentSeconds`| Length of a stream segment. Shorter switches level and starts sooner; longer is a little more efficient. |
@@ -136,7 +138,9 @@ never touched) and everyone's place in it.
136
138
137
139
## Quality
138
140
139
-
The player has a quality menu: **Auto**, **Original**, and 1080p (8 Mbit/s), 720p (4), 480p (1.5), 360p (0.8).
141
+
The player has a quality menu: **Auto**, **Original**, and 2160p (4K, 25 Mbit/s, when allowed), 1080p (8), 720p (4),
142
+
480p (1.5), 360p (0.8). The menu lists only what a file can have here: nothing above the server's `MaxHeight`, the
143
+
user's cap, or (by more than a step) the picture itself.
140
144
141
145
-**Auto** is an adaptive stream, as on streaming sites: a playlist offering every level (none above the picture's
142
146
own size, the server's `MaxHeight` or the user's cap), from which the player picks a level segment by segment by
@@ -160,6 +164,29 @@ it's needed again. Seeking in a transcode never restarts the whole stream.
160
164
Admins can cap a user's quality (**Admin → Users → Best quality**), e.g. 720p for someone streaming over a slow
161
165
connection, so one viewer can't use all of the server's upload. A capped user doesn't get Original.
162
166
167
+
### 4K
168
+
169
+
A 4K file plays at 4K as it is (Original, or Auto with the connection to spare) on a device that decodes its video:
170
+
HEVC on Safari and on Chrome/Edge with a hardware HEVC decoder, H.264 everywhere. A converted stream stops at 1080p
0 commit comments