TooTallNate / node-lame

Node.js native bindings to libmp3lame & libmpg123
MIT License
567 stars 113 forks source link

Decoder input mp3 info #31

Open benjamine opened 10 years ago

benjamine commented 10 years ago

exposed mpg123_info to get information about the input mp3 format (bitrate, samplerate, etc.)

I just added a public .info() method, I wasn't sure but it might be useful to include that info when triggering the format event.

one use case I wrote this for is transcoding, I want to transcode from quality A to B, but I want to passthrough (omit the transcoding) if A === B.

benjamine commented 10 years ago

:hand: hi

eallegretta commented 10 years ago

I'd like to know if there is a plan on merging this PR?

Thanks!