[Live-devel] fps?

Ross Finlayson finlayson at live555.com
Mon Feb 19 07:48:57 PST 2007


>Is there a way to determine the fps of a given rtsp stream?
>According to the RFC, it could be calculated from the rtp timestamps,
>but I havent really found an exact way to do so.. does the library
>contain code
>to calculate it? or how can I do that?

I suggest looking at the MPlayer source code.  It contains some code 
(in "libmpdemux/demux_rtp_codec.cpp") that does this (search for 
"guess").
-- 

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


More information about the live-devel mailing list