Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update project to ffmpeg 4.4.0 #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions x64/FFmpeg.Win64.Static.nuspec → x64/FFmpeg.Static.nuspec
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>FFmpeg.Win64.Static</id>
<version>4.1.1.1</version>
<id>FFmpeg.Static</id>
<version>4.4.0.7</version>
<title>FFmpeg Command Line Tools</title>
<authors>Suraj Vijayakumar</authors>
<authors>Suraj Vijayakumar,heMinzhang</authors>
<license type="expression">LGPL-3.0-or-later</license>
<projectUrl>https://github.com/vijayakumarsuraj/ffmpeg-nuget</projectUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<description>Packages the ffmpeg.exe executable. Installing this package adds a build step to your project that will copy this executable to the bin directory under a "ffmpeg" folder.

Refer to the FFmpeg documentation for details on how to use this executable (https://ffmpeg.org/ffmpeg.html).</description>
<summary>Packages up FFmpeg's command line tools in an easy to use nupkg (Windows 64-bit static linked)</summary>
<releaseNotes>Updated to use v4.1.1 of ffmpeg.</releaseNotes>
<releaseNotes>fix not copy bug.</releaseNotes>
<tags>ffmpeg</tags>
</metadata>
</package>
23 changes: 23 additions & 0 deletions x64/build/FFmpeg.Static.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Copy the files to bin before the build -->
<Target Name="CopyFFmpegToBin" BeforeTargets="BeforeBuild">
<ItemGroup>
<FilesToCopy Include="$(MSBuildThisFileDirectory)..\ffmpeg\avcodec-58.dll" />
<FilesToCopy Include="$(MSBuildThisFileDirectory)..\ffmpeg\avdevice-58.dll" />
<FilesToCopy Include="$(MSBuildThisFileDirectory)..\ffmpeg\avfilter-7.dll" />
<FilesToCopy Include="$(MSBuildThisFileDirectory)..\ffmpeg\avformat-58.dll" />
<FilesToCopy Include="$(MSBuildThisFileDirectory)..\ffmpeg\avutil-56.dll" />
<FilesToCopy Include="$(MSBuildThisFileDirectory)..\ffmpeg\ffmpeg.exe" />
<FilesToCopy Include="$(MSBuildThisFileDirectory)..\ffmpeg\ffplay.exe" />
<FilesToCopy Include="$(MSBuildThisFileDirectory)..\ffmpeg\ffprobe.exe" />
<FilesToCopy Include="$(MSBuildThisFileDirectory)..\ffmpeg\postproc-55.dll" />
<FilesToCopy Include="$(MSBuildThisFileDirectory)..\ffmpeg\swresample-3.dll" />
<FilesToCopy Include="$(MSBuildThisFileDirectory)..\ffmpeg\swscale-5.dll" />
</ItemGroup>
<Copy SourceFiles="@(FilesToCopy)" DestinationFolder="$(TargetDir)ffmpeg" SkipUnchangedFiles="true" />
</Target>
<!-- Delete the files from bin after clean -->
<Target Name="DeleteFFmpegFromBin" BeforeTargets="AfterClean">
<RemoveDir Directories="$(TargetDir)ffmpeg" />
</Target>
</Project>
13 changes: 0 additions & 13 deletions x64/build/FFmpeg.Win64.Static.targets

This file was deleted.