How do I programmatically find out the width and height of the video in an mpeg-2 transport stream file?
Thanks.
Edit: I am using C++, but am happy for examples in any language.
...
i have latitude and longitude of a location and i want to find nearby transit info of that location, just like how google does it on there google maps detail page.
...
I wrote a program that will parse a transport stream. But I need to know if a transport stream packet contains an i-frame. What is the best way to do this? I heard somewhere that I need to look at a couple of bits after the picture start code but I don't know where to find this in the TS packet.
...
So I'm trying to build some code that uses the FFMPEG libraries to read and display video packaged in an MPEG-2 Transport Stream encoded with H.264. I often find myself with intermittent problems playing the video.
However, I don't really know how to ensure that the source video is in fact free of problems.
Does anyone know where one ...