title: How to compress video captured used Subprocess adb screenrecord
body: <p>is there a way to determine maximum file size when recording Android devices screen using screenrecord?</p>
  <p>This is the line I'm using to record my files. This is inside a python script</p>
  <pre><code>subprocess.Popen([&quot;adb&quot;, &quot;shell&quot;, &quot;screenrecord&quot;, &quot;--verbose&quot;, device_file_name])
  </code></pre>
  <p>I'd like to determine maximum file size or at least, the bitrate</p>