It's good if it can work for you. This patch just for profiling some test cases in my environment in debug mode. Upstream may consider a better one or maybe gstreamer already had.
From: Tay, Boon Wooi Sent: Friday, January 11, 2013 10:59 AM To: Yuan, Feng; libva@lists.freedesktop.org Subject: RE: Measuring fps and frame dropped with gst-vaapi plugins Thanks Feng, just curious isn't this patch worth a merge into the upstream repo and start allowing some runtime measurement tool to be turned on? From: Yuan, Feng Sent: Friday, January 11, 2013 9:54 AM To: Tay, Boon Wooi; libva@lists.freedesktop.org<mailto:libva@lists.freedesktop.org> Subject: RE: Measuring fps and frame dropped with gst-vaapi plugins You can try this patch, there's an definition of FPS_CALCULATION(name) to calculate function framerate. I normally use it to calculate encode/decode/sink framerates. For example, if you want check fps of vaapisink, you can write FPS_CALCULATION (vaapisink) in gst_vaapisink_show_frame vaapidecode, you can write FPS_CALCULATION (vaapisink) in gst_vaapidecode_step just before gst_pad_push only vaapisink may drop frame, and if this happened, usually there will be GST_WARNING log output from <GstBaseSink> Thanks, Wind From: libva-bounces+feng.yuan=intel....@lists.freedesktop.org<mailto:libva-bounces+feng.yuan=intel....@lists.freedesktop.org> [mailto:libva-bounces+feng.yuan=intel....@lists.freedesktop.org] On Behalf Of Tay, Boon Wooi Sent: Thursday, January 10, 2013 6:12 PM To: libva@lists.freedesktop.org<mailto:libva@lists.freedesktop.org> Subject: [Libva] Measuring fps and frame dropped with gst-vaapi plugins Does anyone know if there is such capability from gstreamer-vaapi? Thanks, BoonWooi
_______________________________________________ Libva mailing list Libva@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libva