[Live-devel] Is there any way in testMPEG2TransportStreamer.cpp to know the frame rate of the file it is streaming

Warren Young warren at etr-usa.com
Thu May 31 16:25:19 PDT 2012


On 5/29/2012 5:34 AM, Tarun Batra wrote:
>
> Is there any way in testMPEG2TransportStreamer.cpp to know the frame
> rate of the file it is streaming????

Try subclassing MPEG2TransportStreamFramer, and keeping track when its 
getNextFrame() method is called.  Between that and gettimeofday(), you 
should be able to calculate this.


More information about the live-devel mailing list