title: Is there a way to get the frame width and frame height properties of a webm via javascript?
body: <p>Here are the properties I'm trying to access:</p>
  <p><a href="https://i.stack.imgur.com/3dlS9.png" rel="nofollow noreferrer">propertyHelp001</a></p>
  <p>I've looked at mediainfo.js (<a href="https://github.com/buzz/mediainfo.js?files=1" rel="nofollow noreferrer">https://github.com/buzz/mediainfo.js?files=1</a>) and honestly I'm not able to figure it out.</p>
  <p>I've also seen people mention that it's possible to use 'media info' (<a href="https://mediaarea.net/en/MediaInfo" rel="nofollow noreferrer">https://mediaarea.net/en/MediaInfo</a>) CLI to accomplish this but I can't find any instruction on how to accomplish this.</p>
  <p>I've also tried utilising wmic like so:</p>
  <pre><code>var exec = require('child_process').exec
  exec('wmic datafile where name=&quot;C:\\\\some_path\\\\MyTestCourse\\\\test_conversion\\\\testProject001\\\\videos\\\\video0.webm&quot; get NaturalVideoWidth ', function(err, stdout, stderr){
          if(!err){
              console.log(stdout)
          };
      });
  </code></pre>
  <p>but I don't think it can access what I'm looking for.</p>
  <p>I need to be able to run this in a terminal as part of a batch conversion of videos I'm doing. I'm using nodejs and a batch file to accomplish this.</p>
  <p>I'd greatly appreciate any insight or advice.</p>