diff options
Diffstat (limited to 'client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.html')
-rw-r--r-- | client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.html | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.html b/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.html index 2a965ac97..66e421b16 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.html +++ b/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.html | |||
@@ -8,15 +8,10 @@ | |||
8 | <span i18n> | 8 | <span i18n> |
9 | Estimating a server's capacity to transcode and stream videos isn't easy and we can't tune PeerTube automatically. | 9 | Estimating a server's capacity to transcode and stream videos isn't easy and we can't tune PeerTube automatically. |
10 | </span> | 10 | </span> |
11 | |||
11 | <span i18n> | 12 | <span i18n> |
12 | However, you may want to read our guidelines before tweaking the following values. | 13 | However, you may want to read <a class="link-orange" target="_blank" rel="noopener noreferrer" href="https://docs.joinpeertube.org/admin-configuration?id=transcoding">our guidelines</a> before tweaking the following values. |
13 | </span> | 14 | </span> |
14 | |||
15 | <div class="callout-container"> | ||
16 | <a class="callout-link" target="_blank" rel="noopener noreferrer" href="https://docs.joinpeertube.org/admin-configuration?id=transcoding" i18n> | ||
17 | Read guidelines | ||
18 | </a> | ||
19 | </div> | ||
20 | </div> | 15 | </div> |
21 | </div> | 16 | </div> |
22 | </div> | 17 | </div> |
@@ -115,7 +110,11 @@ | |||
115 | <div class="form-group" [ngClass]="getTranscodingDisabledClass()"> | 110 | <div class="form-group" [ngClass]="getTranscodingDisabledClass()"> |
116 | <label i18n>Resolutions to generate per enabled format</label> | 111 | <label i18n>Resolutions to generate per enabled format</label> |
117 | 112 | ||
118 | <div class="ms-2 mt-2 d-flex flex-column"> | 113 | <div class="ms-2 d-flex flex-column"> |
114 | <span class="mb-3 small muted" i18n> | ||
115 | The original file resolution will be the default target if no option is selected. | ||
116 | </span> | ||
117 | |||
119 | <ng-container formGroupName="resolutions"> | 118 | <ng-container formGroupName="resolutions"> |
120 | <div class="form-group" *ngFor="let resolution of resolutions"> | 119 | <div class="form-group" *ngFor="let resolution of resolutions"> |
121 | <my-peertube-checkbox | 120 | <my-peertube-checkbox |
@@ -127,10 +126,6 @@ | |||
127 | </ng-template> | 126 | </ng-template> |
128 | </my-peertube-checkbox> | 127 | </my-peertube-checkbox> |
129 | </div> | 128 | </div> |
130 | |||
131 | <span class="mb-2 muted" i18n> | ||
132 | The original file resolution will be the default target if no option is selected. | ||
133 | </span> | ||
134 | </ng-container> | 129 | </ng-container> |
135 | </div> | 130 | </div> |
136 | </div> | 131 | </div> |
@@ -142,7 +137,8 @@ | |||
142 | 137 | ||
143 | <div class="form-group mt-4" [ngClass]="getTranscodingDisabledClass()"> | 138 | <div class="form-group mt-4" [ngClass]="getTranscodingDisabledClass()"> |
144 | <label i18n for="transcodingThreads">Transcoding threads</label> | 139 | <label i18n for="transcodingThreads">Transcoding threads</label> |
145 | <span class="muted ms-1"> | 140 | |
141 | <span class="small muted ms-1"> | ||
146 | <ng-container *ngIf="getTotalTranscodingThreads().atMost" i18n> | 142 | <ng-container *ngIf="getTotalTranscodingThreads().atMost" i18n> |
147 | will claim at most {{ getTotalTranscodingThreads().value }} {{ getTotalTranscodingThreads().unit }} with live transcoding | 143 | will claim at most {{ getTotalTranscodingThreads().value }} {{ getTotalTranscodingThreads().unit }} with live transcoding |
148 | </ng-container> | 144 | </ng-container> |
@@ -164,7 +160,7 @@ | |||
164 | 160 | ||
165 | <div class="form-group" [ngClass]="getTranscodingDisabledClass()"> | 161 | <div class="form-group" [ngClass]="getTranscodingDisabledClass()"> |
166 | <label i18n for="transcodingConcurrency">Transcoding jobs concurrency</label> | 162 | <label i18n for="transcodingConcurrency">Transcoding jobs concurrency</label> |
167 | <span class="muted ms-1" i18n>allows to transcode multiple files in parallel. ⚠️ Requires a PeerTube restart</span> | 163 | <span class="small muted ms-1" i18n>allows to transcode multiple files in parallel. ⚠️ Requires a PeerTube restart</span> |
168 | 164 | ||
169 | <div class="number-with-unit"> | 165 | <div class="number-with-unit"> |
170 | <input type="number" name="transcodingConcurrency" formControlName="concurrency" /> | 166 | <input type="number" name="transcodingConcurrency" formControlName="concurrency" /> |
@@ -176,7 +172,7 @@ | |||
176 | 172 | ||
177 | <div class="form-group" [ngClass]="getTranscodingDisabledClass()"> | 173 | <div class="form-group" [ngClass]="getTranscodingDisabledClass()"> |
178 | <label i18n for="transcodingProfile">Transcoding profile</label> | 174 | <label i18n for="transcodingProfile">Transcoding profile</label> |
179 | <span class="muted ms-1" i18n>new transcoding profiles can be added by PeerTube plugins</span> | 175 | <span class="small muted ms-1" i18n>new transcoding profiles can be added by PeerTube plugins</span> |
180 | 176 | ||
181 | <my-select-options | 177 | <my-select-options |
182 | id="transcodingProfile" | 178 | id="transcodingProfile" |