Logo white

Hu Chunming / FFNvDecoder

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • FFNvDecoder
  • save_tool
  • main.cpp
  • 保存jpg图片
    ecb0badb
    ming authored
    2024-03-25 10:29:34 +0800  
    Browse Code »
main.cpp 373 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#include"save_tool.h"


#include<iostream>

using namespace std;



int main(int argc, char *argv[]) {
    printf("start \n");
    if (argc != 2) {
        fprintf(stderr, "./xxx uri\n");
        return -1;
    }

    char* uri = "rtsp://admin:ad123456@192.168.60.165:554/cam/realmonitor?channel=1&subtype=0";

    cout << uri << endl;

    save_tool(uri);

    return 0;
}