Framerate monitoring and screen capture for UNIX OpenGL programs
License
jtsiomb/frapix
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
About ----- Frapix is a free utility to view and optionally limit the framerate of any UNIX OpenGL program. Additionally it lets you capture still images and videos (image sequences only at the moment) from OpenGL programs. Essentially frapix, is very similar to the popular proprietary windows-only fraps program, without being an exact clone. License ------- Copyright (C) 2009-2015 John Tsiombikas <nuclear@member.fsf.org> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See COPYING for details. Build ----- To compile frapix you will need libimago, get it from http://github.com/jtsiomb/libimago and install it before continuing further. Just type make to compile frapix, then make install as root to install it system-wide. The default installation prefix is /usr/local, feel free to modify the first line of the makefile to change this if you prefer to install somewhere else. Usage ----- Just prefix the frapix script to any program you wish to run with it. So for instance: frapix glxgears Commandline options: -f <fps> will attempt to limit the framerate to <fps>. -u <interval> same as above, but specifying the interval between frames in milliseconds instead of the target framerate. If you'd rather use frapix with any program ran from a particular terminal, just export LD_PRELOAD=/usr/local/lib/libfrapix.so and it will stick. In this case, if you want to set framerate limits as above, you'll have to use the equivalent enviroment variables: FRAPIX_FPS_LIMIT=<fps> or FRAPIX_FPS_UPDATE_RATE=<interval>. While running with frappix you may press F12 at any time to capture a screenshot, which will be saved as /tmp/frapix####.tga, incrementing the number each time you do so. F11 starts a video capture, which just dumps a tga sequence in the same way. The key bindings, and output directory/filenames, should become user-configurable at some point in the future. For now feel free to edit frapix.c around line 170 to change them.
About
Framerate monitoring and screen capture for UNIX OpenGL programs
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published