I am trying to measure the variation in the bandwidth required when a video is played over the network. For this purpose, i need to make a graph of the bandwidth required to play the video continuously at any time during the video.
I tried processing the video with gstreamer but it gives me the bit rate of the decoded[not encoded] video which is more or less constant.
Is there a way to get the encoded bit rate of a video over time?
Since i got no answers here, i will post the solution that i found for myself so that it may help others.
Vlc python bindings expose a python api to the vlc media player. They also provide a MediaStats class that can be used to determine video statistics.