ff-helper
    Preparing search index...

    ff-helper

    ff-helper

    ffmpeg helper by napi-rs binding

    Build Status Coverage Status npm version npm downloads npm license

    This binding will link against system installed ffmpeg(libavcodec libav*).
    It will run cargo build when install, make sure you have rust toolchain installed.

    brew install pkg-config ffmpeg nasm
    
    apt install -y clang libavcodec-dev libavformat-dev libavutil-dev pkg-config
    

    more see https://github.com/zmwangx/rust-ffmpeg/wiki/Notes-on-building

    $ pnpm add ff-helper
    

    see typedoc https://magicdawn.github.io/ff-helper/

    export declare async funciton getVideoInfo(file: string): Promise<VideoInfo>;

    export interface VideoInfo {
    /** degress, 0-360, counterclockwise */
    rotation: number
    /** millseconds */
    duration: number
    width: number
    height: number
    }

    CHANGELOG.md

    the MIT License http://magicdawn.mit-license.org