@editframe/vite-plugin 0.25.0-beta.0 → 0.25.1-beta.0

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.
@@ -1,761 +0,0 @@
1
- import { z } from "zod";
2
- import type { Client } from "../client.js";
3
- export declare const AudioStreamSchema: z.ZodObject<{
4
- index: z.ZodNumber;
5
- codec_name: z.ZodString;
6
- codec_long_name: z.ZodString;
7
- codec_type: z.ZodLiteral<"audio">;
8
- codec_tag_string: z.ZodString;
9
- codec_tag: z.ZodString;
10
- sample_fmt: z.ZodString;
11
- sample_rate: z.ZodString;
12
- channels: z.ZodNumber;
13
- channel_layout: z.ZodOptional<z.ZodString>;
14
- bits_per_sample: z.ZodNumber;
15
- initial_padding: z.ZodOptional<z.ZodNumber>;
16
- r_frame_rate: z.ZodString;
17
- avg_frame_rate: z.ZodString;
18
- time_base: z.ZodString;
19
- start_pts: z.ZodOptional<z.ZodNumber>;
20
- start_time: z.ZodOptional<z.ZodNumber>;
21
- duration_ts: z.ZodNumber;
22
- duration: z.ZodNumber;
23
- bit_rate: z.ZodString;
24
- disposition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
25
- }, "strip", z.ZodTypeAny, {
26
- index: number;
27
- codec_name: string;
28
- codec_long_name: string;
29
- codec_type: "audio";
30
- codec_tag_string: string;
31
- codec_tag: string;
32
- sample_fmt: string;
33
- sample_rate: string;
34
- channels: number;
35
- bits_per_sample: number;
36
- r_frame_rate: string;
37
- avg_frame_rate: string;
38
- time_base: string;
39
- duration_ts: number;
40
- duration: number;
41
- bit_rate: string;
42
- disposition: Record<string, unknown>;
43
- channel_layout?: string | undefined;
44
- initial_padding?: number | undefined;
45
- start_pts?: number | undefined;
46
- start_time?: number | undefined;
47
- }, {
48
- index: number;
49
- codec_name: string;
50
- codec_long_name: string;
51
- codec_type: "audio";
52
- codec_tag_string: string;
53
- codec_tag: string;
54
- sample_fmt: string;
55
- sample_rate: string;
56
- channels: number;
57
- bits_per_sample: number;
58
- r_frame_rate: string;
59
- avg_frame_rate: string;
60
- time_base: string;
61
- duration_ts: number;
62
- duration: number;
63
- bit_rate: string;
64
- disposition: Record<string, unknown>;
65
- channel_layout?: string | undefined;
66
- initial_padding?: number | undefined;
67
- start_pts?: number | undefined;
68
- start_time?: number | undefined;
69
- }>;
70
- export interface AudioStreamSchema {
71
- /** The index of the stream in the file */
72
- index: number;
73
- /** The name of the codec */
74
- codec_name: string;
75
- /** The long name of the codec */
76
- codec_long_name: string;
77
- /** The type of the codec */
78
- codec_type: "audio";
79
- /** The tag string of the codec */
80
- codec_tag_string: string;
81
- /** The tag of the codec */
82
- codec_tag: string;
83
- /** The sample format */
84
- sample_fmt: string;
85
- /** The sample rate */
86
- sample_rate: string;
87
- /** The number of channels */
88
- channels: number;
89
- /** The channel layout */
90
- channel_layout?: string;
91
- /** The number of bits per sample */
92
- bits_per_sample: number;
93
- /** The initial padding */
94
- initial_padding?: number;
95
- /** The frame rate */
96
- r_frame_rate: string;
97
- /** The average frame rate */
98
- avg_frame_rate: string;
99
- /** The time base */
100
- time_base: string;
101
- /** The start presentation timestamp */
102
- start_pts?: number;
103
- /** The start time */
104
- start_time?: number;
105
- /** The duration timestamp */
106
- duration_ts: number;
107
- /** The duration */
108
- duration: number;
109
- /** The bit rate */
110
- bit_rate: string;
111
- /** The disposition record. Subject to change, not documented. */
112
- disposition: Record<string, unknown>;
113
- }
114
- export declare const VideoStreamSchema: z.ZodObject<{
115
- index: z.ZodNumber;
116
- codec_name: z.ZodString;
117
- codec_long_name: z.ZodString;
118
- codec_type: z.ZodLiteral<"video">;
119
- codec_tag_string: z.ZodString;
120
- codec_tag: z.ZodString;
121
- width: z.ZodNumber;
122
- height: z.ZodNumber;
123
- coded_width: z.ZodNumber;
124
- coded_height: z.ZodNumber;
125
- r_frame_rate: z.ZodString;
126
- avg_frame_rate: z.ZodString;
127
- time_base: z.ZodString;
128
- start_pts: z.ZodOptional<z.ZodNumber>;
129
- start_time: z.ZodOptional<z.ZodNumber>;
130
- duration_ts: z.ZodOptional<z.ZodNumber>;
131
- duration: z.ZodOptional<z.ZodNumber>;
132
- bit_rate: z.ZodOptional<z.ZodString>;
133
- disposition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
134
- }, "strip", z.ZodTypeAny, {
135
- height: number;
136
- width: number;
137
- index: number;
138
- codec_name: string;
139
- codec_long_name: string;
140
- codec_type: "video";
141
- codec_tag_string: string;
142
- codec_tag: string;
143
- r_frame_rate: string;
144
- avg_frame_rate: string;
145
- time_base: string;
146
- disposition: Record<string, unknown>;
147
- coded_width: number;
148
- coded_height: number;
149
- start_pts?: number | undefined;
150
- start_time?: number | undefined;
151
- duration_ts?: number | undefined;
152
- duration?: number | undefined;
153
- bit_rate?: string | undefined;
154
- }, {
155
- height: number;
156
- width: number;
157
- index: number;
158
- codec_name: string;
159
- codec_long_name: string;
160
- codec_type: "video";
161
- codec_tag_string: string;
162
- codec_tag: string;
163
- r_frame_rate: string;
164
- avg_frame_rate: string;
165
- time_base: string;
166
- disposition: Record<string, unknown>;
167
- coded_width: number;
168
- coded_height: number;
169
- start_pts?: number | undefined;
170
- start_time?: number | undefined;
171
- duration_ts?: number | undefined;
172
- duration?: number | undefined;
173
- bit_rate?: string | undefined;
174
- }>;
175
- export interface VideoStreamSchema {
176
- /** The index of the stream in the file */
177
- index: number;
178
- /** The name of the codec */
179
- codec_name: string;
180
- /** The long name of the codec */
181
- codec_long_name: string;
182
- /** The type of the codec */
183
- codec_type: "video";
184
- /** The tag string of the codec */
185
- codec_tag_string: string;
186
- /** The tag of the codec */
187
- codec_tag: string;
188
- /** The width */
189
- width: number;
190
- /** The height */
191
- height: number;
192
- /** The coded width */
193
- coded_width: number;
194
- /** The coded height */
195
- coded_height: number;
196
- /** The frame rate */
197
- r_frame_rate: string;
198
- /** The average frame rate */
199
- avg_frame_rate: string;
200
- /** The time base */
201
- time_base: string;
202
- /** The start presentation timestamp */
203
- start_pts?: number;
204
- /** The start time */
205
- start_time?: number;
206
- /** The duration timestamp */
207
- duration_ts?: number;
208
- /** The duration */
209
- duration?: number;
210
- /** The bit rate */
211
- bit_rate?: string;
212
- /** The disposition record. Subject to change, not documented. */
213
- disposition: Record<string, unknown>;
214
- }
215
- export declare const AudioTrackPayload: z.ZodObject<{
216
- file_id: z.ZodString;
217
- track_id: z.ZodNumber;
218
- type: z.ZodLiteral<"audio">;
219
- probe_info: z.ZodObject<{
220
- index: z.ZodNumber;
221
- codec_name: z.ZodString;
222
- codec_long_name: z.ZodString;
223
- codec_type: z.ZodLiteral<"audio">;
224
- codec_tag_string: z.ZodString;
225
- codec_tag: z.ZodString;
226
- sample_fmt: z.ZodString;
227
- sample_rate: z.ZodString;
228
- channels: z.ZodNumber;
229
- channel_layout: z.ZodOptional<z.ZodString>;
230
- bits_per_sample: z.ZodNumber;
231
- initial_padding: z.ZodOptional<z.ZodNumber>;
232
- r_frame_rate: z.ZodString;
233
- avg_frame_rate: z.ZodString;
234
- time_base: z.ZodString;
235
- start_pts: z.ZodOptional<z.ZodNumber>;
236
- start_time: z.ZodOptional<z.ZodNumber>;
237
- duration_ts: z.ZodNumber;
238
- duration: z.ZodNumber;
239
- bit_rate: z.ZodString;
240
- disposition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
241
- }, "strip", z.ZodTypeAny, {
242
- index: number;
243
- codec_name: string;
244
- codec_long_name: string;
245
- codec_type: "audio";
246
- codec_tag_string: string;
247
- codec_tag: string;
248
- sample_fmt: string;
249
- sample_rate: string;
250
- channels: number;
251
- bits_per_sample: number;
252
- r_frame_rate: string;
253
- avg_frame_rate: string;
254
- time_base: string;
255
- duration_ts: number;
256
- duration: number;
257
- bit_rate: string;
258
- disposition: Record<string, unknown>;
259
- channel_layout?: string | undefined;
260
- initial_padding?: number | undefined;
261
- start_pts?: number | undefined;
262
- start_time?: number | undefined;
263
- }, {
264
- index: number;
265
- codec_name: string;
266
- codec_long_name: string;
267
- codec_type: "audio";
268
- codec_tag_string: string;
269
- codec_tag: string;
270
- sample_fmt: string;
271
- sample_rate: string;
272
- channels: number;
273
- bits_per_sample: number;
274
- r_frame_rate: string;
275
- avg_frame_rate: string;
276
- time_base: string;
277
- duration_ts: number;
278
- duration: number;
279
- bit_rate: string;
280
- disposition: Record<string, unknown>;
281
- channel_layout?: string | undefined;
282
- initial_padding?: number | undefined;
283
- start_pts?: number | undefined;
284
- start_time?: number | undefined;
285
- }>;
286
- duration_ms: z.ZodNumber;
287
- codec_name: z.ZodString;
288
- byte_size: z.ZodNumber;
289
- }, "strip", z.ZodTypeAny, {
290
- type: "audio";
291
- byte_size: number;
292
- codec_name: string;
293
- file_id: string;
294
- track_id: number;
295
- probe_info: {
296
- index: number;
297
- codec_name: string;
298
- codec_long_name: string;
299
- codec_type: "audio";
300
- codec_tag_string: string;
301
- codec_tag: string;
302
- sample_fmt: string;
303
- sample_rate: string;
304
- channels: number;
305
- bits_per_sample: number;
306
- r_frame_rate: string;
307
- avg_frame_rate: string;
308
- time_base: string;
309
- duration_ts: number;
310
- duration: number;
311
- bit_rate: string;
312
- disposition: Record<string, unknown>;
313
- channel_layout?: string | undefined;
314
- initial_padding?: number | undefined;
315
- start_pts?: number | undefined;
316
- start_time?: number | undefined;
317
- };
318
- duration_ms: number;
319
- }, {
320
- type: "audio";
321
- byte_size: number;
322
- codec_name: string;
323
- file_id: string;
324
- track_id: number;
325
- probe_info: {
326
- index: number;
327
- codec_name: string;
328
- codec_long_name: string;
329
- codec_type: "audio";
330
- codec_tag_string: string;
331
- codec_tag: string;
332
- sample_fmt: string;
333
- sample_rate: string;
334
- channels: number;
335
- bits_per_sample: number;
336
- r_frame_rate: string;
337
- avg_frame_rate: string;
338
- time_base: string;
339
- duration_ts: number;
340
- duration: number;
341
- bit_rate: string;
342
- disposition: Record<string, unknown>;
343
- channel_layout?: string | undefined;
344
- initial_padding?: number | undefined;
345
- start_pts?: number | undefined;
346
- start_time?: number | undefined;
347
- };
348
- duration_ms: number;
349
- }>;
350
- export interface AudioTrackPayload {
351
- file_id: string;
352
- track_id: number;
353
- type: "audio";
354
- probe_info: AudioStreamSchema;
355
- duration_ms: number;
356
- codec_name: string;
357
- byte_size: number;
358
- }
359
- export declare const VideoTrackPayload: z.ZodObject<{
360
- file_id: z.ZodString;
361
- track_id: z.ZodNumber;
362
- type: z.ZodLiteral<"video">;
363
- probe_info: z.ZodObject<{
364
- index: z.ZodNumber;
365
- codec_name: z.ZodString;
366
- codec_long_name: z.ZodString;
367
- codec_type: z.ZodLiteral<"video">;
368
- codec_tag_string: z.ZodString;
369
- codec_tag: z.ZodString;
370
- width: z.ZodNumber;
371
- height: z.ZodNumber;
372
- coded_width: z.ZodNumber;
373
- coded_height: z.ZodNumber;
374
- r_frame_rate: z.ZodString;
375
- avg_frame_rate: z.ZodString;
376
- time_base: z.ZodString;
377
- start_pts: z.ZodOptional<z.ZodNumber>;
378
- start_time: z.ZodOptional<z.ZodNumber>;
379
- duration_ts: z.ZodOptional<z.ZodNumber>;
380
- duration: z.ZodOptional<z.ZodNumber>;
381
- bit_rate: z.ZodOptional<z.ZodString>;
382
- disposition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
383
- }, "strip", z.ZodTypeAny, {
384
- height: number;
385
- width: number;
386
- index: number;
387
- codec_name: string;
388
- codec_long_name: string;
389
- codec_type: "video";
390
- codec_tag_string: string;
391
- codec_tag: string;
392
- r_frame_rate: string;
393
- avg_frame_rate: string;
394
- time_base: string;
395
- disposition: Record<string, unknown>;
396
- coded_width: number;
397
- coded_height: number;
398
- start_pts?: number | undefined;
399
- start_time?: number | undefined;
400
- duration_ts?: number | undefined;
401
- duration?: number | undefined;
402
- bit_rate?: string | undefined;
403
- }, {
404
- height: number;
405
- width: number;
406
- index: number;
407
- codec_name: string;
408
- codec_long_name: string;
409
- codec_type: "video";
410
- codec_tag_string: string;
411
- codec_tag: string;
412
- r_frame_rate: string;
413
- avg_frame_rate: string;
414
- time_base: string;
415
- disposition: Record<string, unknown>;
416
- coded_width: number;
417
- coded_height: number;
418
- start_pts?: number | undefined;
419
- start_time?: number | undefined;
420
- duration_ts?: number | undefined;
421
- duration?: number | undefined;
422
- bit_rate?: string | undefined;
423
- }>;
424
- duration_ms: z.ZodNumber;
425
- codec_name: z.ZodString;
426
- byte_size: z.ZodNumber;
427
- }, "strip", z.ZodTypeAny, {
428
- type: "video";
429
- byte_size: number;
430
- codec_name: string;
431
- file_id: string;
432
- track_id: number;
433
- probe_info: {
434
- height: number;
435
- width: number;
436
- index: number;
437
- codec_name: string;
438
- codec_long_name: string;
439
- codec_type: "video";
440
- codec_tag_string: string;
441
- codec_tag: string;
442
- r_frame_rate: string;
443
- avg_frame_rate: string;
444
- time_base: string;
445
- disposition: Record<string, unknown>;
446
- coded_width: number;
447
- coded_height: number;
448
- start_pts?: number | undefined;
449
- start_time?: number | undefined;
450
- duration_ts?: number | undefined;
451
- duration?: number | undefined;
452
- bit_rate?: string | undefined;
453
- };
454
- duration_ms: number;
455
- }, {
456
- type: "video";
457
- byte_size: number;
458
- codec_name: string;
459
- file_id: string;
460
- track_id: number;
461
- probe_info: {
462
- height: number;
463
- width: number;
464
- index: number;
465
- codec_name: string;
466
- codec_long_name: string;
467
- codec_type: "video";
468
- codec_tag_string: string;
469
- codec_tag: string;
470
- r_frame_rate: string;
471
- avg_frame_rate: string;
472
- time_base: string;
473
- disposition: Record<string, unknown>;
474
- coded_width: number;
475
- coded_height: number;
476
- start_pts?: number | undefined;
477
- start_time?: number | undefined;
478
- duration_ts?: number | undefined;
479
- duration?: number | undefined;
480
- bit_rate?: string | undefined;
481
- };
482
- duration_ms: number;
483
- }>;
484
- export interface VideoTrackPayload {
485
- file_id: string;
486
- track_id: number;
487
- type: "video";
488
- probe_info: VideoStreamSchema;
489
- duration_ms: number;
490
- codec_name: string;
491
- byte_size: number;
492
- }
493
- export declare const CreateISOBMFFTrackPayload: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
494
- file_id: z.ZodString;
495
- track_id: z.ZodNumber;
496
- type: z.ZodLiteral<"audio">;
497
- probe_info: z.ZodObject<{
498
- index: z.ZodNumber;
499
- codec_name: z.ZodString;
500
- codec_long_name: z.ZodString;
501
- codec_type: z.ZodLiteral<"audio">;
502
- codec_tag_string: z.ZodString;
503
- codec_tag: z.ZodString;
504
- sample_fmt: z.ZodString;
505
- sample_rate: z.ZodString;
506
- channels: z.ZodNumber;
507
- channel_layout: z.ZodOptional<z.ZodString>;
508
- bits_per_sample: z.ZodNumber;
509
- initial_padding: z.ZodOptional<z.ZodNumber>;
510
- r_frame_rate: z.ZodString;
511
- avg_frame_rate: z.ZodString;
512
- time_base: z.ZodString;
513
- start_pts: z.ZodOptional<z.ZodNumber>;
514
- start_time: z.ZodOptional<z.ZodNumber>;
515
- duration_ts: z.ZodNumber;
516
- duration: z.ZodNumber;
517
- bit_rate: z.ZodString;
518
- disposition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
519
- }, "strip", z.ZodTypeAny, {
520
- index: number;
521
- codec_name: string;
522
- codec_long_name: string;
523
- codec_type: "audio";
524
- codec_tag_string: string;
525
- codec_tag: string;
526
- sample_fmt: string;
527
- sample_rate: string;
528
- channels: number;
529
- bits_per_sample: number;
530
- r_frame_rate: string;
531
- avg_frame_rate: string;
532
- time_base: string;
533
- duration_ts: number;
534
- duration: number;
535
- bit_rate: string;
536
- disposition: Record<string, unknown>;
537
- channel_layout?: string | undefined;
538
- initial_padding?: number | undefined;
539
- start_pts?: number | undefined;
540
- start_time?: number | undefined;
541
- }, {
542
- index: number;
543
- codec_name: string;
544
- codec_long_name: string;
545
- codec_type: "audio";
546
- codec_tag_string: string;
547
- codec_tag: string;
548
- sample_fmt: string;
549
- sample_rate: string;
550
- channels: number;
551
- bits_per_sample: number;
552
- r_frame_rate: string;
553
- avg_frame_rate: string;
554
- time_base: string;
555
- duration_ts: number;
556
- duration: number;
557
- bit_rate: string;
558
- disposition: Record<string, unknown>;
559
- channel_layout?: string | undefined;
560
- initial_padding?: number | undefined;
561
- start_pts?: number | undefined;
562
- start_time?: number | undefined;
563
- }>;
564
- duration_ms: z.ZodNumber;
565
- codec_name: z.ZodString;
566
- byte_size: z.ZodNumber;
567
- }, "strip", z.ZodTypeAny, {
568
- type: "audio";
569
- byte_size: number;
570
- codec_name: string;
571
- file_id: string;
572
- track_id: number;
573
- probe_info: {
574
- index: number;
575
- codec_name: string;
576
- codec_long_name: string;
577
- codec_type: "audio";
578
- codec_tag_string: string;
579
- codec_tag: string;
580
- sample_fmt: string;
581
- sample_rate: string;
582
- channels: number;
583
- bits_per_sample: number;
584
- r_frame_rate: string;
585
- avg_frame_rate: string;
586
- time_base: string;
587
- duration_ts: number;
588
- duration: number;
589
- bit_rate: string;
590
- disposition: Record<string, unknown>;
591
- channel_layout?: string | undefined;
592
- initial_padding?: number | undefined;
593
- start_pts?: number | undefined;
594
- start_time?: number | undefined;
595
- };
596
- duration_ms: number;
597
- }, {
598
- type: "audio";
599
- byte_size: number;
600
- codec_name: string;
601
- file_id: string;
602
- track_id: number;
603
- probe_info: {
604
- index: number;
605
- codec_name: string;
606
- codec_long_name: string;
607
- codec_type: "audio";
608
- codec_tag_string: string;
609
- codec_tag: string;
610
- sample_fmt: string;
611
- sample_rate: string;
612
- channels: number;
613
- bits_per_sample: number;
614
- r_frame_rate: string;
615
- avg_frame_rate: string;
616
- time_base: string;
617
- duration_ts: number;
618
- duration: number;
619
- bit_rate: string;
620
- disposition: Record<string, unknown>;
621
- channel_layout?: string | undefined;
622
- initial_padding?: number | undefined;
623
- start_pts?: number | undefined;
624
- start_time?: number | undefined;
625
- };
626
- duration_ms: number;
627
- }>, z.ZodObject<{
628
- file_id: z.ZodString;
629
- track_id: z.ZodNumber;
630
- type: z.ZodLiteral<"video">;
631
- probe_info: z.ZodObject<{
632
- index: z.ZodNumber;
633
- codec_name: z.ZodString;
634
- codec_long_name: z.ZodString;
635
- codec_type: z.ZodLiteral<"video">;
636
- codec_tag_string: z.ZodString;
637
- codec_tag: z.ZodString;
638
- width: z.ZodNumber;
639
- height: z.ZodNumber;
640
- coded_width: z.ZodNumber;
641
- coded_height: z.ZodNumber;
642
- r_frame_rate: z.ZodString;
643
- avg_frame_rate: z.ZodString;
644
- time_base: z.ZodString;
645
- start_pts: z.ZodOptional<z.ZodNumber>;
646
- start_time: z.ZodOptional<z.ZodNumber>;
647
- duration_ts: z.ZodOptional<z.ZodNumber>;
648
- duration: z.ZodOptional<z.ZodNumber>;
649
- bit_rate: z.ZodOptional<z.ZodString>;
650
- disposition: z.ZodRecord<z.ZodString, z.ZodUnknown>;
651
- }, "strip", z.ZodTypeAny, {
652
- height: number;
653
- width: number;
654
- index: number;
655
- codec_name: string;
656
- codec_long_name: string;
657
- codec_type: "video";
658
- codec_tag_string: string;
659
- codec_tag: string;
660
- r_frame_rate: string;
661
- avg_frame_rate: string;
662
- time_base: string;
663
- disposition: Record<string, unknown>;
664
- coded_width: number;
665
- coded_height: number;
666
- start_pts?: number | undefined;
667
- start_time?: number | undefined;
668
- duration_ts?: number | undefined;
669
- duration?: number | undefined;
670
- bit_rate?: string | undefined;
671
- }, {
672
- height: number;
673
- width: number;
674
- index: number;
675
- codec_name: string;
676
- codec_long_name: string;
677
- codec_type: "video";
678
- codec_tag_string: string;
679
- codec_tag: string;
680
- r_frame_rate: string;
681
- avg_frame_rate: string;
682
- time_base: string;
683
- disposition: Record<string, unknown>;
684
- coded_width: number;
685
- coded_height: number;
686
- start_pts?: number | undefined;
687
- start_time?: number | undefined;
688
- duration_ts?: number | undefined;
689
- duration?: number | undefined;
690
- bit_rate?: string | undefined;
691
- }>;
692
- duration_ms: z.ZodNumber;
693
- codec_name: z.ZodString;
694
- byte_size: z.ZodNumber;
695
- }, "strip", z.ZodTypeAny, {
696
- type: "video";
697
- byte_size: number;
698
- codec_name: string;
699
- file_id: string;
700
- track_id: number;
701
- probe_info: {
702
- height: number;
703
- width: number;
704
- index: number;
705
- codec_name: string;
706
- codec_long_name: string;
707
- codec_type: "video";
708
- codec_tag_string: string;
709
- codec_tag: string;
710
- r_frame_rate: string;
711
- avg_frame_rate: string;
712
- time_base: string;
713
- disposition: Record<string, unknown>;
714
- coded_width: number;
715
- coded_height: number;
716
- start_pts?: number | undefined;
717
- start_time?: number | undefined;
718
- duration_ts?: number | undefined;
719
- duration?: number | undefined;
720
- bit_rate?: string | undefined;
721
- };
722
- duration_ms: number;
723
- }, {
724
- type: "video";
725
- byte_size: number;
726
- codec_name: string;
727
- file_id: string;
728
- track_id: number;
729
- probe_info: {
730
- height: number;
731
- width: number;
732
- index: number;
733
- codec_name: string;
734
- codec_long_name: string;
735
- codec_type: "video";
736
- codec_tag_string: string;
737
- codec_tag: string;
738
- r_frame_rate: string;
739
- avg_frame_rate: string;
740
- time_base: string;
741
- disposition: Record<string, unknown>;
742
- coded_width: number;
743
- coded_height: number;
744
- start_pts?: number | undefined;
745
- start_time?: number | undefined;
746
- duration_ts?: number | undefined;
747
- duration?: number | undefined;
748
- bit_rate?: string | undefined;
749
- };
750
- duration_ms: number;
751
- }>]>;
752
- export type CreateISOBMFFTrackPayload = VideoTrackPayload | AudioTrackPayload;
753
- export interface CreateISOBMFFTrackResult {
754
- next_byte: number;
755
- byte_size: number;
756
- track_id: number;
757
- file_id: string;
758
- complete: boolean;
759
- }
760
- export declare const createISOBMFFTrack: (client: Client, payload: CreateISOBMFFTrackPayload) => Promise<CreateISOBMFFTrackResult>;
761
- export declare const uploadISOBMFFTrack: (client: Client, fileId: string, trackId: number, fileStream: ReadableStream, trackSize: number) => import("../uploadChunks.js").IteratorWithPromise<import("../uploadChunks.js").UploadChunkEvent>;