Beispiel #1
0
 /// <summary>
 ///     Convert one file to another with destination format.
 /// </summary>
 /// <param name="inputFilePath">Path to file</param>
 /// <param name="outputFilePath">Path to file</param>
 /// <param name="keepSubtitles">Whether to Keep Subtitles in the output video</param>
 /// <returns>IConversion object</returns>
 public async Task <IConversion> Convert(string inputFilePath, string outputFilePath, bool keepSubtitles = false)
 {
     return(await Task.FromResult(Conversion.Convert(inputFilePath, outputFilePath, keepSubtitles)));
 }
Beispiel #2
0
 /// <summary>
 ///     Convert one file to another with destination format.
 /// </summary>
 /// <param name="inputFilePath">Path to file</param>
 /// <param name="outputFilePath">Path to file</param>
 /// <returns>IConversion object</returns>
 public async Task<IConversion> Convert(string inputFilePath, string outputFilePath)
 {
     return await Task.FromResult(Conversion.Convert(inputFilePath, outputFilePath));
 }