File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
samples/video-translation/csharp
VideoTranslationLib.Public/VideoTranslationLib.Public/DataContracts/DTOs/Public-2025-05-20 Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ namespace Microsoft.SpeechServices.Cris.Http.DTOs.Public.VideoTranslation.Public
7
7
8
8
using System ;
9
9
using System . Globalization ;
10
- using System . Linq ;
11
10
12
11
public partial class TranslationInput
13
12
{
@@ -24,4 +23,8 @@ public partial class TranslationInput
24
23
public bool ? ExportSubtitleInVideo { get ; set ; }
25
24
26
25
public Uri VideoFileUrl { get ; set ; }
26
+
27
+ public Uri AudioFileUrl { get ; set ; }
28
+
29
+ public bool ? EnableLipSync { get ; set ; }
27
30
}
Original file line number Diff line number Diff line change @@ -95,6 +95,8 @@ static async Task<int> DoRunAndReturnExitCodeAsync(BaseOptions baseOptions)
95
95
SubtitleMaxCharCountPerSegment = options . SubtitleMaxCharCountPerSegment ,
96
96
ExportSubtitleInVideo = options . ExportSubtitleInVideo ,
97
97
VideoFileUrl = options . VideoFileAzureBlobUrl ,
98
+ AudioFileUrl = options . AudioFileAzureBlobUrl ,
99
+ EnableLipSync = options . EnableLipSync ? true : null ,
98
100
} ,
99
101
} ;
100
102
@@ -242,6 +244,8 @@ static async Task<int> DoRunAndReturnExitCodeAsync(BaseOptions baseOptions)
242
244
SubtitleMaxCharCountPerSegment = iteration . Input ? . SubtitleMaxCharCountPerSegment ,
243
245
ExportSubtitleInVideo = iteration . Input ? . ExportSubtitleInVideo ,
244
246
VideoFileUrl = options . VideoFileAzureBlobUrl ,
247
+ AudioFileUrl = options . AudioFileAzureBlobUrl ,
248
+ EnableLipSync = options . EnableLipSync ? true : null ,
245
249
}
246
250
} ;
247
251
You can’t perform that action at this time.
0 commit comments