This is blurring the lines between programming and vid production (question not allowed on Stack Overflow or Programmers)
I am throwing this out there as I know there may not be a suitable solution, but if there is maybe someone here may be able to help.
My team is brainstorming a video stream analysis tool - essentially something that would be able to test media streams and provide analytics about that stream (bitrate, packet loss,startup time etc), preferably this is a tool that could be run in the background on Linux and accept tests as they come in - perhaps fed from a third party API.
If you are familiar with WebPageTest then essentially i would be looking for something like this, but for media streams (GUI is not required).
We would prefer python but that is not a requirement.
I have seen pymedia - but it seems quite old, and maybe not a good fit.