[Live-devel] Getting the FPS at the client side

Ross Finlayson finlayson at live555.com
Mon Aug 30 21:22:08 PDT 2010


>At the client streamer, when I get a video link (Mpeg4 or H264) I 
>get a set of parameters but the subsession->videoFPS() (frames per 
>second) is set to zero.

As others have noted, this is not always present in the stream's SDP 
description.

>How can I get the Fps of the video link?

In general you will need to decode the video stream - at least, 
decode it enough so that you can figure out which received data 
contains the start of video frames.  And then, from this - plus the 
presentation times - you can figure out the frame rate.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list