• 大小: 44.53MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-18
  • 语言: 其他
  • 标签:

资源简介

Hi3518采集摄像头图片并把Hi3518当作RTSP服务器用RTSP转文传输视频数据,VLC作为客户端请求连接Hi3518播放视频

资源截图

代码片段和文件信息

#include 
gettime(char* buf)//main()
{
        char szContentBuf[200] =““;
        time_t timep;
        struct tm *p;
        time(&timep);
        p=gmtime(&timep);
        sprintf(szContentBuf“%04d%02d%02d%02d%02d%02d“(1900+p->tm_year) (1+p->tm_mon)p->tm_mdayp->tm_hourp->tm_minp->tm_sec);
        strcpy(bufszContentBuf);//bufstrlen(szContentBuf));
        //return szContentBuf;
//printf(“%s\n“ szContentBuf);
}
char filename[200]={0};
main()
{
        //filename=gettime();
        printf(“%s\n“gettime(filename));
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-04-03 15:09  rtspok_utf8\
     文件         562  2018-03-05 09:33  rtspok_utf8\gettime.c
     文件       46034  2018-03-13 09:58  rtspok_utf8\H.264 流媒体传输系统的实现.gif
     文件       50500  2018-03-05 09:33  rtspok_utf8\RTP header格式.jpg
     目录           0  2018-04-03 15:09  rtspok_utf8\rtsp-png\
     文件      662994  2018-03-15 09:03  rtspok_utf8\rtsp-png\rtsp.png
     目录           0  2018-04-03 15:09  rtspok_utf8\rtspcode\
     目录           0  2018-04-03 15:09  rtspok_utf8\rtspcode\include\
     文件        7235  2018-03-05 09:33  rtspok_utf8\rtspcode\include\acodec.h
     文件       11391  2018-03-05 09:33  rtspok_utf8\rtspcode\include\dictionary.h
     文件       13644  2018-03-05 09:33  rtspok_utf8\rtspcode\include\hifb.h
     文件        2254  2018-03-05 09:33  rtspok_utf8\rtspcode\include\himedia.h
     文件        5491  2018-03-05 09:33  rtspok_utf8\rtspcode\include\hi_ae_comm.h
     文件         900  2018-03-05 09:33  rtspok_utf8\rtspcode\include\hi_af_comm.h
     文件        5509  2018-03-05 09:33  rtspok_utf8\rtspcode\include\hi_awb_comm.h
     文件        8644  2018-03-05 09:33  rtspok_utf8\rtspcode\include\hi_common.h
     文件       10905  2018-03-05 09:33  rtspok_utf8\rtspcode\include\hi_comm_3a.h
     文件        5455  2018-03-05 09:33  rtspok_utf8\rtspcode\include\hi_comm_adec.h
     文件        4874  2018-03-05 09:33  rtspok_utf8\rtspcode\include\hi_comm_aenc.h
     文件         879  2018-03-05 09:33  rtspok_utf8\rtspcode\include\hi_comm_ai.h
     文件       22098  2018-03-05 09:33  rtspok_utf8\rtspcode\include\hi_comm_aio.h
     文件         881  2018-03-05 09:33  rtspok_utf8\rtspcode\include\hi_comm_ao.h
     文件        4779  2018-03-05 09:33  rtspok_utf8\rtspcode\include\hi_comm_fisheye.h
     文件       64509  2018-03-05 09:33  rtspok_utf8\rtspcode\include\hi_comm_isp.h
     文件       14416  2018-03-05 09:33  rtspok_utf8\rtspcode\include\hi_comm_ive.h
     文件        9602  2018-03-05 09:33  rtspok_utf8\rtspcode\include\hi_comm_pciv.h
     文件       16374  2018-03-05 09:33  rtspok_utf8\rtspcode\include\hi_comm_rc.h
     文件        9452  2018-03-05 09:33  rtspok_utf8\rtspcode\include\hi_comm_region.h
     文件        9738  2018-03-05 09:33  rtspok_utf8\rtspcode\include\hi_comm_sns.h
     文件        3950  2018-03-05 09:33  rtspok_utf8\rtspcode\include\hi_comm_sys.h
     文件        4068  2018-03-05 09:33  rtspok_utf8\rtspcode\include\hi_comm_vb.h
............此处省略219个文件信息

评论

共有 条评论

相关资源