mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
commit
80622fb16c
2 changed files with 10 additions and 111 deletions
|
@ -12,8 +12,17 @@ public class FFMpegOptions
|
||||||
|
|
||||||
public static FFMpegOptions Options { get; private set; } = new FFMpegOptions();
|
public static FFMpegOptions Options { get; private set; } = new FFMpegOptions();
|
||||||
|
|
||||||
|
public static void Configure(Action<FFMpegOptions> optionsAction)
|
||||||
|
{
|
||||||
|
optionsAction?.Invoke(Options);
|
||||||
|
}
|
||||||
|
|
||||||
public static void Configure(FFMpegOptions options)
|
public static void Configure(FFMpegOptions options)
|
||||||
{
|
{
|
||||||
|
if (null == options)
|
||||||
|
{
|
||||||
|
throw new ArgumentNullException(nameof(options));
|
||||||
|
}
|
||||||
Options = options;
|
Options = options;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -20,124 +20,14 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="FFMPEG\bin\presets\ffprobe.xsd">
|
<Content Include="FFMPEG\bin\**\*">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libvpx-1080p.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libvpx-1080p50_60.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libvpx-360p.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libvpx-720p.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libvpx-720p50_60.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libvpx-ultrafast.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-baseline.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-fast.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-faster.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-faster_firstpass.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-fast_firstpass.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-ipod320.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-ipod640.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-lossless_fast.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-lossless_max.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-lossless_medium.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-lossless_slow.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-lossless_slower.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-lossless_ultrafast.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-main.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-medium.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-medium_firstpass.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-placebo.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-placebo_firstpass.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-slow.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-slower.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-slower_firstpass.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-slow_firstpass.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-superfast.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-superfast_firstpass.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-ultrafast.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-ultrafast_firstpass.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-veryfast.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-veryfast_firstpass.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-veryslow.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="FFMPEG\bin\presets\libx264-veryslow_firstpass.ffpreset">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Instances" Version="1.5.0" />
|
<PackageReference Include="Instances" Version="1.5.0" />
|
||||||
<PackageReference Include="Microsoft.CSharp" Version="4.5.0" />
|
|
||||||
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
|
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
|
||||||
<PackageReference Include="RunProcessAsTask" Version="1.2.4" />
|
|
||||||
<PackageReference Include="System.Drawing.Common" Version="4.5.1" />
|
<PackageReference Include="System.Drawing.Common" Version="4.5.1" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue