Extension/Sepia.RoughDraft.ext.ps1
<# .Synopsis Applies a Sepia Filter .Description Uses the ffmpeg colorchannelmixer to apply a Sepia filter. #> # It's an extension [Runtime.CompilerServices.Extension()] # that extends Join-Media [Management.Automation.Cmdlet("Edit","Media")] # that is inherited [ComponentModel.Inheritance("Inherited")] param( # If set, will apply a sepia filter. [Parameter(Mandatory)] [switch] $Sepia ) "-vf" # If we wanted the video in Sepia "`"colorchannelmixer=.393:.769:.189:0:.349:.686:.168:0:.272:.534:.131`"" # use the color channel mixer. |