How to get framerate of video?

classic Classic list List threaded Threaded
1 message Options
ms
Reply | Threaded
Open this post in threaded view
|

How to get framerate of video?

ms
I'm newbie in Gstreamer, I have some questions:
+ How to get framerate of video from GstCaps
+ I have injected data into  appsrc which is set max size to 65536. I wanna get percentage of buffer used. when i use gst_app_src_get_size function, it returned -1. How to get size of buffer used?
Please suggest for me, thank so much!