Migrated admin and media APIs to Nitro
This commit is contained in:
1 parent
ee5809a489
commit
bca41b5e6f
18 files changed
+786
-1
No files matched your search
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
declare module "fluent-ffmpeg" {
|
||||
interface FfmpegCommand {
|
||||
noVideo(): this
|
||||
audioBitrate(bitrate: string): this
|
||||
toFormat(format: string): this
|
||||
audioCodec(codec: string): this
|
||||
on(event: string, listener: (...args: any[]) => void): this
|
||||
save(filePath: string): this
|
||||
}
|
||||
|
||||
interface FfmpegMetadata {
|
||||
format: { duration?: number }
|
||||
}
|
||||
|
||||
interface FfmpegFactory {
|
||||
(filePath: string): FfmpegCommand
|
||||
ffprobe(filePath: string, callback: (error: Error | null, metadata: FfmpegMetadata) => void): void
|
||||
}
|
||||
|
||||
const Ffmpeg: FfmpegFactory
|
||||
export default Ffmpeg
|
||||
}
|
||||
Reference in new issue
Block a user