瀏覽代碼

Change the directory path

Jimmy 2 年之前
父節點
當前提交
b442119920
共有 3 個文件被更改,包括 32 次插入4 次删除
  1. 1 1
      fis/ShellConfig.cs
  2. 0 3
      fis/Utilities/FFMPEG/VideoFFmpegHelper.cs
  3. 31 0
      fis/fis.Win.Dev.sln

+ 1 - 1
fis/ShellConfig.cs

@@ -9,7 +9,7 @@ namespace fis
         public readonly static ShellConfig Instance = Load();
 
         //Gets or sets the app host which is the web App's access url
-        public string AppHost { get; set; } = "app.fis.plus";
+        public string AppHost { get; set; } = "127.0.0.1:8081";
 
         /// <summary>
         /// ����ģ�������

+ 0 - 3
fis/Utilities/FFMPEG/VideoFFmpegHelper.cs

@@ -36,10 +36,7 @@ namespace fis.Win.Dev.Utilities.FFMPEG
 
         public void ExportVideo(string path)
         {
-            FFmpegService.SetFFmpegPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "ffmpeg","ffmpeg.exe"));
-#if DEBUG
             FFmpegService.SetFFmpegPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "ffmpeg.exe"));
-#endif
             _stream = new FileStream(path, FileMode.Open, FileAccess.ReadWrite, FileShare.ReadWrite);
             _vid = new VinnoImageData(_stream);
             FrameRate = (int) _vid.Probe.FrameRate;

+ 31 - 0
fis/fis.Win.Dev.sln

@@ -0,0 +1,31 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.2.32616.157
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "fis.Win.Dev", "fis.Win.Dev.csproj", "{3E149B1A-80E1-4184-AF78-3294538DBDFA}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "fis.Vid", "..\fis.Vid\fis.Vid.csproj", "{429D6E42-D658-4915-BE47-BD03CB759015}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{3E149B1A-80E1-4184-AF78-3294538DBDFA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{3E149B1A-80E1-4184-AF78-3294538DBDFA}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{3E149B1A-80E1-4184-AF78-3294538DBDFA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{3E149B1A-80E1-4184-AF78-3294538DBDFA}.Release|Any CPU.Build.0 = Release|Any CPU
+		{429D6E42-D658-4915-BE47-BD03CB759015}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{429D6E42-D658-4915-BE47-BD03CB759015}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{429D6E42-D658-4915-BE47-BD03CB759015}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{429D6E42-D658-4915-BE47-BD03CB759015}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+	GlobalSection(ExtensibilityGlobals) = postSolution
+		SolutionGuid = {418C5552-9E74-492C-8793-2203FC5DD31F}
+	EndGlobalSection
+EndGlobal