[gst-devel] Framerate=(fraction)1000/1 question.

Edward Hervey bilboed at gmail.com
Fri Nov 27 12:41:57 CET 2009


On Thu, 2009-11-26 at 05:59 -0800, LearnerMan wrote:
> I am debugging a gStreamer application and the following code :
> GstStructure *msgStructure = 
>        gst_structure_new( "video-stats",
>                           "bufferCaps", G_TYPE_STRING, l_sCapsStr.c_str(),
>                            NULL );
> 
> Gives me info like so:
> Buffer caps: video/x-raw-yuv, width=(int)640, height=(int)480,
> framerate=(fraction)1000/1, format=(fourcc)I420, interlaced=(boolean)false,
> pixel-aspect-ratio=(fraction)1/1;
> 
> It says the framerate is framerate=(fraction)1000/1,
> 
> What does this 1000/1 rate mean??  

  That the output framerate is 1000 frames per second (it's a fraction).

  Looks like there's a bug somewhere though (unless your file *REALLY*
has a 1000fps stream...)

   Edward







More information about the gstreamer-devel mailing list