diff options
Diffstat (limited to 'support')
-rw-r--r-- | support/doc/plugins/guide.md | 7 |
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 (...) { | |||
328 | Adding transcoding profiles allow admins to change ffmpeg encoding parameters and/or encoders. | 328 | Adding transcoding profiles allow admins to change ffmpeg encoding parameters and/or encoders. |
329 | A transcoding profile has to be chosen by the admin of the instance using the admin configuration. | 329 | A transcoding profile has to be chosen by the admin of the instance using the admin configuration. |
330 | 330 | ||
331 | Transcoding profiles used for live transcoding must not provide any `videoFilters`. | ||
332 | |||
333 | ```js | 331 | ```js |
334 | async function register ({ | 332 | async 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 | } |