← Back

ofxMovieExporter-VS2015

github.com/gary9716/ofxMovieExporter-VS2015 · @gary9716
OF 0.9 Video/Camera Windows

make it compilable against VS 2015

0 0 Last commit 9y ago Created 9y ago

README

Usage

Declare exporter:

Apex::ofxMovieExporter movieExporter;


Setup exporter, see ofxMovieExporter.h for further setup options:

movieExporter.setup();


Start capturing:

movieExporter.record();


Stop capturing:

movieExporter.stop();


New movies will be saved to data folder each time record() then stop() are called named capture0.mp4, capture1.mp4 and so on.

Dependencies

Addon is based on avlib version 371888c from git://git.videolan.org/ffmpeg.git

OSX binaries were compiled as LGPL. Windows binaries were downloaded from here - http://ffmpeg.zeranoe.com/builds/ - and include x264 and hence are GPL. If you feel in the mood for some Windows fun, compile away and I'll update.

TODO

Use more efficient pixel capture than glReadPixels at the end of rendering the frame, maybe pixel buffer - http://stackoverflow.com/questions/5142990/screen-capture-with-open-gl-using-glreadpixels Add queue mechanism that doesn't involve locking Add audio Remove unnecessary libs - probably avdevice, avfilter, avutil and postproc

Get this addon

HTTPS
SSH