forked from antoineMoPa/beamcoder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.d.ts
83 lines (79 loc) · 2.28 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
export * from "./types/CodecPar"
export * from "./types/Packet"
export * from "./types/Frame"
export * from "./types/Stream"
export * from "./types/Codec"
export * from "./types/FormatContext"
export * from "./types/Demuxer"
export * from "./types/Decoder"
export * from "./types/Filter"
export * from "./types/Encoder"
export * from "./types/Muxer"
export * from "./types/Beamstreams"
export * from "./types/HWContext"
export const AV_NOPTS_VALUE: number
/** The LIBAV**_VERSION_INT for each FFmpeg library */
export function versions(): {
avcodec: number
avdevice: number
avfilter: number
avformat: number
avutil: number
postproc: number
swresample: number
swscale: number
}
/**
* FFmpeg version string. This usually is the actual release
* version number or a git commit description. This string has no fixed format
* and can change any time. It should never be parsed by code.
*/
export function avVersionInfo(): string
/** Informative version strings for each FFmpeg library */
export function versionStrings(): {
avcodec: string
avdevice: string
avfilter: string
avformat: string
avutil: string
postproc: string
swresample: string
swscale: string
}
/** Build configuration strings for each FFmpeg library */
export function configurations(): {
avcodec: string
avdevice: string
avfilter: string
avformat: string
avutil: string
postproc: string
swresample: string
swscale: string
}
/** License strings for each FFmpeg library */
export function licenses(): {
avcodec: string
avdevice: string
avfilter: string
avformat: string
avutil: string
postproc: string
swresample: string
swscale: string
}
/** List the available protocols */
export function protocols(): { inputs: Array<string>, outputs: Array<string> }
/** Read or set the logging level
* `quiet` - print no output.
* `panic` - something went really wrong - crash will follow
* `fatal` - recovery not possible
* `error` - lossless recovery not possible
* `warning` - something doesn't look correct
* `info` - standard information - the default
* `verbose` - detailed information
* `debug` - stuff which is only useful for libav* developers
* `trace` - extremely verbose debugging for libav* developers
*/
export function logging(level?: string): string | undefined
export as namespace Beamcoder