Public/Get-Streams.ps1
function Get-Streams { <# .DESCRIPTION Shows streams for a specified file .PARAMETER Video Specify Video Input .Example Get-Streams -video .\file.mp4 #> [cmdletbinding()] param ( [Parameter(Mandatory = $true)]$video ) if ($env:FFToolsSource -and $env:FFToolsTarget) { ffprobe $video -hide_banner } else { Write-Warning "You must first run Set-FFToolsVariables! This is only required once." } } |