Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
method FfmpegClass.prototype.setFfmpegPath
import { FfmpegClass } from "https://deno.land/x/deno_ffmpeg@v3.1.0/src/ffmpegClass.ts";

Set ffmpeg path

Example

import { FfmpegClass } from "../mod.ts"

const ffmpeg = new FfmpegClass();

ffmpeg.setFfmpegPath("./somedir/binary");
ffmpeg.setFfmpegPath("ffmpeg"); // this works as long as ffmpeg is in your PATH

Parameters

ffmpegPath: string