update
This commit is contained in:
parent
0786589239
commit
123add14eb
@ -55,7 +55,14 @@ namespace VideoConcat.Common.Tools
|
||||
//GlobalFFOptions.Current.TemporaryFilesFolder
|
||||
var destinationPath = Path.Combine(_tempPath, $"{Path.GetFileNameWithoutExtension(videoPath)}{FileExtension.Ts}");
|
||||
//Directory.CreateDirectory(GlobalFFOptions.Current.TemporaryFilesFolder);
|
||||
FFMpeg.Convert(videoPath, destinationPath, VideoType.Ts);
|
||||
try
|
||||
{
|
||||
FFMpeg.Convert(videoPath, destinationPath, VideoType.Ts);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogUtils.Error($"{videoPath} 转换失败", ex);
|
||||
}
|
||||
return destinationPath;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user