#include #include #include #include #include #include "EncodeVideoManager.h" #include using namespace std; #include #include #include //static void startEncodeVideoManager(int i) //{ // EncodeVideoManager encodeVideoManager; // encodeVideoManager.start(); // while (1) { // sleep(1 * 60 * 60 * 12); // } //} int main(int argc, char **argv) { SAVE_APP_ARGS ENABLEGLOG(GET_STR_CONFIG("logPath").c_str()); EncodeVideoManager encodeVideoManager; encodeVideoManager.start(); while (1) { sleep(1000000); } return 0; }