Python Subprocess Stream Output Bitrate Calculator