派生自 development/c++

pansen
2019-03-07 d3b7bbe7102cd089680a828f5d8f6402c8cf6342
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
#include <iostream>
#include "AppController.h"
 
 
using namespace std;
 
int main(int argc, char **argv) {
    std::cout<<__DATE__<<" "<<__TIME__<<std::endl;
    vector<string> vec;
    vec.push_back("/home/bsk/test/1/load/");
//    vec.push_back("/home/bsk/2/load/");
 
//    while (true) {
 
        for (int i = 0; i < vec.size(); ++i) {
            AppController _AppController(vec[i], 5000);
            auto str_Path = _AppController.startController();
        }
//    }
 
 
//    appController->wait();
    return 0;
}
 
 
 
//    value["rtsp"] = "rtsp://admin:a1234567@192.168.1.202:554/h264/ch1/main/av_stream";
 
//    cv::VideoCapture capture;
//    int frameCount =0;
//    capture.open("/home/basic/视频/output.mp4");
//    while (capture.grab()) {
//        frameCount++;
//    }
//    cout << "total time: "<<frameCount/25<<"s"<<endl;