派生自 development/c++

pansen
2019-03-06 a2dfb4907fd11e0a64ba16419dce066509462297
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#include <stdio.h>
#include <iostream>
#include <unistd.h>
#include <cstring>
#include <basic/debug/Debug.h>
#include "EncodeVideoManager.h"
#include <thread>
 
using namespace std;
 
#include <basic/util/file/FileUtil.h>
#include <basic/util/app/AppPreference.hpp>
#include <basic/util/app/AppConfig.h>
 
 
 
 
//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());
    std::cout<<__DATE__<<" "<<__TIME__<<std::endl;
    EncodeVideoManager  encodeVideoManager;
    encodeVideoManager.start();
 
    while (1) {
        sleep(1000000);
    }
    return 0;
 
}