How do I programmatically find out the width and height of the video in an mpeg-2 transport program stream file?
Edit: I am using C++, but am happy for examples in any language. Edit: Corrected question - it was probably program streams I was asking about