An interactive broadcast system that takes input from multiple types of cameras, mixes them, adds a graphical layer based on computer vision analysis of the live shot and allows for control of that layer via social network interaction.
Setup your development environment
We use the master branch of the openFrameworks repository, either from your own fork or directly from the main repository. The description below explains how to setup your development environment for ProjectVictory.
cd Documents git clone firstname.lastname@example.org:openframeworks/openFrameworks.git nike cd nike/apps git clone email@example.com:HellicarAndLewis/ProjectVictory.git
General OF development directory layout
- all applications should be compilable directly after cloning the ProjectVictory repository
- all addons that are used by the tests or final runtimes are stored in the ProjectVictory/addons repository (as copy or submodule)
- shared data like images, fonts, shared settings, shared code go into the shared directory
- final applications get the prefix Runtime
of/apps/ProjectVictory of/apps/ProjectVictory/addons/ of/apps/ProjectVictory/shared/ of/apps/ProjectVictory/shared/libs/ of/apps/ProjectVictory/shared/images/ of/apps/ProjectVictory/shared/fonts/ of/apps/ProjectVictory/Test_VideoStreamer of/apps/ProjectVictory/Test_[your test] of/apps/ProjectVictory/Runtime_VideoStreamer of/apps/ProjectVictory/Runtime_VideoMixer of/apps/ProjectVictory/Runtime_[your app]
Includes for the addons
Linker search paths for ofxVideoStreamer
Add a linker search path to the "root" where the subdirectory of
ofxVideoStreamer can be found.
So if you put ofxVideoStreamer, inside addons/, then add a linker path to "addons".
Make sure to add these to your OF projects
Debug preprocessor flags
Release preprocessor flags
YUV420P_GRABBER_GLSL_VERSION=120 VIDEO_STREAMER_LITTLE_ENDIAN NDEBUG
Other linker flags
ofxVideoStreamer/lib/libx264.a ofxVideoStreamer/lib/librtmp.a ofxVideoStreamer/lib/libuv.a ofxVideoStreamer/lib/libmp3lame.a ofxVideoStreamer/lib/libfaac.a