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

Pushkar Pradhan pushkar at ipvideosys.com
Mon Aug 30 13:31:44 PDT 2010


________________________________

From: live-devel-bounces at ns.live555.com on behalf of Sagi Ben Moshe
Sent: Mon 8/30/2010 11:45 AM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Getting the FPS at the client side



Hi Pushkar,

 

I would like to know if the stream is NTFS or PAL, we can do it by the size but we prefer to do it by the FPS. 

 

As I was written, we are also writing the server part using Live555 so just let me know where should I add it  inside the server. 

 

Thanks,

Sagi

 

Hi Sagi,
You can take a look at RFC 4566. Perhaps this is what you are looking for:
a=framerate:<frame rate>

         This gives the maximum video frame rate in frames/sec.  It is
         intended as a recommendation for the encoding of video data.
         Decimal representations of fractional values using the notation
         "<integer>.<fraction>" are allowed.  It is a media-level
         attribute, defined only for video media, and it is not
         dependent on charset.
pushkar


From: live-devel-bounces at ns.live555.com [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Pushkar Pradhan
Sent: Monday, August 30, 2010 9:04 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Getting the FPS at the client side

 

 

 

________________________________

From: live-devel-bounces at ns.live555.com on behalf of Sagi Ben Moshe
Sent: Mon 8/30/2010 10:00 AM
To: live-devel at ns.live555.com
Subject: [Live-devel] Getting the FPS at the client side

Hi Ross, 

 

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.

How can I get the Fps of the video link?

 

We use Live555 as our server to stream from real video source (h264 or mpeg4). Maybe we should set something at the server side? 

 

Thanks,

Sagi

 

Hi Sagi,

I don't think you can always get the FPS from the SDP, i.e. it is not mandatory to set the fps in the sdp. For some codecs this info might be available in the bitstream itself.  What do you plan to do with the FPS? By the way you can always estimate it in your sink.

pushkar

 

 

 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 7416 bytes
Desc: not available
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20100830/8ccf1f51/attachment.bin>


More information about the live-devel mailing list