@nymh/ffplay

    0.1.10 • Public • Published

    ffplay

    Easily play audio files with ffplay and promises.

    FFMPEG is required for this package to work.

    Install

    npm install @nymh/ffplay

    Usage

    // Play audio
    import { playAudio } from  "@nymh/ffplay";
    
    playAudio(./myAudio.mp3);
    
    // or
    await playAudio(./myAudio.mp3);
    
    // Kill audio
    import { killAudio } from  "@nymh/ffplay";
    
    killAudio();
    
    // or
    await killAudio();
    

    Install

    npm i @nymh/ffplay

    DownloadsWeekly Downloads

    10

    Version

    0.1.10

    License

    MIT License

    Unpacked Size

    5.11 kB

    Total Files

    6

    Last publish

    Collaborators

    • nymh