Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread Display Modes
Old Jun 25, 2013, 10:46 AM   #1
macrumors member
Join Date: Nov 2012
Screen recording (for OpenGL applications)

I'm looking for a means to record some footage of my application which uses OpenGL for gfx (yes, it's a game). My problem is finding a way to do it without slowing down my game's framerate. I tried using quicktime, but that slowed my game down to a crawl. Since my game uses frame based movement, it has to run at a solid 60fps. So far, I haven't seen a Mac equivalent to Fraps.

One thing I do have is avilib, so if all else fails, I can write my own code to save each frame as a .jpg into a temporary folder, edit/remove the headers as necessary and save write each frame to a MJPG compressed .avi file. I've decoded MJPG encoded .avi files before, so encoding one shouldn't be a problem, but I'm sure I'd have to multi-thread the code to avoid effecting the game's frame rate.

Any other alternatives? Thanks.
blueshogun96 is offline   0 Reply With Quote
Old Jun 30, 2013, 02:29 PM   #2
Madd the Sane
macrumors 6502
Join Date: Nov 2010
Location: Utah
There is a demo app on developer.apple.com that shows how to make a QuickTime movie from an OpenGL view. I can't remember what the project is called, though.
Madd the Sane is online now   1 Reply With Quote
Old Jul 1, 2013, 05:22 PM   #3
macrumors member
Join Date: Jun 2005
Location: London, UK
I believe the sample is From A View to A Movie
Persifleur is offline   1 Reply With Quote

MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Recording webcam video with screen recording software? kat.hayes Alternatives to iOS and iOS Devices 2 Jan 3, 2014 11:41 AM
Mavericks, OpenGL, Older Applications highpass OS X Mavericks (10.9) 0 Oct 23, 2013 02:20 PM
Screen recording help negativzero OS X 10.8 Mountain Lion 1 Mar 2, 2013 08:34 AM
screen recording zygezund Mac Applications and Mac App Store 1 Sep 4, 2012 11:59 AM
Recording your screen with Screen Flow MacBookPro13" MacBook Pro 3 Aug 30, 2012 10:56 AM

Forum Jump

All times are GMT -5. The time now is 11:58 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2015, MacRumors.com, LLC