Skip to content

node-av / ffmpeg / ffmpegVersion

Function: ffmpegVersion()

ffmpegVersion(): string

Defined in: src/ffmpeg/index.ts:119

Get the FFmpeg version used by the binary.

Returns

string

FFmpeg version string (e.g. "8.0")

Example

typescript
import { ffmpegVersion } from 'node-av/ffmpeg';

console.log('FFmpeg version:', ffmpegVersion());
// Output: FFmpeg version: 8.0