Goga1992 / gst-fpslogger

FPS logging Gstreamer element.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gst-fpslogger

FPS logging Gstreamer element.

Requrements

$ sudo apt install -y build-essential cmake libgstreamer1.0-dev

Installation

$ mkdir build && cd build 
$ cmake ../
$ make -j4
$ make install

Example

$ gst-launch-1.0 videotestsrc ! fpslogger ! fakesink sync=true
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
fpslogger : fps = 31.986981
fpslogger : fps = 29.999641
fpslogger : fps = 30.000027

About

FPS logging Gstreamer element.

License:GNU Lesser General Public License v2.1


Languages

Language:C++ 86.7%Language:C 7.5%Language:CMake 5.8%