feat(transcode): implement new image and video transcode strategies with UI detail enhancements

This commit is contained in:
yiling
2026-05-30 12:09:27 +08:00
parent ed8a08ec91
commit ec14e12b3f
13 changed files with 149 additions and 194 deletions
+2 -2
View File
@@ -217,7 +217,7 @@ describe('TranscodeService', () => {
it('should create transcode tasks correctly', async () => {
const task = (await transcodeService.createVideoTranscodeTask('asset-123', 'proj-123', {
videoStrategy: 'single',
videoStrategy: 'best_match',
thumbnail: true,
})) as WorkflowTask
@@ -225,6 +225,6 @@ describe('TranscodeService', () => {
expect(task.type).toBe('transcode')
expect(task.status).toBe('pending')
expect(task.payload?.projectId).toBe('proj-123')
expect(task.payload?.transcode?.videoStrategy).toBe('single')
expect(task.payload?.transcode?.videoStrategy).toBe('best_match')
})
})