Marey.Tools.Video 0.7.0

dotnet add package Marey.Tools.Video --version 0.7.0
                    
NuGet\Install-Package Marey.Tools.Video -Version 0.7.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Marey.Tools.Video" Version="0.7.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Marey.Tools.Video" Version="0.7.0" />
                    
Directory.Packages.props
<PackageReference Include="Marey.Tools.Video" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Marey.Tools.Video --version 0.7.0
                    
#r "nuget: Marey.Tools.Video, 0.7.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Marey.Tools.Video@0.7.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Marey.Tools.Video&version=0.7.0
                    
Install as a Cake Addin
#tool nuget:?package=Marey.Tools.Video&version=0.7.0
                    
Install as a Cake Tool

Marey.Tools.Video

Video output for Marey, a dimensionally-typed visualization system for F#. The frame sequence is the product; the mux is a convenience over it.

#r "nuget: Marey.Tools.Video"

open Marey

let sequence =
    film |> Frames.write FramePass.Concurrent SkiaBackend.renderPng (FrameTarget.into "frames" ".png") 25.0

match Video.mux MuxOptions.Default sequence "shot.mp4" with
| MuxRan run when run.Succeeded -> printfn "encoded %d frames" run.FrameCount
| MuxUnavailable why -> printfn "%s" why      // the frames are still there, and this says so
| other -> printfn "%A" other

Marey.Plot renders an animation to a numbered directory on every core there is. This encodes that directory by running ffmpeg, which it looks for on PATH and reports — found, with its version, or absent with the sentence naming what to install.

Why a subprocess and not a binding

FFmpeg.AutoGen links libav* into your process: LGPL at best, GPL the moment the build carries x264, which puts a licence audit on everyone who references your project. A subprocess boundary keeps ffmpeg's licence ffmpeg's problem. The managed wrappers shell out anyway, so what they cost is a dependency and its opinions about temporary files, and what they buy is not writing one ProcessStartInfo.

This package therefore has no third-party dependency of any kind.

What is in it

  • Video.mux, and Video.muxWith for a stated ffmpeg rather than the one on PATH. A missing encoder is MuxUnavailable — an outcome carrying what to install and the fact that the frames are still on disk — not an exception. A numbered directory is something every editor imports.
  • Video.args, a pure function, so the exact command is a value you can print, diff or paste into a shell. Two positions in it are load-bearing and silent when wrong: -framerate before -i keeps every rendered frame, and the same number after -i resamples — 24 frames at 12 fps is 24 frames written correctly and 13 with the flag moved.
  • Video.inspect, which decodes the result with ffprobe and says what is actually in it: codec, dimensions, frames counted rather than claimed, and the rate the container declares. Exit status is a weak gate — an encoder that wrote 13 of 24 frames exits zero.
  • Reproducible containers. -fflags +bitexact and its companions strip the encoder=Lavf… and encoder=Lavc… tags that would otherwise name the ffmpeg build that wrote the file. VideoInfo.BuildTags is how you check, and it is empty.
  • Video.check, which starts no process: leftover frames from a longer render (which ffmpeg -i frame-%05d.png would silently append as a tail), and odd pixel dimensions under a chroma-subsampled pixel format — read out of the first frame's own header, because a raster backend rounds an extent up.

Depends on Marey.Plot and Marey.Toolchain, and on nothing outside this repository.

Product 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.7.0 85 10/17/2026
0.6.0 90 10/11/2026
0.5.0 95 10/10/2026
0.4.0 81 10/8/2026
0.3.1 90 10/5/2026
0.3.0 89 10/5/2026