</my-peertube-checkbox>
</div>
+ <ng-container formGroupName="hls">
+ <div class="form-group" >
+ <my-peertube-checkbox
+ inputName="transcodingHlsEnabled" formControlName="enabled"
+ i18n-labelText labelText="HLS support enabled"
+ >
+ <ng-template ptTemplate="help">
+ <ng-container i18n>
+ <strong>Requires ffmpeg >= 4.1 and multiplies videos storage by 2!</strong>
+
+ <p>Generate HLS playlists and fragmented MP4 files resulting in a better playback than with the current default player:</p>
+ <ul>
+ <li>Resolution change is smoother</li>
+ <li>Faster playback in particular with long videos</li>
+ <li>More stable playback (less bugs/infinite loading)</li>
+ </ul>
+ </ng-container>
+ </ng-template>
+ </my-peertube-checkbox>
+ </div>
+ </ng-container>
+
<div class="form-group">
<label i18n for="transcodingThreads">Transcoding threads</label>
<div class="peertube-select-container">
threads: this.customConfigValidatorsService.TRANSCODING_THREADS,
allowAdditionalExtensions: null,
allowAudioFiles: null,
- resolutions: {}
+ resolutions: {},
+ hls: {
+ enabled: null
+ }
},
autoBlacklist: {
videos: {
720p: false
1080p: false
2160p: false
- # /!\ EXPERIMENTAL /!\
- # /!\ Requires ffmpeg >= 4
+ # /!\ Requires ffmpeg >= 4.1
# Generate HLS playlists and fragmented MP4 files. Better playback than with WebTorrent:
# * Resolution change is smoother
# * Faster playback in particular with long videos
720p: false
1080p: false
2160p: false
- # /!\ EXPERIMENTAL /!\
- # /!\ Requires ffmpeg >= 4
+ # /!\ Requires ffmpeg >= 4.1
# Generate HLS playlists and fragmented MP4 files. Better playback than with WebTorrent:
# * Resolution change is smoother
# * Faster playback in particular with long videos
'signup.enabled', 'signup.limit', 'signup.requires_email_verification',
'signup.filters.cidr.whitelist', 'signup.filters.cidr.blacklist',
'redundancy.videos.strategies', 'redundancy.videos.check_interval',
- 'transcoding.enabled', 'transcoding.threads', 'transcoding.allow_additional_extensions',
+ 'transcoding.enabled', 'transcoding.threads', 'transcoding.allow_additional_extensions', 'transcoding.hls.enabled',
'import.videos.http.enabled', 'import.videos.torrent.enabled', 'auto_blacklist.videos.of_users.enabled',
'trending.videos.interval_days',
'instance.name', 'instance.short_description', 'instance.description', 'instance.terms', 'instance.default_client_route',