mxmlc

Node.js module to build ActionScript

npm install mxmlc
8 downloads in the last week
13 downloads in the last month

mxmlc

While being a functional FLV to MP3 converter, flv2mp3 is not intended to be used as an actual converter. The sole purpose of this module is to show what else Node.js can be used for, apart from developing websites.

Note: The current version of flv2mp3 is not tested under Windows, and will mostly liked not work. The code is intentionally left minimal, with no comments and minimal error checking, to make it non-distracting for beginners.

Installation

Install ffmpeg first

flv2mp3 uses ffmpeg for the conversion process, so make sure you install it first.

On Ubuntu

$ apt-get install ffmpeg

On Mac

$ brew install ffmpeg

On CentOS

$ yum install ffmpeg

Install mxmlc

It is recommended to install flv2mp3 as a global module, so that you can call it from any path on your computer.

$ [sudo] npm install mxmlc -g

Uage

Specify the input FLV file and the optional output directory.

Usage: mxmlc [options]

Options:

-h, --help         output usage information
-V, --version      output the version number
-f, --file <path>  FLV file path
-o, --out [path]   Output directory
npm loves you