aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/plugins/guide.md
diff options
context:
space:
mode:
Diffstat (limited to 'support/doc/plugins/guide.md')
-rw-r--r--support/doc/plugins/guide.md7
1 files changed, 0 insertions, 7 deletions
diff --git a/support/doc/plugins/guide.md b/support/doc/plugins/guide.md
index 331813e4f..ea33b8d9f 100644
--- a/support/doc/plugins/guide.md
+++ b/support/doc/plugins/guide.md
@@ -328,8 +328,6 @@ function register (...) {
328Adding transcoding profiles allow admins to change ffmpeg encoding parameters and/or encoders. 328Adding transcoding profiles allow admins to change ffmpeg encoding parameters and/or encoders.
329A transcoding profile has to be chosen by the admin of the instance using the admin configuration. 329A transcoding profile has to be chosen by the admin of the instance using the admin configuration.
330 330
331Transcoding profiles used for live transcoding must not provide any `videoFilters`.
332
333```js 331```js
334async function register ({ 332async function register ({
335 transcodingManager 333 transcodingManager
@@ -346,9 +344,6 @@ async function register ({
346 // All these options are optional and defaults to [] 344 // All these options are optional and defaults to []
347 return { 345 return {
348 inputOptions: [], 346 inputOptions: [],
349 videoFilters: [
350 'vflip' // flip the video vertically
351 ],
352 outputOptions: [ 347 outputOptions: [
353 // Use a custom bitrate 348 // Use a custom bitrate
354 '-b' + streamString + ' 10K' 349 '-b' + streamString + ' 10K'
@@ -364,7 +359,6 @@ async function register ({
364 359
365 // And/Or support this profile for live transcoding 360 // And/Or support this profile for live transcoding
366 transcodingManager.addLiveProfile(encoder, profileName, builder) 361 transcodingManager.addLiveProfile(encoder, profileName, builder)
367 // Note: this profile will fail for live transcode because it specifies videoFilters
368 } 362 }
369 363
370 { 364 {
@@ -401,7 +395,6 @@ async function register ({
401 const builder = () => { 395 const builder = () => {
402 return { 396 return {
403 inputOptions: [], 397 inputOptions: [],
404 videoFilters: [],
405 outputOptions: [] 398 outputOptions: []
406 } 399 }
407 } 400 }