( videoId: string, )
| 366 | } |
| 367 | |
| 368 | async function getCompletedMetadata( |
| 369 | videoId: string, |
| 370 | ): Promise<VideoEditRenderResult["metadata"] | null> { |
| 371 | const [video] = await db() |
| 372 | .select({ |
| 373 | duration: videos.duration, |
| 374 | width: videos.width, |
| 375 | height: videos.height, |
| 376 | fps: videos.fps, |
| 377 | }) |
| 378 | .from(videos) |
| 379 | .where(eq(videos.id, videoId as Video.VideoId)); |
| 380 | |
| 381 | return getMetadataFromVideoRow(video); |
| 382 | } |
| 383 | |
| 384 | async function probeVideoOnMediaServer( |
| 385 | mediaServerUrl: string, |
no test coverage detected