|
@@ -36,7 +36,7 @@ namespace fis.Win.Dev.Utilities.FFMPEG
|
|
|
|
|
|
public void ExportVideo(string path)
|
|
|
{
|
|
|
- FFmpegService.SetFFmpegPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "SmartPublisher","ffmpeg.exe"));
|
|
|
+ FFmpegService.SetFFmpegPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "ffmpeg","ffmpeg.exe"));
|
|
|
#if DEBUG
|
|
|
FFmpegService.SetFFmpegPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "ffmpeg.exe"));
|
|
|
#endif
|
|
@@ -193,5 +193,19 @@ namespace fis.Win.Dev.Utilities.FFMPEG
|
|
|
{
|
|
|
_vid.Dispose();
|
|
|
}
|
|
|
+
|
|
|
+ public static void CopyDependenciese()
|
|
|
+ {
|
|
|
+ var dependicesList = new List<string>(){
|
|
|
+ "avcodec-58.dll",
|
|
|
+ "avdevice-58.dll",
|
|
|
+ "avfilter-7.dll",
|
|
|
+ "avformat-58.dll",
|
|
|
+ "avutil-56.dll",
|
|
|
+ "swresample-3.dll",
|
|
|
+ "swscale-5.dll",
|
|
|
+ };
|
|
|
+
|
|
|
+ }
|
|
|
}
|
|
|
}
|