fix(server): extract motion photo android single frame (#3903)

This commit is contained in:
Mert
2023-08-29 05:01:42 -04:00
committed by GitHub
parent d0a06739d8
commit e510e733cd
7 changed files with 163 additions and 147 deletions
+4 -1
View File
@@ -8,6 +8,7 @@ export interface ResizeOptions {
}
export interface VideoStreamInfo {
index: number;
height: number;
width: number;
rotation: number;
@@ -18,8 +19,10 @@ export interface VideoStreamInfo {
}
export interface AudioStreamInfo {
index: number;
codecName?: string;
codecType?: string;
frameCount: number;
}
export interface VideoFormat {
@@ -55,7 +58,7 @@ export interface BitrateDistribution {
}
export interface VideoCodecSWConfig {
getOptions(stream: VideoStreamInfo): TranscodeOptions;
getOptions(videoStream: VideoStreamInfo, audioStream: AudioStreamInfo): TranscodeOptions;
}
export interface VideoCodecHWConfig extends VideoCodecSWConfig {