media2msu

1.0.2 • Public • Published

MSU Tool

Simple tool to wrap commands for ffmpeg, msu1conv (convert a stack of tgas to MSU video) and wav2msu (convert a wav file to MSU audio), so as to simplify preparing assets for MSU-1 enabled SNES projects.

Requirements

You must have node, gcc (or any other compiler, so long as you set the CC environment variable appropriately), and ffmpeg installed and available from your PATH.

Installation

npm i -g media2msu

Usage

media2msu -i my_video.mp4 -o my_video

my_video.mp4 will be converted to my_video-#.msu and my_video-#.pcm (where the # is the stream number for the video/audio stream).

Because there's usually only one audio or video stream, you can also use:

npx media2msu -i my_music.wav -ao my_audio.pcm
npx media2msu -i my_music.mp4 -ao my_video.pcm -vo my_video.msu

/media2msu/

    Package Sidebar

    Install

    npm i media2msu

    Weekly Downloads

    0

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    17.3 kB

    Total Files

    6

    Last publish

    Collaborators

    • fordi-org