Skip to content

Commit d89f17b

Browse files
author
Etienne Charland
committed
Version 1.1
1 parent c1017bf commit d89f17b

10 files changed

+28
-27
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ x64/
1515
build/
1616
[Bb]in/
1717
[Oo]bj/
18+
.vs/
1819

1920

2021
# Windows image file caches

ExampleApplication/ExampleApplication.csproj

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AppDesignerFolder>Properties</AppDesignerFolder>
1010
<RootNamespace>EmergenceGuardian.FFmpegExampleApplication</RootNamespace>
1111
<AssemblyName>ExampleApplication</AssemblyName>
12-
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
12+
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
1515
<WarningLevel>4</WarningLevel>
@@ -118,7 +118,9 @@
118118
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
119119
</EmbeddedResource>
120120
<None Include="app.config" />
121-
<None Include="packages.config" />
121+
<None Include="packages.config">
122+
<SubType>Designer</SubType>
123+
</None>
122124
<None Include="Properties\Settings.settings">
123125
<Generator>SettingsSingleFileGenerator</Generator>
124126
<LastGenOutput>Settings.Designer.cs</LastGenOutput>

ExampleApplication/FFmpegWindow.xaml.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ private void FFmpeg_StatusUpdated(object sender, FFmpeg.StatusUpdatedEventArgs e
8484
// Time left will be updated only 1 out of 2 to prevent changing too quick.
8585
EstimatedTimeLeftToggle = !EstimatedTimeLeftToggle;
8686
if (EstimatedTimeLeftToggle) {
87-
TimeSpan TimeLeft = timeCalc?.Calculate(e.Status.Frame + host.Options.ResumePos) ?? TimeSpan.Zero;
87+
timeCalc?.Calculate(e.Status.Frame + host.Options.ResumePos);
88+
TimeSpan TimeLeft = timeCalc.ResultTimeLeft;
8889
if (TimeLeft > TimeSpan.Zero)
8990
TimeLeftText.Text = TimeLeft.ToString(TimeLeft.TotalHours < 1 ? "m\\:ss" : "h\\:mm\\:ss");
9091
}

ExampleApplication/MainWindow.xaml.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace EmergenceGuardian.FFmpegExampleApplication {
1111
public partial class MainWindow : Window {
1212
public MainWindow() {
1313
InitializeComponent();
14-
FFmpegConfig.FFmpegPath = @"F:\AVSMeter\ffmpeg.exe";
14+
FFmpegConfig.FFmpegPath = @"E:\AVSMeter\ffmpeg.exe";
1515
FFmpegConfig.UserInterfaceManager = new FFmpegUserInterfaceManager(this);
1616
}
1717

ExampleApplication/Properties/Resources.Designer.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ExampleApplication/Properties/Settings.Designer.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ExampleApplication/app.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
</dependentAssembly>
1313
</assemblyBinding>
1414
</runtime>
15-
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/></startup></configuration>
15+
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1"/></startup></configuration>

FFmpeg.sln

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 14
4-
VisualStudioVersion = 14.0.25420.1
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.27703.2018
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FFmpeg", "FFmpeg\FFmpeg.csproj", "{C01178B4-A869-45F8-9B2B-7683F9EBB53D}"
77
EndProject
@@ -25,4 +25,7 @@ Global
2525
GlobalSection(SolutionProperties) = preSolution
2626
HideSolutionNode = FALSE
2727
EndGlobalSection
28+
GlobalSection(ExtensibilityGlobals) = postSolution
29+
SolutionGuid = {4458AB03-25E7-41B4-8DFD-0F2DF8B6A3F5}
30+
EndGlobalSection
2831
EndGlobal

FFmpeg/FFmpeg.csproj

+12-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,18 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
5-
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
5+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
6+
<PackageId>EmergenceGuardian.FFmpeg</PackageId>
7+
<Version>1.1.0</Version>
8+
<Authors>Etienne Charland</Authors>
9+
<Company>Emergence Guardian</Company>
10+
<Product>FFmpeg.NET</Product>
11+
<Description>.NET Wrapper for FFmpeg</Description>
12+
<Copyright>Copyright 2017-2018, Emergence Guardian</Copyright>
13+
<PackageTags>ffmpeg ffmpeg-wrapper video-encoding video library .net</PackageTags>
14+
<PackageReleaseNotes>https://github.com/mysteryx93/FFmpeg.NET/releases</PackageReleaseNotes>
15+
<PackageProjectUrl>https://github.com/mysteryx93/FFmpeg.NET</PackageProjectUrl>
16+
<PackageLicenseUrl>https://github.com/mysteryx93/FFmpeg.NET/blob/master/LICENSE</PackageLicenseUrl>
617
</PropertyGroup>
718

819
</Project>

FFmpeg/FFmpeg.nuspec

-17
This file was deleted.

0 commit comments

Comments
 (0)