((free)) — Ffprobe.exe

ffprobe -v error -show_entries format=duration,bit_rate -of default=noprint_wrappers=1 video.mkv

$output = ffprobe -v quiet -print_format json -show_streams -show_format input.mp4 | ConvertFrom-Json $videoStream = $output.streams | Where-Object $_.codec_type -eq "video" Write-Host "Resolution: $($videoStream.width)x$($videoStream.height)" ffprobe.exe

Shows detailed information about each stream (video, audio, subtitle, data). This includes codec name, profile, level, bitrate, frame rate, pixel format, color space, etc. ffprobe -v error -show_entries format=duration