Skip to main content
Module

x/deno_ffmpeg/mod.ts>FfmpegClass#setHeight

ffmpeg wrapper for deno.land
Latest
method FfmpegClass.prototype.setHeight
import { FfmpegClass } from "https://deno.land/x/deno_ffmpeg@v3.1.0/mod.ts";

Set the frame height

Example

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

const ffmpeg = new FfmpegClass();

ffmpeg.setHeight(720);
ffmpeg.setHeight(-1); // Auto scales to aspect ratio

Parameters

height: number