Skip to content

@mega-yfue/eufy-sdk / ffmpegAvailable

Function: ffmpegAvailable()

ts
function ffmpegAvailable(executable?): boolean;

Whether the resolved ffmpeg is runnable, by running -version on it. Resolves the executable exactly as the media paths do, so the answer is about the SAME binary they will launch.

Parameters

executable?

string

Returns

boolean

Independent and unofficial. Not affiliated with, endorsed by, or sponsored by Anker Innovations, Anker eufy, or eufy. "Anker eufy", "eufy" and "Anker" are trademarks of their respective owners. Use responsibly — rapid or failed logins can trigger captcha or temporary cooldowns.