zoukankan      html  css  js  c++  java
  • windows ZLMediaKit

    环境需求

    ZLMediaKit  git 后 默认到了  D:wwwrootLMediaKit 路径

    openssl https://cmake.org/download/

    cmake https://cmake.org/download/

    cmake -version
    cmake version 3.21.2

    编译,注意有个点(.)

    cmake .

    打开生成的项目文件 并编译

    D:wwwrootLMediaKitLMediaKit.sln

    已启动生成…
    1>------ 已启动生成: 项目: ZERO_CHECK, 配置: Debug x64 ------
    1>Checking Build System
    2>------ 已启动生成: 项目: flv, 配置: Debug x64 ------
    3>------ 已启动生成: 项目: mov, 配置: Debug x64 ------
    4>------ 已启动生成: 项目: mpeg, 配置: Debug x64 ------
    5>------ 已启动生成: 项目: zlmediakit, 配置: Debug x64 ------
    6>------ 已启动生成: 项目: zltoolkit, 配置: Debug x64 ------
    7>------ 已启动生成: 项目: jsoncpp, 配置: Debug x64 ------
    2>Building Custom Rule D:/wwwroot/ZLMediaKit/CMakeLists.txt
    3>Building Custom Rule D:/wwwroot/ZLMediaKit/CMakeLists.txt
    4>Building Custom Rule D:/wwwroot/ZLMediaKit/CMakeLists.txt
    5>Building Custom Rule D:/wwwroot/ZLMediaKit/CMakeLists.txt
    6>Building Custom Rule D:/wwwroot/ZLMediaKit/CMakeLists.txt
    7>Building Custom Rule D:/wwwroot/ZLMediaKit/server/CMakeLists.txt
    2>amf0.c
    3>fmp4-writer.c
    4>mpeg-crc32.c
    5>AACEncoder.cpp
    6>Buffer.cpp
    7>json_reader.cpp
    3>mov-av1.c
    2>amf3.c
    4>mpeg-element-descriptor.c
    5>H264Encoder.cpp
    5>Device.cpp
    4>mpeg-pack-header.c
    4>mpeg-packet.c
    3>mov-avc1.c
    3>mov-dinf.c
    3>mov-elst.c
    2>aom-av1.c
    2>flv-demuxer-script.c
    3>mov-esds.c
    3>mov-ftyp.c
    3>mov-hdlr.c
    2>flv-demuxer.c
    2>flv-header.c
    2>flv-muxer.c
    4>D:wwwrootLMediaKit3rdpartmedia-serverlibmpegsourcempeg-packet.c(57,21): warning C4267: “-=”: 从“size_t”转换到“int”,可能丢失数据
    4>mpeg-pat.c
    4>mpeg-pes.c
    4>D:wwwrootLMediaKit3rdpartmedia-serverlibmpegsourcempeg-pes.c(241,20): warning C4267: “-=”: 从“size_t”转换到“uint32_t”,可能丢失数据
    4>mpeg-pmt.c
    2>flv-parser.c
    2>flv-reader.c
    2>flv-writer.c
    3>mov-hdr.c
    3>mov-hvcc.c
    3>mov-iods.c
    4>D:wwwrootLMediaKit3rdpartmedia-serverlibmpegsourcempeg-pmt.c(235,76): warning C4244: “函数”: 从“__int64”转换到“int”,可能丢失数据
    4>mpeg-ps-dec.c
    4>D:wwwrootLMediaKit3rdpartmedia-serverlibmpegsourcempeg-ps-dec.c(93,21): warning C4267: “return”: 从“size_t”转换到“int”,可能丢失数据
    4>D:wwwrootLMediaKit3rdpartmedia-serverlibmpegsourcempeg-ps-dec.c(155,25): warning C4267: “return”: 从“size_t”转换到“int”,可能丢失数据
    4>D:wwwrootLMediaKit3rdpartmedia-serverlibmpegsourcempeg-ps-dec.c(158,13): warning C4267: “return”: 从“size_t”转换到“int”,可能丢失数据
    4>mpeg-ps-enc.c
    4>mpeg-psd.c
    4>mpeg-psm.c
    4>mpeg-sdt.c
    3>mov-leva.c
    3>mov-mdhd.c
    3>mov-mehd.c
    2>D:wwwrootLMediaKit3rdpartmedia-serverlibflvsourceflv-writer.c(125,20): warning C4267: “=”: 从“size_t”转换到“int”,可能丢失数据
    2>hevc-annexbtomp4.c
    2>hevc-mp4toannexb.c
    2>mp3-header.c
    2>mpeg4-aac-asc.c
    2>D:wwwrootLMediaKit3rdpartmedia-serverlibflvsourcempeg4-aac-asc.c(338,15): warning C4267: “return”: 从“size_t”转换到“int”,可能丢失数据
    2>mpeg4-aac.c
    3>mov-mfhd.c
    3>mov-minf.c
    3>mov-mvhd.c
    4>mpeg-system-header.c
    4>mpeg-ts-dec.c
    4>D:wwwrootLMediaKit3rdpartmedia-serverlibmpegsourcempeg-ts-dec.c(249,35): warning C4267: “+=”: 从“size_t”转换到“uint32_t”,可能丢失数据
    4>mpeg-ts-enc.c
    7>json_value.cpp
    4>mpeg-ts-h264.c
    4>D:wwwrootLMediaKit3rdpartmedia-serverlibmpegsourcempeg-ts-h264.c(117,42): warning C4267: “return”: 从“size_t”转换到“int”,可能丢失数据
    4>mpeg-ts-h265.c
    4>D:wwwrootLMediaKit3rdpartmedia-serverlibmpegsourcempeg-ts-h265.c(95,42): warning C4267: “return”: 从“size_t”转换到“int”,可能丢失数据
    4>mpeg-util.c
    4>正在生成代码...
    2>mpeg4-annexbtomp4.c
    2>mpeg4-avc.c
    2>mpeg4-hevc.c
    2>mpeg4-mp4toannexb.c
    3>mov-opus.c
    3>mov-reader.c
    3>mov-sidx.c
    2>opus-head.c
    2>D:wwwrootLMediaKit3rdpartmedia-serverlibflvsourceopus-head.c(293,39): warning C4244: “函数”: 从“__int64”转换到“int”,可能丢失数据
    2>D:wwwrootLMediaKit3rdpartmedia-serverlibflvsourceopus-head.c(315,47): warning C4244: “函数”: 从“__int64”转换到“int”,可能丢失数据
    2>D:wwwrootLMediaKit3rdpartmedia-serverlibflvsourceopus-head.c(325,27): warning C4244: “=”: 从“__int64”转换到“int”,可能丢失数据
    2>D:wwwrootLMediaKit3rdpartmedia-serverlibflvsourceopus-head.c(338,37): warning C4244: “=”: 从“__int64”转换到“int”,可能丢失数据
    2>D:wwwrootLMediaKit3rdpartmedia-serverlibflvsourceopus-head.c(367,38): warning C4244: “函数”: 从“__int64”转换到“int”,可能丢失数据
    2>正在生成代码...
    3>正在生成代码...
    6>D:wwwrootLMediaKit3rdpartLToolKitsrcNetworkBuffer.cpp(51,139): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据
    3>正在编译...
    3>mov-stco.c
    3>mov-stsc.c
    2>正在编译...
    2>webm-vpx.c
    6>Server.cpp
    3>mov-stsd.c
    3>D:wwwrootLMediaKit3rdpartmedia-serverlibmovsourcemov-stsd.c(501,30): warning C4267: “+=”: 从“size_t”转换到“int”,可能丢失数据
    3>mov-stss.c
    2>正在生成代码...
    3>mov-stsz.c
    3>mov-stts.c
    3>mov-tag.c
    3>mov-tfdt.c
    3>mov-tfhd.c
    3>mov-tfra.c
    3>mov-tkhd.c
    7>json_writer.cpp
    4>mpeg.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debugmpeg.lib
    2>flv.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debugflv.lib
    3>mov-track.c
    3>mov-trex.c
    2>已完成生成项目“flv.vcxproj”的操作。
    4>已完成生成项目“mpeg.vcxproj”的操作。
    3>mov-trun.c
    3>mov-tx3g.c
    3>mov-udta.c
    3>mov-vpcc.c
    3>mov-writer.c
    3>正在生成代码...
    7>正在生成代码...
    3>mov.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debugmov.lib
    3>已完成生成项目“mov.vcxproj”的操作。
    6>Session.cpp
    7>jsoncpp.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debugjsoncpp.lib
    5>MediaSink.cpp
    6>Socket.cpp
    6>D:wwwrootLMediaKit3rdpartLToolKitsrcNetworkSocket.cpp(272,69): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据
    6>TcpClient.cpp
    5>MediaSource.cpp
    6>TcpServer.cpp
    6>UdpServer.cpp
    5>MultiMediaSourceMuxer.cpp
    6>D:wwwrootLMediaKit3rdpartLToolKitsrcNetworkUdpServer.cpp(202,1): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据
    6>sockutil.cpp
    6>EventPoller.cpp
    6>Pipe.cpp
    5>Parser.cpp
    5>Stamp.cpp
    6>PipeWrap.cpp
    5>config.cpp
    6>SelectWrap.cpp
    5>D:wwwrootLMediaKitsrcCommonconfig.cpp(321,1): warning C4297: “Assert_Throw”: 假定函数不引发异常,但确实发生了
    5>D:wwwrootLMediaKitsrcCommonconfig.cpp(321,1): message : 函数是 extern "C" 并且指定了 /EHc
    6>Timer.cpp
    5>AAC.cpp
    6>TaskExecutor.cpp
    5>AACRtmp.cpp
    6>WorkThreadPool.cpp
    5>AACRtp.cpp
    6>CMD.cpp
    6>File.cpp
    5>CommonRtmp.cpp
    6>MD5.cpp
    6>D:wwwrootLMediaKit3rdpartLToolKitsrcUtilMD5.cpp(118,39): warning C4267: “参数”: 从“size_t”转换到“toolkit::MD5::size_type”,可能丢失数据
    6>NoticeCenter.cpp
    5>CommonRtp.cpp
    6>SHA1.cpp
    6>D:wwwrootLMediaKit3rdpartLToolKitsrcUtilSHA1.cpp(277,15): warning C4309: “参数”: 截断常量值
    6>D:wwwrootLMediaKit3rdpartLToolKitsrcUtilSHA1.cpp(297,29): warning C4244: “=”: 从“uint64_t”转换到“uint32_t”,可能丢失数据
    6>正在生成代码...
    5>Factory.cpp
    6>正在编译...
    6>SSLBox.cpp
    6>D:wwwrootLMediaKit3rdpartLToolKitsrcUtilSSLBox.cpp(328,92): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据
    6>D:wwwrootLMediaKit3rdpartLToolKitsrcUtilSSLBox.cpp(379,82): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据
    6>D:wwwrootLMediaKit3rdpartLToolKitsrcUtilSSLBox.cpp(412,82): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据
    6>D:wwwrootLMediaKit3rdpartLToolKitsrcUtilSSLBox.cpp(460,95): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据
    6>SSLUtil.cpp
    5>Frame.cpp
    6>D:wwwrootLMediaKit3rdpartLToolKitsrcUtilSSLUtil.cpp(96,98): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据
    6>D:wwwrootLMediaKit3rdpartLToolKitsrcUtilSSLUtil.cpp(124,88): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据
    6>D:wwwrootLMediaKit3rdpartLToolKitsrcUtilSSLUtil.cpp(322,120): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据
    6>D:wwwrootLMediaKit3rdpartLToolKitsrcUtilSSLUtil.cpp(324,120): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据
    6>D:wwwrootLMediaKit3rdpartLToolKitsrcUtilSSLUtil.cpp(349,121): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据
    6>D:wwwrootLMediaKit3rdpartLToolKitsrcUtilSSLUtil.cpp(351,121): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据
    6>SqlPool.cpp
    6>base64.cpp
    6>D:wwwrootLMediaKit3rdpartLToolKitsrcUtilase64.cpp(65,16): warning C4244: “return”: 从“__int64”转换到“int”,可能丢失数据
    6>D:wwwrootLMediaKit3rdpartLToolKitsrcUtilase64.cpp(109,47): warning C4267: “初始化”: 从“size_t”转换到“int”,可能丢失数据
    6>D:wwwrootLMediaKit3rdpartLToolKitsrcUtilase64.cpp(111,84): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据
    6>D:wwwrootLMediaKit3rdpartLToolKitsrcUtilase64.cpp(122,38): warning C4267: “初始化”: 从“size_t”转换到“int”,可能丢失数据
    6>logger.cpp
    5>G711.cpp
    6>D:wwwrootLMediaKit3rdpartLToolKitsrcUtillogger.cpp(566,58): warning C4267: “参数”: 从“size_t”转换到“int32_t”,可能丢失数据
    6>mini.cpp
    6>util.cpp
    5>H264.cpp
    6>C:Program Files (x86)Microsoft Visual Studio2019EnterpriseVCToolsMSVC14.29.30037includealgorithm(2892,24): warning C4244: “=”: 从“wint_t”转换到“char”,可能丢失数据
    6>D:wwwrootLMediaKit3rdpartLToolKitsrcUtilutil.cpp(179): message : 查看对正在编译的函数 模板 实例化“_OutIt std::transform<std::_String_iterator<std::_String_val<std::_Simple_types<_Elem>>>,std::_String_iterator<std::_String_val<std::_Simple_types<_Elem>>>,wint_t(__cdecl *)(wint_t)>(const _InIt,const _InIt,_OutIt,_Fn)”的引用
    6>        with
    6>        [
    6>            _OutIt=std::_String_iterator<std::_String_val<std::_Simple_types<char>>>,
    6>            _Elem=char,
    6>            _InIt=std::_String_iterator<std::_String_val<std::_Simple_types<char>>>,
    6>            _Fn=wint_t (__cdecl *)(wint_t)
    6>        ]
    6>uv_errno.cpp
    6>正在生成代码...
    5>H264Rtmp.cpp
    6>getopt.c
    5>H264Rtp.cpp
    6>zltoolkit.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debugzltoolkit.lib
    6>已完成生成项目“zltoolkit.vcxproj”的操作。
    5>正在生成代码...
    5>正在编译...
    5>H265.cpp
    5>H265Rtmp.cpp
    5>H265Rtp.cpp
    5>L16.cpp
    5>Opus.cpp
    5>HlsParser.cpp
    5>HlsPlayer.cpp
    5>HttpBody.cpp
    5>HttpChunkedSplitter.cpp
    5>HttpClient.cpp
    5>HttpClientImp.cpp
    5>HttpConst.cpp
    5>HttpCookie.cpp
    5>HttpCookieManager.cpp
    5>HttpDownloader.cpp
    5>HttpFileManager.cpp
    5>HttpRequestSplitter.cpp
    5>HttpRequester.cpp
    5>HttpSession.cpp
    5>HttpTSPlayer.cpp
    5>正在生成代码...
    5>正在编译...
    5>WebSocketSplitter.cpp
    5>strCoding.cpp
    5>MediaPlayer.cpp
    5>D:wwwrootLMediaKitsrcRtmp/RtmpPlayerImp.h(50,22): warning C4244: “初始化”: 从“float”转换到“uint32_t”,可能丢失数据
    5>D:wwwrootLMediaKitsrcRtsp/RtspPlayerImp.h(58,22): warning C4244: “初始化”: 从“float”转换到“uint32_t”,可能丢失数据
    5>PlayerBase.cpp
    5>D:wwwrootLMediaKitsrcRtsp/RtspPlayerImp.h(58,22): warning C4244: “初始化”: 从“float”转换到“uint32_t”,可能丢失数据
    5>D:wwwrootLMediaKitsrcRtmp/RtmpPlayerImp.h(50,22): warning C4244: “初始化”: 从“float”转换到“uint32_t”,可能丢失数据
    5>PlayerProxy.cpp
    5>MediaPusher.cpp
    5>PusherBase.cpp
    5>PusherProxy.cpp
    5>HlsMaker.cpp
    5>HlsMakerImp.cpp
    5>HlsMediaSource.cpp
    5>MP4.cpp
    5>MP4Demuxer.cpp
    5>MP4Muxer.cpp
    5>MP4Reader.cpp
    5>MP4Recorder.cpp
    5>Recorder.cpp
    5>TsMuxer.cpp
    5>Rtcp.cpp
    5>D:wwwrootLMediaKitsrcRtcpRtcp.cpp(280,31): warning C4244: “=”: 从“uint64_t”转换到“long”,可能丢失数据
    5>RtcpContext.cpp
    5>正在生成代码...
    5>正在编译...
    5>RtcpFCI.cpp
    5>FlvMuxer.cpp
    5>Rtmp.cpp
    5>RtmpDemuxer.cpp
    5>RtmpMuxer.cpp
    5>RtmpPlayer.cpp
    5>RtmpProtocol.cpp
    5>RtmpPusher.cpp
    5>RtmpSession.cpp
    5>D:wwwrootLMediaKitsrcRtmpRtmpSession.cpp(426,17): warning C4244: “初始化”: 从“double”转换到“float”,可能丢失数据
    5>amf.cpp
    5>utils.cpp
    5>Decoder.cpp
    5>GB28181Process.cpp
    5>PSDecoder.cpp
    5>PSEncoder.cpp
    5>RtpCache.cpp
    5>RtpProcess.cpp
    5>RtpSelector.cpp
    5>RtpSender.cpp
    5>RtpServer.cpp
    5>正在生成代码...
    5>正在编译...
    5>RtpSession.cpp
    5>RtpSplitter.cpp
    5>TSDecoder.cpp
    5>RtpCodec.cpp
    5>RtpMultiCaster.cpp
    5>RtpReceiver.cpp
    5>Rtsp.cpp
    5>RtspDemuxer.cpp
    5>RtspMuxer.cpp
    5>RtspPlayer.cpp
    5>RtspPusher.cpp
    5>RtspSession.cpp
    5>D:wwwrootLMediaKitsrcRtspRtspSession.cpp(784,25): warning C4244: “参数”: 从“double”转换到“float”,可能丢失数据
    5>RtspSplitter.cpp
    5>UDPServer.cpp
    5>ShellSession.cpp
    5>正在生成代码...
    5>SPSParser.c
    5>D:wwwrootLMediaKitsrcExtensionSPSParser.c(1059,54): warning C4018: “>=”: 有符号/无符号不匹配
    5>D:wwwrootLMediaKitsrcExtensionSPSParser.c(1060,54): warning C4018: “>=”: 有符号/无符号不匹配
    5>D:wwwrootLMediaKitsrcExtensionSPSParser.c(1260,35): warning C4018: “<”: 有符号/无符号不匹配
    5>D:wwwrootLMediaKitsrcExtensionSPSParser.c(1406,27): warning C4018: “<”: 有符号/无符号不匹配
    5>D:wwwrootLMediaKitsrcExtensionSPSParser.c(1430,27): warning C4018: “<”: 有符号/无符号不匹配
    5>D:wwwrootLMediaKitsrcExtensionSPSParser.c(1443,27): warning C4018: “<”: 有符号/无符号不匹配
    5>D:wwwrootLMediaKitsrcExtensionSPSParser.c(1465,19): warning C4018: “<”: 有符号/无符号不匹配
    5>D:wwwrootLMediaKitsrcExtensionSPSParser.c(1882,19): warning C4018: “<”: 有符号/无符号不匹配
    5>D:wwwrootLMediaKitsrcExtensionSPSParser.c(1947,47): warning C4018: “>=”: 有符号/无符号不匹配
    5>D:wwwrootLMediaKitsrcExtensionSPSParser.c(1948,47): warning C4018: “>=”: 有符号/无符号不匹配
    5>D:wwwrootLMediaKitsrcExtensionSPSParser.c(1996,49): warning C4018: “>”: 有符号/无符号不匹配
    5>D:wwwrootLMediaKitsrcExtensionSPSParser.c(2002,49): warning C4018: “>”: 有符号/无符号不匹配
    5>D:wwwrootLMediaKitsrcExtensionSPSParser.c(1678,34): warning C4101: “iVuiPresent”: 未引用的局部变量
    5>D:wwwrootLMediaKitsrcExtensionSPSParser.c(2134,41): warning C4018: “>”: 有符号/无符号不匹配
    5>D:wwwrootLMediaKitsrcExtensionSPSParser.c(2208,94): warning C4244: “=”: 从“double”转换到“float”,可能丢失数据
    5>zlmediakit.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debugzlmediakit.lib
    5>已完成生成项目“zlmediakit.vcxproj”的操作。
    8>------ 已启动生成: 项目: mk_api, 配置: Debug x64 ------
    9>------ 已启动生成: 项目: MediaServer, 配置: Debug x64 ------
    10>------ 已启动生成: 项目: bom, 配置: Debug x64 ------
    11>------ 已启动生成: 项目: tab, 配置: Debug x64 ------
    12>------ 已启动生成: 项目: test_bench_proxy, 配置: Debug x64 ------
    13>------ 已启动生成: 项目: test_bench_pull, 配置: Debug x64 ------
    14>------ 已启动生成: 项目: test_bench_push, 配置: Debug x64 ------
    15>------ 已启动生成: 项目: test_httpApi, 配置: Debug x64 ------
    16>------ 已启动生成: 项目: test_httpClient, 配置: Debug x64 ------
    17>------ 已启动生成: 项目: test_pusher, 配置: Debug x64 ------
    18>------ 已启动生成: 项目: test_pusherMp4, 配置: Debug x64 ------
    19>------ 已启动生成: 项目: test_rtcp, 配置: Debug x64 ------
    20>------ 已启动生成: 项目: test_rtcp_fci, 配置: Debug x64 ------
    21>------ 已启动生成: 项目: test_rtp, 配置: Debug x64 ------
    22>------ 已启动生成: 项目: test_server, 配置: Debug x64 ------
    23>------ 已启动生成: 项目: test_sortor, 配置: Debug x64 ------
    18>Building Custom Rule D:/wwwroot/ZLMediaKit/tests/CMakeLists.txt
    21>Building Custom Rule D:/wwwroot/ZLMediaKit/tests/CMakeLists.txt
    22>Building Custom Rule D:/wwwroot/ZLMediaKit/tests/CMakeLists.txt
    13>Building Custom Rule D:/wwwroot/ZLMediaKit/tests/CMakeLists.txt
    20>Building Custom Rule D:/wwwroot/ZLMediaKit/tests/CMakeLists.txt
    19>Building Custom Rule D:/wwwroot/ZLMediaKit/tests/CMakeLists.txt
    14>Building Custom Rule D:/wwwroot/ZLMediaKit/tests/CMakeLists.txt
    15>Building Custom Rule D:/wwwroot/ZLMediaKit/tests/CMakeLists.txt
    16>Building Custom Rule D:/wwwroot/ZLMediaKit/tests/CMakeLists.txt
    23>Building Custom Rule D:/wwwroot/ZLMediaKit/tests/CMakeLists.txt
    9>Building Custom Rule D:/wwwroot/ZLMediaKit/server/CMakeLists.txt
    10>Building Custom Rule D:/wwwroot/ZLMediaKit/tests/CMakeLists.txt
    11>Building Custom Rule D:/wwwroot/ZLMediaKit/tests/CMakeLists.txt
    17>Building Custom Rule D:/wwwroot/ZLMediaKit/tests/CMakeLists.txt
    8>Building Custom Rule D:/wwwroot/ZLMediaKit/api/CMakeLists.txt
    12>Building Custom Rule D:/wwwroot/ZLMediaKit/tests/CMakeLists.txt
    11>tab.cpp
    14>test_bench_push.cpp
    16>test_httpClient.cpp
    15>test_httpApi.cpp
    17>test_pusher.cpp
    22>test_server.cpp
    18>test_pusherMp4.cpp
    10>bom.cpp
    8>mk_common.cpp
    23>test_sortor.cpp
    13>test_bench_pull.cpp
    21>test_rtp.cpp
    20>test_rtcp_fci.cpp
    12>test_bench_proxy.cpp
    19>test_rtcp.cpp
    9>FFmpegSource.cpp
    9>Process.cpp
    19>test_rtcp.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debug	est_rtcp.exe
    20>test_rtcp_fci.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debug	est_rtcp_fci.exe
    11>tab.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debug	ab.exe
    10>bom.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debugom.exe
    24>------ 已启动生成: 项目: test_wsClient, 配置: Debug x64 ------
    25>------ 已启动生成: 项目: test_wsServer, 配置: Debug x64 ------
    24>Building Custom Rule D:/wwwroot/ZLMediaKit/tests/CMakeLists.txt
    25>Building Custom Rule D:/wwwroot/ZLMediaKit/tests/CMakeLists.txt
    16>test_httpClient.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debug	est_httpClient.exe
    24>test_wsClient.cpp
    25>test_wsServer.cpp
    23>test_sortor.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debug	est_sortor.exe
    9>System.cpp
    8>mk_events.cpp
    9>WebApi.cpp
    15>test_httpApi.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debug	est_httpApi.exe
    18>test_pusherMp4.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debug	est_pusherMp4.exe
    17>test_pusher.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debug	est_pusher.exe
    14>test_bench_push.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debug	est_bench_push.exe
    12>test_bench_proxy.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debug	est_bench_proxy.exe
    21>test_rtp.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debug	est_rtp.exe
    13>test_bench_pull.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debug	est_bench_pull.exe
    24>test_wsClient.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debug	est_wsClient.exe
    22>test_server.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debug	est_server.exe
    25>test_wsServer.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debug	est_wsServer.exe
    8>mk_events_objects.cpp
    9>WebHook.cpp
    8>mk_h264_splitter.cpp
    8>D:wwwrootLMediaKitapisourcemk_h264_splitter.cpp(66,1): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据
    8>mk_httpclient.cpp
    8>mk_media.cpp
    9>main.cpp
    8>mk_player.cpp
    9>正在生成代码...
    8>D:wwwrootLMediaKitapisourcemk_player.cpp(244,45): warning C4267: “=”: 从“size_t”转换到“int”,可能丢失数据
    8>mk_proxyplayer.cpp
    9>MediaServer.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64DebugMediaServer.exe
    8>mk_pusher.cpp
    8>mk_recorder.cpp
    8>mk_rtp_server.cpp
    8>mk_tcp.cpp
    8>mk_thread.cpp
    8>mk_util.cpp
    8>正在生成代码...
    8>  正在创建库 D:/wwwroot/ZLMediaKit/release/windows64/Debug/mk_api.lib 和对象 D:/wwwroot/ZLMediaKit/release/windows64/Debug/mk_api.exp
    8>mk_api.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debugmk_api.dll
    8>已完成生成项目“mk_api.vcxproj”的操作。
    26>------ 已启动生成: 项目: api_tester_h264_media_server, 配置: Debug x64 ------
    27>------ 已启动生成: 项目: api_tester_pusher, 配置: Debug x64 ------
    28>------ 已启动生成: 项目: api_tester_server, 配置: Debug x64 ------
    29>------ 已启动生成: 项目: api_tester_websocket, 配置: Debug x64 ------
    26>Building Custom Rule D:/wwwroot/ZLMediaKit/api/tests/CMakeLists.txt
    27>Building Custom Rule D:/wwwroot/ZLMediaKit/api/tests/CMakeLists.txt
    29>Building Custom Rule D:/wwwroot/ZLMediaKit/api/tests/CMakeLists.txt
    28>Building Custom Rule D:/wwwroot/ZLMediaKit/api/tests/CMakeLists.txt
    26>h264_media_server.c
    29>websocket.c
    27>pusher.c
    28>server.c
    26>D:wwwrootLMediaKitapi	estsh264_media_server.c(32,37): warning C4090: “函数”: 不同的“const”限定符
    26>D:wwwrootLMediaKitapi	estsh264_media_server.c(71,1): warning C4267: “初始化”: 从“size_t”转换到“int”,可能丢失数据
    26>api_tester_h264_media_server.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debugapi_tester_h264_media_server.exe
    27>api_tester_pusher.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debugapi_tester_pusher.exe
    29>api_tester_websocket.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debugapi_tester_websocket.exe
    28>api_tester_server.vcxproj -> D:wwwrootLMediaKit
    eleasewindows64Debugapi_tester_server.exe
    26>已完成生成项目“api_tester_h264_media_server.vcxproj”的操作。
    30>------ 已启动生成: 项目: ALL_BUILD, 配置: Debug x64 ------
    30>Building Custom Rule D:/wwwroot/ZLMediaKit/CMakeLists.txt
    31>------ 已跳过生成: 项目: INSTALL, 配置: Debug x64 ------
    31>没有为此解决方案配置选中要生成的项目 
    ========== 生成: 成功 30 个,失败 0 个,最新 0 个,跳过 1 个 ==========

    运行 "D:wwwrootLMediaKit eleasewindows64DebugMediaServer.exe"

     1 信息: 用提供的模式无法找到文件。
     2 2021-09-13 23:46:24.205 W MediaServer.exe[4644-main thread] File.cpp:50 opendir | FindFirstFileA failed:no such file or directory
     3 2021-09-13 23:46:24.207 I MediaServer.exe[4644-main thread] config.cpp:34 loadIniConfig | dump ini file to:D:/wwwroot/ZLMediaKit/release/windows64/Debug/config.ini
     4 2021-09-13 23:46:24.228 W MediaServer.exe[4644-main thread] SSLUtil.cpp:98 loadPublicKey | error:02001002:system library:fopen:No such file or directory
     5 2021-09-13 23:46:24.229 W MediaServer.exe[4644-main thread] SSLUtil.cpp:126 loadPrivateKey | error:2006D080:BIO routines:BIO_new_file:no such file
     6 2021-09-13 23:46:24.230 D MediaServer.exe[4644-stamp thread] util.cpp:342 operator () | Stamp thread started!
     7 2021-09-13 23:46:24.238 I MediaServer.exe[4644-main thread] EventPoller.cpp:466 EventPollerPool | 创建EventPoller个数:16
     8 2021-09-13 23:46:24.240 I MediaServer.exe[4644-main thread] TcpServer.cpp:188 start_l | TCP Server listening on 0.0.0.0:554
     9 2021-09-13 23:46:24.242 I MediaServer.exe[4644-main thread] TcpServer.cpp:188 start_l | TCP Server listening on 0.0.0.0:332
    10 2021-09-13 23:46:24.244 I MediaServer.exe[4644-main thread] TcpServer.cpp:188 start_l | TCP Server listening on 0.0.0.0:1935
    11 2021-09-13 23:46:24.246 I MediaServer.exe[4644-main thread] TcpServer.cpp:188 start_l | TCP Server listening on 0.0.0.0:19350
    12 2021-09-13 23:46:24.248 I MediaServer.exe[4644-main thread] TcpServer.cpp:188 start_l | TCP Server listening on 0.0.0.0:80
    13 2021-09-13 23:46:24.250 I MediaServer.exe[4644-main thread] TcpServer.cpp:188 start_l | TCP Server listening on 0.0.0.0:443
    14 2021-09-13 23:46:24.253 I MediaServer.exe[4644-main thread] TcpServer.cpp:188 start_l | TCP Server listening on 0.0.0.0:9000
    15 2021-09-13 23:46:24.255 I MediaServer.exe[4644-main thread] TcpServer.cpp:188 start_l | TCP Server listening on 0.0.0.0:10000
    16 2021-09-13 23:46:24.259 I MediaServer.exe[4644-main thread] UdpServer.cpp:78 start_l | UDP Server bind to 0.0.0.0:10000
    17 2021-09-13 23:46:24.259 I MediaServer.exe[4644-main thread] main.cpp:368 start_main | 已启动http api 接口
    18 2021-09-13 23:46:24.259 I MediaServer.exe[4644-main thread] main.cpp:370 start_main | 已启动http hook 接口

    默认配置文件 "D:wwwrootLMediaKit eleasewindows64Debugconfig.ini"

      1 ; auto-generated by mINI class {
      2 
      3 [api]
      4 apiDebug=1
      5 defaultSnap=./www/logo.png
      6 secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc
      7 snapRoot=./www/snap/
      8 
      9 [ffmpeg]
     10 bin=ffmpeg
     11 cmd=%s -re -i %s -c:a aac -strict -2 -ar 44100 -ab 48k -c:v libx264 -f flv %s
     12 log=./ffmpeg/ffmpeg.log
     13 snap=%s -i %s -y -f mjpeg -t 0.001 %s
     14 
     15 [general]
     16 addMuteAudio=1
     17 enableVhost=0
     18 enable_audio=1
     19 flowThreshold=1024
     20 fmp4_demand=0
     21 hls_demand=0
     22 maxStreamWaitMS=15000
     23 mediaServerId=BEILORVY148behlo
     24 mergeWriteMS=0
     25 modifyStamp=0
     26 publishToHls=1
     27 publishToMP4=0
     28 resetWhenRePlay=1
     29 rtmp_demand=0
     30 rtsp_demand=0
     31 streamNoneReaderDelayMS=20000
     32 ts_demand=0
     33 
     34 [hls]
     35 broadcastRecordTs=0
     36 deleteDelaySec=0
     37 fileBufSize=65536
     38 filePath=./www
     39 segDur=2
     40 segNum=3
     41 segRetain=5
     42 
     43 [hook]
     44 admin_params=secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc
     45 alive_interval=30.000000
     46 enable=0
     47 on_flow_report=
     48 on_http_access=
     49 on_play=
     50 on_publish=
     51 on_record_mp4=
     52 on_record_ts=
     53 on_rtsp_auth=
     54 on_rtsp_realm=
     55 on_server_keepalive=
     56 on_server_started=
     57 on_shell_login=
     58 on_stream_changed=
     59 on_stream_none_reader=
     60 on_stream_not_found=
     61 timeoutSec=10
     62 
     63 [http]
     64 charSet=gb2312
     65 dirMenu=1
     66 keepAliveSecond=15
     67 maxReqSize=40960
     68 notFound=<html><head><title>404 Not Found</title></head><body bgcolor="white"><center><h1>您访问的资源不存在!</h1></center><hr><center>ZLMediaKit(git hash:4c2b3237,branch:master,build time:Sep 13 2021 23:39:39)</center></body></html>
     69 port=80
     70 rootPath=./www
     71 sendBufSize=65536
     72 sslport=443
     73 virtualPath=
     74 
     75 [multicast]
     76 addrMax=239.255.255.255
     77 addrMin=239.0.0.0
     78 udpTTL=64
     79 
     80 [record]
     81 appName=record
     82 fastStart=0
     83 fileBufSize=65536
     84 filePath=./www
     85 fileRepeat=0
     86 fileSecond=3600
     87 sampleMS=500
     88 
     89 [rtmp]
     90 handshakeSecond=15
     91 keepAliveSecond=15
     92 modifyStamp=0
     93 port=1935
     94 sslport=19350
     95 
     96 [rtp]
     97 audioMtuSize=600
     98 rtpMaxSize=10
     99 videoMtuSize=1400
    100 
    101 [rtp_proxy]
    102 dumpDir=
    103 port=10000
    104 timeoutSec=15
    105 
    106 [rtsp]
    107 authBasic=0
    108 directProxy=1
    109 handshakeSecond=15
    110 keepAliveSecond=15
    111 port=554
    112 sslport=332
    113 
    114 [shell]
    115 maxReqSize=1024
    116 port=9000
    117 
    118 ; } ---
  • 相关阅读:
    面向对象的程序设计-2-创建对象
    面向对象的程序设计-1-理解对象
    react组件的生命周期
    react-router 组件式配置与对象式配置小区别
    mobx @computed的解读
    十分钟介绍mobx与react
    less学习
    git-简单流程(学习笔记)
    几种视频编码器的编译及使用方法
    一位程序员工作10年总结的13个忠告
  • 原文地址:https://www.cnblogs.com/endv/p/15265576.html
Copyright © 2011-2022 走看看