Skip to content

Commit

Permalink
MP1-5041: Update FFmpeg to 4.1.1 (Win32)
Browse files Browse the repository at this point in the history
  • Loading branch information
Azzuro committed Sep 7, 2020
1 parent 28513f2 commit 1ac7403
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion TvEngine3/TVLibrary/Setup/setup.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ ${MementoSection} "MediaPortal TV Server" SecServer
File "${git_ROOT}\Packages\MediaInfo.Wrapper.19.4.1\lib\net40\MediaInfo.Wrapper.dll"

; thumbnail software
File "${git_ROOT}\Packages\ffmpeg.2.7.1\ffmpeg.exe"
File "${git_ROOT}\Packages\FFmpeg.Win32.Static.4.1.1.1\ffmpeg\ffmpeg.exe"
File "${git_TVServer}\TvThumbnails\bin\x86\${BUILD_TYPE}\TvThumbnails.dll"


Expand Down
2 changes: 2 additions & 0 deletions TvEngine3/TVLibrary/TvThumbnails/TvThumbnails.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\..\Packages\MediaInfo.Native.19.4.0\build\MediaInfo.Native.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\Packages\MediaInfo.Native.19.4.0\build\MediaInfo.Native.targets'))" />
<Error Condition="!Exists('..\..\..\Packages\FFmpeg.Win32.Static.4.1.1.1\build\FFmpeg.Win32.Static.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\Packages\FFmpeg.Win32.Static.4.1.1.1\build\FFmpeg.Win32.Static.targets'))" />
</Target>
<Import Project="..\..\..\Packages\FFmpeg.Win32.Static.4.1.1.1\build\FFmpeg.Win32.Static.targets" Condition="Exists('..\..\..\Packages\FFmpeg.Win32.Static.4.1.1.1\build\FFmpeg.Win32.Static.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
Expand Down
1 change: 1 addition & 0 deletions TvEngine3/TVLibrary/TvThumbnails/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="FFmpeg.Win32.Static" version="4.1.1.1" targetFramework="net40" />
<package id="MediaInfo.Native" version="19.4.0" targetFramework="net40" />
<package id="MediaInfo.Wrapper" version="19.4.1" targetFramework="net40" />
</packages>
2 changes: 2 additions & 0 deletions mediaportal/Core/Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -1697,7 +1697,9 @@ xcopy "$(TargetDir)core.*" "$(SolutionDir)MediaPortal.Application\bin\$(Configur
</PropertyGroup>
<Error Condition="!Exists('..\..\Packages\MediaInfo.Native.19.9.0\build\MediaInfo.Native.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\Packages\MediaInfo.Native.19.9.0\build\MediaInfo.Native.targets'))" />
<Error Condition="!Exists('..\..\Packages\BASSCombined.2.4.15\build\basscombined.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\Packages\BASSCombined.2.4.15\build\basscombined.targets'))" />
<Error Condition="!Exists('..\..\Packages\FFmpeg.Win32.Static.4.1.1.1\build\FFmpeg.Win32.Static.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\Packages\FFmpeg.Win32.Static.4.1.1.1\build\FFmpeg.Win32.Static.targets'))" />
</Target>
<Import Project="..\..\Packages\MediaInfo.Native.19.9.0\build\MediaInfo.Native.targets" Condition="Exists('..\..\Packages\MediaInfo.Native.19.9.0\build\MediaInfo.Native.targets')" />
<Import Project="..\..\Packages\BASSCombined.2.4.15\build\basscombined.targets" Condition="Exists('..\..\Packages\BASSCombined.2.4.15\build\basscombined.targets')" />
<Import Project="..\..\Packages\FFmpeg.Win32.Static.4.1.1.1\build\FFmpeg.Win32.Static.targets" Condition="Exists('..\..\Packages\FFmpeg.Win32.Static.4.1.1.1\build\FFmpeg.Win32.Static.targets')" />
</Project>
2 changes: 1 addition & 1 deletion mediaportal/Core/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<package id="BASSCombined" version="2.4.15" targetFramework="net40" />
<package id="BassRegistration" version="2.4.14.1" targetFramework="net40" />
<package id="CSCore" version="1.2.1.2" targetFramework="net40" />
<package id="ffmpeg" version="2.7.1" targetFramework="net40" />
<package id="FFmpeg.Win32.Static" version="4.1.1.1" targetFramework="net40" />
<package id="MediaInfo.Native" version="19.9.0" targetFramework="net40" />
<package id="MediaInfo.Wrapper" version="19.9.2" targetFramework="net40" />
<package id="MediaPortal.TagLib" version="2.1.0.2" targetFramework="net40" />
Expand Down
2 changes: 1 addition & 1 deletion mediaportal/MediaPortal.Application/PostBuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ xcopy %1\..\Packages\MetadataExtractor.2.3.0\lib\net35\MetadataExtractor.dll . /
xcopy %1\..\Packages\XmpCore.6.1.10\lib\net35\XmpCore.dll . /Y /D

REM ffmpeg
xcopy %1\..\Packages\ffmpeg.2.7.1\ffmpeg.exe MovieThumbnailer\ /Y /D
xcopy %1\..\Packages\FFmpeg.Win32.Static.4.1.1.1\ffmpeg\ffmpeg.exe MovieThumbnailer\ /Y /D

REM Bass Core
xcopy %1\core\bin\%2\Bass.Net.dll . /Y /D
Expand Down
2 changes: 1 addition & 1 deletion mediaportal/Setup/setup.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ Section "MediaPortal core files (required)" SecCore
File "${git_MP}\WindowPlugins\Common.GUIPlugins\bin\${BUILD_TYPE}\Common.GUIPlugins.dll"
; ffmpeg
SetOutPath "$MPdir.Base\MovieThumbnailer"
File "${git_ROOT}\Packages\ffmpeg.2.7.1\ffmpeg.exe"
File "${git_ROOT}\Packages\FFmpeg.Win32.Static.4.1.1.1\ffmpeg\ffmpeg.exe"
; NuGet binaries MediaInfo
SetOutPath "$MPdir.Base\"
File "${git_ROOT}\Packages\MediaInfo.Native.19.9.0\build\native\x86\MediaInfo.dll"
Expand Down

0 comments on commit 1ac7403

Please sign in to comment.