@norskvideo/norsk-studio-built-ins 1.27.0-2025-07-05-19728d76 → 1.27.0-2025-07-08-02bba8fe

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/client/info.js +226 -7
  2. package/client/style.css +8 -0
  3. package/lib/info.js +3 -1
  4. package/lib/info.js.map +1 -1
  5. package/lib/input.rtmp/info.d.ts +20 -1
  6. package/lib/input.rtmp/runtime.d.ts +20 -1
  7. package/lib/input.rtmp/types.d.ts +47 -27
  8. package/lib/input.rtmp/types.source.yaml +319 -0
  9. package/lib/input.rtmp/types.yaml +204 -131
  10. package/lib/input.silence/info.d.ts +4 -2
  11. package/lib/input.silence/types.d.ts +4 -7
  12. package/lib/input.silence/types.source.yaml +27 -0
  13. package/lib/input.silence/types.yaml +80 -4
  14. package/lib/input.srt-caller/info.d.ts +41 -4
  15. package/lib/input.srt-caller/types.d.ts +51 -43
  16. package/lib/input.srt-caller/types.source.yaml +70 -0
  17. package/lib/input.srt-caller/types.yaml +136 -24
  18. package/lib/input.srt-listener/info.d.ts +41 -4
  19. package/lib/input.srt-listener/runtime.d.ts +34 -3
  20. package/lib/input.srt-listener/types.d.ts +74 -44
  21. package/lib/input.srt-listener/types.source.yaml +329 -0
  22. package/lib/input.srt-listener/types.yaml +257 -132
  23. package/lib/input.udp-ts/info.d.ts +20 -1
  24. package/lib/input.udp-ts/types.d.ts +20 -25
  25. package/lib/input.udp-ts/types.source.yaml +40 -0
  26. package/lib/input.udp-ts/types.yaml +79 -3
  27. package/lib/input.videoTestCard/info.d.ts +8 -2
  28. package/lib/input.videoTestCard/types.d.ts +8 -10
  29. package/lib/input.videoTestCard/types.source.yaml +32 -0
  30. package/lib/input.videoTestCard/types.yaml +28 -6
  31. package/lib/input.whip/info.d.ts +7 -1
  32. package/lib/input.whip/types.d.ts +44 -28
  33. package/lib/input.whip/types.source.yaml +190 -0
  34. package/lib/input.whip/types.yaml +177 -104
  35. package/lib/output.autoCmaf/info.js +20 -0
  36. package/lib/output.autoCmaf/info.js.map +1 -1
  37. package/lib/output.autoCmaf/runtime.d.ts +2 -1
  38. package/lib/output.autoCmaf/runtime.js +35 -7
  39. package/lib/output.autoCmaf/runtime.js.map +1 -1
  40. package/lib/output.autoCmaf/types.d.ts +1 -0
  41. package/lib/output.autoCmaf/types.yaml +3 -0
  42. package/lib/output.cmafMultiVariant/runtime.js +2 -2
  43. package/lib/output.cmafMultiVariant/runtime.js.map +1 -1
  44. package/lib/output.cmafPlaylist/info.js +19 -0
  45. package/lib/output.cmafPlaylist/info.js.map +1 -1
  46. package/lib/output.cmafPlaylist/runtime.js +6 -3
  47. package/lib/output.cmafPlaylist/runtime.js.map +1 -1
  48. package/lib/output.cmafPlaylist/types.d.ts +1 -0
  49. package/lib/output.cmafPlaylist/types.yaml +3 -0
  50. package/lib/output.preview/runtime.js +2 -2
  51. package/lib/output.preview/runtime.js.map +1 -1
  52. package/lib/output.statistics/info.d.ts +172 -2
  53. package/lib/output.statistics/types.d.ts +400 -72
  54. package/lib/output.statistics/types.source.yaml +119 -0
  55. package/lib/output.statistics/types.yaml +331 -91
  56. package/lib/output.tsMediaPlaylist/runtime.js +2 -2
  57. package/lib/output.tsMediaPlaylist/runtime.js.map +1 -1
  58. package/lib/output.tsMultiVariant/runtime.js +1 -1
  59. package/lib/output.tsMultiVariant/runtime.js.map +1 -1
  60. package/lib/output.whep/runtime.js +3 -1
  61. package/lib/output.whep/runtime.js.map +1 -1
  62. package/lib/processor.audioEncoder/info.d.ts +10 -2
  63. package/lib/processor.audioEncoder/types.d.ts +23 -12
  64. package/lib/processor.audioEncoder/types.source.yaml +78 -0
  65. package/lib/processor.audioEncoder/types.yaml +101 -29
  66. package/lib/processor.fixedLadder/info.d.ts +182 -7
  67. package/lib/processor.fixedLadder/types.d.ts +619 -19
  68. package/lib/processor.fixedLadder/types.source.yaml +462 -0
  69. package/lib/processor.fixedLadder/types.yaml +334 -115
  70. package/lib/processor.makeProgram/info.d.ts +1 -0
  71. package/lib/processor.makeProgram/info.js +9 -0
  72. package/lib/processor.makeProgram/info.js.map +1 -1
  73. package/lib/processor.makeProgram/runtime.d.ts +2 -1
  74. package/lib/processor.makeProgram/runtime.js +14 -1
  75. package/lib/processor.makeProgram/runtime.js.map +1 -1
  76. package/lib/processor.makeProgram/types.d.ts +1 -0
  77. package/lib/processor.makeProgram/types.yaml +3 -1
  78. package/lib/processor.smartSingleMediaSwitch/info.d.ts +12 -4
  79. package/lib/processor.smartSingleMediaSwitch/types.d.ts +22 -18
  80. package/lib/processor.smartSingleMediaSwitch/types.source.yaml +115 -0
  81. package/lib/processor.smartSingleMediaSwitch/types.yaml +145 -50
  82. package/lib/processor.smartSourceSwitch/info.d.ts +12 -4
  83. package/lib/processor.smartSourceSwitch/types.d.ts +22 -18
  84. package/lib/processor.smartSourceSwitch/types.source.yaml +97 -0
  85. package/lib/processor.smartSourceSwitch/types.yaml +142 -48
  86. package/lib/processor.syncExternalAudio/info.d.ts +1 -0
  87. package/lib/processor.syncExternalAudio/types.d.ts +1 -0
  88. package/lib/processor.zoomTo/info.d.ts +54 -0
  89. package/lib/processor.zoomTo/info.js +172 -0
  90. package/lib/processor.zoomTo/info.js.map +1 -0
  91. package/lib/processor.zoomTo/runtime-types.d.ts +11 -0
  92. package/lib/processor.zoomTo/runtime-types.js +3 -0
  93. package/lib/processor.zoomTo/runtime-types.js.map +1 -0
  94. package/lib/processor.zoomTo/runtime.d.ts +45 -0
  95. package/lib/processor.zoomTo/runtime.js +307 -0
  96. package/lib/processor.zoomTo/runtime.js.map +1 -0
  97. package/lib/processor.zoomTo/types.d.ts +182 -0
  98. package/lib/processor.zoomTo/types.js +3 -0
  99. package/lib/processor.zoomTo/types.js.map +1 -0
  100. package/lib/processor.zoomTo/types.yaml +356 -0
  101. package/lib/test/auto-cmaf.js +7 -4
  102. package/lib/test/auto-cmaf.js.map +1 -1
  103. package/lib/test/zoom-to.d.ts +1 -0
  104. package/lib/test/zoom-to.js +345 -0
  105. package/lib/test/zoom-to.js.map +1 -0
  106. package/package.json +3 -3
@@ -2,32 +2,43 @@ export type paths = Record<string, never>;
2
2
  export type webhooks = Record<string, never>;
3
3
  export interface components {
4
4
  schemas: {
5
- channelLayout: components["schemas"]["ChannelLayout"];
6
- sampleRate: components["schemas"]["SampleRate"];
5
+ channelLayout: ("mono" | "stereo" | "surround" | "4.0" | "5.0" | "5.1" | "7.1" | "5.1.4" | "7.1.4") | ("l" | "r" | "c" | "lfe" | "ls" | "rs" | "lc" | "rc" | "lsr" | "rsr" | "cs" | "lsd" | "rsd" | "lss" | "rss" | "lw" | "rw" | "lv" | "rv" | "cv" | "lvr" | "rvr" | "cvr" | "lvss" | "rvss" | "ts" | "lfe2" | "lb" | "rb" | "cb" | "lvs" | "rvs" | "lfe3" | "leos" | "reos" | "hwbcal" | "hwbcar" | "lbs" | "rbs" | "unknown")[] | {
6
+ single: "l" | "r" | "c" | "lfe" | "ls" | "rs" | "lc" | "rc" | "lsr" | "rsr" | "cs" | "lsd" | "rsd" | "lss" | "rss" | "lw" | "rw" | "lv" | "rv" | "cv" | "lvr" | "rvr" | "cvr" | "lvss" | "rvss" | "ts" | "lfe2" | "lb" | "rb" | "cb" | "lvs" | "rvs" | "lfe3" | "leos" | "reos" | "hwbcal" | "hwbcar" | "lbs" | "rbs" | "unknown";
7
+ };
8
+ sampleRate: 8000 | 11025 | 12000 | 16000 | 22050 | 24000 | 32000 | 44100 | 48000 | 64000 | 88200 | 96000;
7
9
  aacProfile: "main" | "lc" | "high";
8
10
  aac: {
9
11
  kind: "aac";
10
- profile: components["schemas"]["aacProfile"];
11
- sampleRate: components["schemas"]["SampleRate"];
12
+ profile: "main" | "lc" | "high";
13
+ sampleRate: 8000 | 11025 | 12000 | 16000 | 22050 | 24000 | 32000 | 44100 | 48000 | 64000 | 88200 | 96000;
12
14
  };
13
15
  opus: {
14
16
  kind: "opus";
15
17
  };
16
- codec: components["schemas"]["aac"] | components["schemas"]["opus"];
18
+ codec: {
19
+ kind: "aac";
20
+ profile: "main" | "lc" | "high";
21
+ sampleRate: 8000 | 11025 | 12000 | 16000 | 22050 | 24000 | 32000 | 44100 | 48000 | 64000 | 88200 | 96000;
22
+ } | {
23
+ kind: "opus";
24
+ };
17
25
  audioEncoderConfig: {
18
26
  id: string;
19
27
  displayName: string;
20
28
  notes?: string;
21
29
  renditionName: string;
22
- channelLayout: components["schemas"]["ChannelLayout"];
30
+ channelLayout: ("mono" | "stereo" | "surround" | "4.0" | "5.0" | "5.1" | "7.1" | "5.1.4" | "7.1.4") | ("l" | "r" | "c" | "lfe" | "ls" | "rs" | "lc" | "rc" | "lsr" | "rsr" | "cs" | "lsd" | "rsd" | "lss" | "rss" | "lw" | "rw" | "lv" | "rv" | "cv" | "lvr" | "rvr" | "cvr" | "lvss" | "rvss" | "ts" | "lfe2" | "lb" | "rb" | "cb" | "lvs" | "rvs" | "lfe3" | "leos" | "reos" | "hwbcal" | "hwbcar" | "lbs" | "rbs" | "unknown")[] | {
31
+ single: "l" | "r" | "c" | "lfe" | "ls" | "rs" | "lc" | "rc" | "lsr" | "rsr" | "cs" | "lsd" | "rsd" | "lss" | "rss" | "lw" | "rw" | "lv" | "rv" | "cv" | "lvr" | "rvr" | "cvr" | "lvss" | "rvss" | "ts" | "lfe2" | "lb" | "rb" | "cb" | "lvs" | "rvs" | "lfe3" | "leos" | "reos" | "hwbcal" | "hwbcar" | "lbs" | "rbs" | "unknown";
32
+ };
23
33
  bitrate: number;
24
- codec: components["schemas"]["codec"];
25
- };
26
- ChannelName: "l" | "r" | "c" | "lfe" | "ls" | "rs" | "lc" | "rc" | "lsr" | "rsr" | "cs" | "lsd" | "rsd" | "lss" | "rss" | "lw" | "rw" | "lv" | "rv" | "cv" | "lvr" | "rvr" | "cvr" | "lvss" | "rvss" | "ts" | "lfe2" | "lb" | "rb" | "cb" | "lvs" | "rvs" | "lfe3" | "leos" | "reos" | "hwbcal" | "hwbcar" | "lbs" | "rbs" | "unknown";
27
- ChannelLayout: ("mono" | "stereo" | "surround" | "4.0" | "5.0" | "5.1" | "7.1" | "5.1.4" | "7.1.4") | components["schemas"]["ChannelName"][] | {
28
- single: components["schemas"]["ChannelName"];
34
+ codec: {
35
+ kind: "aac";
36
+ profile: "main" | "lc" | "high";
37
+ sampleRate: 8000 | 11025 | 12000 | 16000 | 22050 | 24000 | 32000 | 44100 | 48000 | 64000 | 88200 | 96000;
38
+ } | {
39
+ kind: "opus";
40
+ };
29
41
  };
30
- SampleRate: 8000 | 11025 | 12000 | 16000 | 22050 | 24000 | 32000 | 44100 | 48000 | 64000 | 88200 | 96000;
31
42
  };
32
43
  responses: never;
33
44
  parameters: never;
@@ -0,0 +1,78 @@
1
+ openapi: 3.0.0
2
+ info:
3
+ title: Audio Encoder Component
4
+ version: 1.0.0
5
+
6
+ components:
7
+ schemas:
8
+ channelLayout:
9
+ $ref: '../../../core/src/types/base.yml#/components/schemas/ChannelLayout'
10
+
11
+ sampleRate:
12
+ $ref: '../../../core/src/types/base.yml#/components/schemas/SampleRate'
13
+
14
+ aacProfile:
15
+ type: string
16
+ enum:
17
+ - main
18
+ - lc
19
+ - high
20
+ description: AAC encoding profile
21
+
22
+ aac:
23
+ type: object
24
+ properties:
25
+ kind:
26
+ type: string
27
+ enum: ['aac']
28
+ profile:
29
+ $ref: '#/components/schemas/aacProfile'
30
+ sampleRate:
31
+ $ref: '#/components/schemas/sampleRate'
32
+ required: ['kind', 'profile', 'sampleRate']
33
+
34
+ opus:
35
+ type: object
36
+ properties:
37
+ kind:
38
+ type: string
39
+ enum: ['opus']
40
+ required: ['kind']
41
+
42
+ codec:
43
+ oneOf:
44
+ - $ref: '#/components/schemas/aac'
45
+ - $ref: '#/components/schemas/opus'
46
+ discriminator:
47
+ propertyName: kind
48
+
49
+ audioEncoderConfig:
50
+ type: object
51
+ properties:
52
+ id:
53
+ type: string
54
+ description: Unique identifier for the component
55
+ displayName:
56
+ type: string
57
+ description: Human-readable name for the component
58
+ notes:
59
+ type: string
60
+ description: Optional notes about the component configuration
61
+ renditionName:
62
+ type: string
63
+ description: Name of this rendition of encoded audio
64
+ channelLayout:
65
+ $ref: '#/components/schemas/channelLayout'
66
+ bitrate:
67
+ type: number
68
+ minimum: 4001
69
+ description: Bitrate in bits per second
70
+ codec:
71
+ $ref: '#/components/schemas/codec'
72
+ required:
73
+ - id
74
+ - displayName
75
+ - renditionName
76
+ - channelLayout
77
+ - bitrate
78
+ - codec
@@ -2,50 +2,124 @@ openapi: 3.0.0
2
2
  info:
3
3
  title: Audio Encoder Component
4
4
  version: 1.0.0
5
-
6
5
  components:
7
6
  schemas:
8
- channelLayout:
9
- $ref: '../../../core/src/types/base.yml#/components/schemas/ChannelLayout'
10
-
11
- sampleRate:
12
- $ref: '../../../core/src/types/base.yml#/components/schemas/SampleRate'
13
-
14
- aacProfile:
7
+ channelLayout: &a6
8
+ description: Channel layout for an audio stream. Can be one of several string
9
+ presets, an array of channel names, or an object with a single property.
10
+ oneOf:
11
+ - type: string
12
+ enum:
13
+ - mono
14
+ - stereo
15
+ - surround
16
+ - "4.0"
17
+ - "5.0"
18
+ - "5.1"
19
+ - "7.1"
20
+ - 5.1.4
21
+ - 7.1.4
22
+ - type: array
23
+ items: &a1
24
+ type: string
25
+ enum:
26
+ - l
27
+ - r
28
+ - c
29
+ - lfe
30
+ - ls
31
+ - rs
32
+ - lc
33
+ - rc
34
+ - lsr
35
+ - rsr
36
+ - cs
37
+ - lsd
38
+ - rsd
39
+ - lss
40
+ - rss
41
+ - lw
42
+ - rw
43
+ - lv
44
+ - rv
45
+ - cv
46
+ - lvr
47
+ - rvr
48
+ - cvr
49
+ - lvss
50
+ - rvss
51
+ - ts
52
+ - lfe2
53
+ - lb
54
+ - rb
55
+ - cb
56
+ - lvs
57
+ - rvs
58
+ - lfe3
59
+ - leos
60
+ - reos
61
+ - hwbcal
62
+ - hwbcar
63
+ - lbs
64
+ - rbs
65
+ - unknown
66
+ - type: object
67
+ properties:
68
+ single: *a1
69
+ required:
70
+ - single
71
+ sampleRate: &a3
72
+ type: integer
73
+ enum:
74
+ - 8000
75
+ - 11025
76
+ - 12000
77
+ - 16000
78
+ - 22050
79
+ - 24000
80
+ - 32000
81
+ - 44100
82
+ - 48000
83
+ - 64000
84
+ - 88200
85
+ - 96000
86
+ description: Possible sample rates in Hz.
87
+ example: 48000
88
+ aacProfile: &a2
15
89
  type: string
16
90
  enum:
17
91
  - main
18
92
  - lc
19
93
  - high
20
94
  description: AAC encoding profile
21
-
22
- aac:
95
+ aac: &a4
23
96
  type: object
24
97
  properties:
25
98
  kind:
26
99
  type: string
27
- enum: ['aac']
28
- profile:
29
- $ref: '#/components/schemas/aacProfile'
30
- sampleRate:
31
- $ref: '#/components/schemas/sampleRate'
32
- required: ['kind', 'profile', 'sampleRate']
33
-
34
- opus:
100
+ enum:
101
+ - aac
102
+ profile: *a2
103
+ sampleRate: *a3
104
+ required:
105
+ - kind
106
+ - profile
107
+ - sampleRate
108
+ opus: &a5
35
109
  type: object
36
110
  properties:
37
111
  kind:
38
112
  type: string
39
- enum: ['opus']
40
- required: ['kind']
41
-
42
- codec:
113
+ enum:
114
+ - opus
115
+ required:
116
+ - kind
117
+ codec: &a7
43
118
  oneOf:
44
- - $ref: '#/components/schemas/aac'
45
- - $ref: '#/components/schemas/opus'
119
+ - *a4
120
+ - *a5
46
121
  discriminator:
47
122
  propertyName: kind
48
-
49
123
  audioEncoderConfig:
50
124
  type: object
51
125
  properties:
@@ -61,14 +135,12 @@ components:
61
135
  renditionName:
62
136
  type: string
63
137
  description: Name of this rendition of encoded audio
64
- channelLayout:
65
- $ref: '#/components/schemas/channelLayout'
138
+ channelLayout: *a6
66
139
  bitrate:
67
140
  type: number
68
141
  minimum: 4001
69
142
  description: Bitrate in bits per second
70
- codec:
71
- $ref: '#/components/schemas/codec'
143
+ codec: *a7
72
144
  required:
73
145
  - id
74
146
  - displayName
@@ -1,7 +1,6 @@
1
1
  import type Registration from "@norskvideo/norsk-studio/lib/extension/registration";
2
2
  import type { FixedLadderConfig } from "./runtime";
3
3
  import type { ResolutionName } from "@norskvideo/norsk-studio/lib/extension/common";
4
- import type { components } from "./types";
5
4
  export default function ({ defineComponent, common: { FrameRates }, }: Registration): import("@norskvideo/norsk-studio/lib/extension/client-types").NodeInfo<FixedLadderConfig, object, object, object>;
6
5
  type AddH264<T extends ResolutionName> = `h264_${T}`;
7
6
  export type RungName = AddH264<ResolutionName>;
@@ -9,14 +8,113 @@ export declare const rungNames: RungName[];
9
8
  export declare function createSoftwareRung(rung: RungName): {
10
9
  width: number;
11
10
  height: number;
12
- codec: components["schemas"]["x264Codec"] | components["schemas"]["x265Codec"];
13
- frameRate: components["schemas"]["FrameRate"];
11
+ codec: {
12
+ type: "x264";
13
+ threads?: number;
14
+ bitrateMode?: {
15
+ value: number;
16
+ mode: "abr" | "cqp" | "crf";
17
+ };
18
+ profile?: "baseline" | "main" | "high" | "high10" | "high422" | "high444";
19
+ level?: 1 | 1.1 | 1.2 | 1.3 | 2 | 2.1 | 2.2 | 3 | 3.1 | 3.2 | 4 | 4.1 | 4.2 | 5 | 5.1;
20
+ keyFrameIntervalMin?: number;
21
+ keyFrameIntervalMax?: number;
22
+ bframes?: number;
23
+ tune?: "film" | "animation" | "grain" | "stillimage" | "psnr" | "ssim" | "fastdecode" | "zerolatency";
24
+ preset?: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo";
25
+ frameReference?: number;
26
+ cabac?: boolean;
27
+ vbvMaxRate?: number;
28
+ vbvBufferSize?: number;
29
+ sceneCut?: number;
30
+ aud?: boolean;
31
+ noDeblock?: boolean;
32
+ nalHrd?: "none" | "vbr" | "cbr";
33
+ } | {
34
+ type: "x265";
35
+ threads?: number;
36
+ bitrateMode?: {
37
+ value: number;
38
+ mode: "abr" | "cqp" | "crf";
39
+ };
40
+ profile?: "main" | "main10" | "main444_8" | "main422_10" | "main444_10";
41
+ level?: 1 | 2 | 2.1 | 3 | 3.1 | 4 | 4.1 | 5 | 5.1 | 5.2 | 6 | 6.1 | 6.2;
42
+ tier?: "main" | "high";
43
+ keyFrameIntervalMin?: number;
44
+ keyFrameIntervalMax?: number;
45
+ bframes?: number;
46
+ tune?: "psnr" | "ssim" | "grain" | "zerolatency" | "fastdecode" | "animation";
47
+ preset?: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo";
48
+ frameReference?: number;
49
+ vbvMaxRate?: number;
50
+ vbvBufferSize?: number;
51
+ sceneCut?: number;
52
+ aud?: boolean;
53
+ noDeblock?: boolean;
54
+ };
55
+ frameRate: {
56
+ frames: number;
57
+ seconds: number;
58
+ };
14
59
  };
15
60
  export declare function createNvidiaRung(rung: RungName): {
16
61
  width: number;
17
62
  height: number;
18
- codec: components["schemas"]["nvidiaH264Codec"] | components["schemas"]["nvidiaHEVCCodec"];
19
- frameRate: components["schemas"]["FrameRate"];
63
+ codec: {
64
+ type: "nv-h264";
65
+ preset?: "p1" | "p2" | "p3" | "p4" | "p5" | "p6" | "p7";
66
+ tuning?: "high_quality" | "low_latency" | "ultra_low_latency" | "lossless";
67
+ idrPeriod?: number;
68
+ gopInterval?: number;
69
+ frameIntervalP?: number;
70
+ maxNumRefFrames?: number;
71
+ level?: 1 | 2 | 2.1 | 3 | 3.1 | 4 | 4.1 | 5 | 5.1 | 5.2 | 6 | 6.1 | 6.2;
72
+ profile?: "baseline" | "main" | "high" | "high444";
73
+ outputAud?: boolean;
74
+ rateControl?: {
75
+ mode: "con_stqp" | "vbr" | "cbr";
76
+ averageBitrate: number;
77
+ maxBitrate?: number;
78
+ vbvBufferSize?: number;
79
+ vbvInitialDelay?: number;
80
+ enableLookahead?: boolean;
81
+ strictGopTarget?: boolean;
82
+ lookaheadDepth?: number;
83
+ enableTemporalAQ?: boolean;
84
+ enableSpatialAQ?: boolean;
85
+ aqStrength?: number;
86
+ };
87
+ useBFramesAsRef?: "disabled" | "each" | "middle";
88
+ } | {
89
+ type: "nv-hevc";
90
+ preset?: "p1" | "p2" | "p3" | "p4" | "p5" | "p6" | "p7";
91
+ tuning?: "high_quality" | "low_latency" | "ultra_low_latency" | "lossless";
92
+ idrPeriod?: number;
93
+ gopInterval?: number;
94
+ frameIntervalP?: number;
95
+ level?: 1 | 2 | 2.1 | 3 | 3.1 | 4 | 4.1 | 5 | 5.1 | 5.2 | 6 | 6.1 | 6.2;
96
+ profile?: "main" | "main10";
97
+ outputAud?: boolean;
98
+ tier?: "main" | "high";
99
+ rateControl?: {
100
+ mode: "con_stqp" | "vbr" | "cbr";
101
+ averageBitrate: number;
102
+ maxBitrate?: number;
103
+ vbvBufferSize?: number;
104
+ vbvInitialDelay?: number;
105
+ enableLookahead?: boolean;
106
+ strictGopTarget?: boolean;
107
+ lookaheadDepth?: number;
108
+ enableTemporalAQ?: boolean;
109
+ enableSpatialAQ?: boolean;
110
+ aqStrength?: number;
111
+ };
112
+ useBFramesAsRef?: "disabled" | "each" | "middle";
113
+ };
114
+ frameRate: {
115
+ frames: number;
116
+ seconds: number;
117
+ };
20
118
  };
21
119
  export declare function createQuadraRung(rung: RungName): {
22
120
  width: number;
@@ -25,7 +123,84 @@ export declare function createQuadraRung(rung: RungName): {
25
123
  type: "quadra";
26
124
  rescaler: "default" | "filterblit" | "bicubic";
27
125
  };
28
- codec: components["schemas"]["quadraH264Codec"] | components["schemas"]["quadraHEVCCodec"] | components["schemas"]["quadraAV1Codec"];
29
- frameRate: components["schemas"]["FrameRate"];
126
+ codec: {
127
+ type: "quadra-h264";
128
+ extraOpts?: string;
129
+ enableAud?: boolean;
130
+ gpuIndex?: number;
131
+ bitrate?: number;
132
+ enableVfr?: boolean;
133
+ crf?: number;
134
+ gopPresetIndex?: number;
135
+ intraPeriod?: number;
136
+ rcEnable?: boolean;
137
+ intraQp?: number;
138
+ rcInitDelay?: number;
139
+ profile?: "baseline" | "main" | "extended" | "high" | "high10";
140
+ level?: 1 | 2 | 2.1 | 3 | 3.1 | 4 | 4.1 | 5 | 5.1 | 5.2 | 6 | 6.1 | 6.2;
141
+ fillerEnable?: boolean;
142
+ minQp?: number;
143
+ maxQp?: number;
144
+ maxDeltaQp?: number;
145
+ cuLevelRCEnable?: boolean;
146
+ lookAheadDepth?: number;
147
+ vbvBufferSize?: number;
148
+ vbvMaxRate?: number;
149
+ } | {
150
+ type: "quadra-hevc";
151
+ extraOpts?: string;
152
+ enableAud?: boolean;
153
+ gpuIndex?: number;
154
+ bitrate?: number;
155
+ enableVfr?: boolean;
156
+ crf?: number;
157
+ gopPresetIndex?: number;
158
+ intraPeriod?: number;
159
+ rcEnable?: boolean;
160
+ intraQp?: number;
161
+ rcInitDelay?: number;
162
+ profile?: "main" | "main10";
163
+ level?: 1 | 2 | 2.1 | 3 | 3.1 | 4 | 4.1 | 5 | 5.1 | 5.2 | 6 | 6.1 | 6.2;
164
+ tier?: "main" | "high";
165
+ lossless?: boolean;
166
+ hrdEnable?: boolean;
167
+ dolbyVisionProfile?: number;
168
+ fillerEnable?: boolean;
169
+ minQp?: number;
170
+ maxQp?: number;
171
+ maxDeltaQp?: number;
172
+ cuLevelRCEnable?: boolean;
173
+ lookAheadDepth?: number;
174
+ vbvBufferSize?: number;
175
+ vbvMaxRate?: number;
176
+ } | {
177
+ type: "quadra-av1";
178
+ extraOpts?: string;
179
+ enableAud?: boolean;
180
+ gpuIndex?: number;
181
+ bitrate?: number;
182
+ enableVfr?: boolean;
183
+ crf?: number;
184
+ gopPresetIndex?: number;
185
+ intraPeriod?: number;
186
+ rcEnable?: boolean;
187
+ intraQp?: number;
188
+ rcInitDelay?: number;
189
+ profile?: "main_420_8";
190
+ tier?: "main" | "high";
191
+ level?: 1 | 2 | 2.1 | 3 | 3.1 | 4 | 4.1 | 5 | 5.1 | 5.2 | 6 | 6.1 | 6.2;
192
+ fillerEnable?: boolean;
193
+ minQp?: number;
194
+ maxQp?: number;
195
+ maxDeltaQp?: number;
196
+ cuLevelRCEnable?: boolean;
197
+ lookAheadDepth?: number;
198
+ vbvBufferSize?: number;
199
+ vbvMaxRate?: number;
200
+ };
201
+ frameRate: {
202
+ frames: number;
203
+ seconds: number;
204
+ };
30
205
  };
31
206
  export {};