LeanScreen.Abstractions
1.0.4
See the version list below for details.
dotnet add package LeanScreen.Abstractions --version 1.0.4
NuGet\Install-Package LeanScreen.Abstractions -Version 1.0.4
<PackageReference Include="LeanScreen.Abstractions" Version="1.0.4" />
paket add LeanScreen.Abstractions --version 1.0.4
#r "nuget: LeanScreen.Abstractions, 1.0.4"
// Install LeanScreen.Abstractions as a Cake Addin #addin nuget:?package=LeanScreen.Abstractions&version=1.0.4 // Install LeanScreen.Abstractions as a Cake Tool #tool nuget:?package=LeanScreen.Abstractions&version=1.0.4
LeanScreen
Overview
Provides a set of tools for working with multimedia. Some key features:
- Extract video data and stills, directly from stream with managed .NET code!
- Compiling a collection of stills into a single file
- Some basic media organisation capability
The Extensions package provides default implementation for video and image handling (ffmpeg and sixlabors respectively).. However the abstractions package is designed so that you can roll your own if you so choose.
The extensions are exposed to the command line in the form of a Cli tool named leanctl
.
(NB: This tool is currently not published anywhere, and needs to be built from source - see the dotnet publish ...
commands below for reference).
Binaries
The calling assembly needs to have ffmpeg binaries available. The x64 versions for the appropriate ffmpeg version are provided for both linux and windows in the Rendering.Ffmpeg project.
In the case of linux, files in the format ..lib<BINARY>.so.<VERSION>
were obtained from the ffmpeg package.
In the case of windows, the dlls were obtained from here: https://www.gyan.dev/ffmpeg/builds/
The library looks for binaries at runtime. By default, it will be in "ffmpeg" folder, relative to your invocation path.
To provide control, you can set the environment variable, FFMPEG_BINARIES_PATH
to an absolute path to override this.
Further Notes
Handy Commandies
# Restore tools
dotnet tool restore
# General clean up
rd -r **/bin/; rd -r **/obj/;
# Run unit tests
rd -r ../**/TestResults/; dotnet test -c Release -s .runsettings; dotnet reportgenerator -targetdir:coveragereport -reports:**/coverage.cobertura.xml -reporttypes:"html;jsonsummary"; start coveragereport/index.html;
# Run mutation tests
rd -r ../**/StrykerOutput/; dotnet stryker -o;
# Pack and publish a pre-release to a local feed
$suffix="alpha001"; dotnet pack -c Release -o nu --version-suffix $suffix; dotnet nuget push "nu\*.*$suffix.nupkg" --source localdev; rd -r ../**/nu/;
# Publish examples
dotnet publish LeanScreen.CliTool -p:PublishSingleFile=true -p:DebugType=Embedded -r win-x64 -c Release --sc false
dotnet publish LeanScreen.CliTool -p:PublishSingleFile=true -p:DebugType=Embedded -r linux-x64 -c Release --self-contained
# Allow execute (Linux)
sudo chmod +x leanctl
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Analyse (>= 1.0.0)
- CryptoStream (>= 1.0.1)
- System.Memory (>= 4.5.5)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on LeanScreen.Abstractions:
Package | Downloads |
---|---|
LeanScreen
Av multimedia. This library contains core logic only. The LeanScreen.Extensions package contains implementation for all related features, such as video frame rendering and image rendering. |
|
LeanScreen.Imaging.SixLabors
Av multimedia image rendering with SixLabors. |
|
LeanScreen.MediaRepo.FileSystem
Av multimedia filesystem repository. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Bump for CryptoStream and some dev deps