title: Node.js: get video and audio format information of an mp4 file
body: <p>I'm new to node.js.
  I need to extract audio and video format (codec) information for a given video file.
  I know how to do that in bash thanks to mplayer like this:</p>
  
  <pre><code>$ mplayer -vo null -ao null -identify -frames 0 myvideo.mp4 2&gt;/dev/null | grep FORMAT
  
  ID_VIDEO_FORMAT=H264
  ID_AUDIO_FORMAT=MP4A
  </code></pre>
  
  <p>I'm wondering if there's an npm module (library) that allows me to get same information. Alternatively I could launch the above command form node.js and read / parse stdout (I think there's plenty of examples around). However I'd rather use a node.js "native" solution.</p>