# media2msu

> Tools for creating MSU-1 audio/video

Latest version **1.0.2** (published 2020-08-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install media2msu
pnpm add media2msu
yarn add media2msu
bun add media2msu
```

Provides the command `media2msu`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2020-08-03 |
| First published | 2020-08-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10.21.0 |
| Dependencies | 0 |
| Unpacked size | 16.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Bryan Elliott |
| Maintainers | fordi-org |

## Links

- npm: https://www.npmjs.com/package/media2msu
- Repository: https://github.com/Fordi/media2msu
- Homepage: https://github.com/Fordi/media2msu#readme
- Issues: https://github.com/Fordi/media2msu/issues
- npm.io page: https://npm.io/package/media2msu

## Recent versions

- 1.0.2 (latest) — 2020-08-03
- 1.0.1 — 2020-08-03
- 1.0.0 — 2020-08-03

## README

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

```bash
npm i -g media2msu
```

## Usage

```bash
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:

```bash
npx media2msu -i my_music.wav -ao my_audio.pcm
npx media2msu -i my_music.mp4 -ao my_video.pcm -vo my_video.msu
```

---
_Source: https://npm.io/package/media2msu · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
