{"id":16443,"date":"2025-04-18T22:52:42","date_gmt":"2025-04-18T14:52:42","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/16443.html"},"modified":"2025-04-18T22:52:42","modified_gmt":"2025-04-18T14:52:42","slug":"ffmpeg-4-3-%e9%9f%b3%e8%a7%86%e9%a2%91-%e5%a4%9a%e8%b7%afh265%e7%9b%91%e6%8e%a7%e5%bd%95%e6%94%bec%e5%bc%80%e5%8f%91%e4%ba%8c%e5%8d%81%e4%b8%80-1%ef%bc%8crtsp%e5%8d%8f%e8%ae%ae-rtsp%e5%8d%8f","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/16443.html","title":{"rendered":"FFmpeg 4.3 \u97f3\u89c6\u9891-\u591a\u8defH265\u76d1\u63a7\u5f55\u653eC++\u5f00\u53d1\u4e8c\u5341\u4e00.1\uff0cRTSP\u534f\u8bae-RTSP\u534f\u8bae\u6982\u8ff0,\u8be6\u60c5\uff0c\u4f7f\u7528VLC\u642d\u5efaRTSP\u670d\u52a1\u5668\uff0c\u4f7f\u7528\u5f00\u6e90\u9879\u76eeZLMediakit \u642d\u5efaRTSP\u670d\u52a1\u5668\u3002"},"content":{"rendered":"<h2>\u524d\u63d00&#xff1a;<\/h2>\n<h3><span style=\"color:#fe2c24\">RTSP \u6307\u662f\u7684 RTSP\u534f\u8bae&#xff0c;RTP\u534f\u8bae&#xff0c;RTCP\u534f\u8bae&#xff0c;SDP\u534f\u8bae \u7684\u56db\u8005\u7684\u548c\u3002<\/span><\/h3>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"912\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418145232-680267305fd22.png\" width=\"1200\" \/><\/p>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"833\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418145232-68026730c84d7.png\" width=\"1200\" \/><\/p>\n<\/p>\n<\/p>\n<p><span style=\"color:#fe2c24\">\u4e00\u4e2a\u77e5\u8bc6\u70b9&#xff1a;RTSP \u6307\u662f\u7684 RTSP\u534f\u8bae&#xff0c;RTP\u534f\u8bae&#xff0c;RTCP\u534f\u8bae&#xff0c;SDP\u534f\u8bae \u7684\u56db\u8005\u7684\u548c\u3002\u8fd9\u56db\u4e2a\u534f\u8bae\u4e00\u822c\u4e00\u8d77\u4f7f\u7528&#xff0c;\u624d\u80fd\u6784\u67b6\u6210\u4e00\u4e2a\u5b8c\u6574\u7684RTSP\u5e94\u7528\u3002\u5177\u4f53\u7684\u8bf4\u660e\u548c\u8fde\u63a5\u5982\u4e0b<\/span><\/p>\n<\/p>\n<p><span style=\"color:#a2e043\">RTSP<\/span>\u534f\u8bae&#xff1a;\u8d1f\u8d23\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u7aef\u7684<span style=\"color:#a2e043\">\u8bf7\u6c42\u548c\u54cd\u5e94<\/span>&#xff1b;RTSP\u534f\u8bae\u8be6\u60c5\u3002<\/p>\n<\/p>\n<p>FFmpeg 4.3 \u97f3\u89c6\u9891-\u591a\u8defH265\u76d1\u63a7\u5f55\u653eC&#043;&#043;\u5f00\u53d1\u4e8c\u5341\u4e00&#xff0c;RTSP\u534f\u8bae-RTSP\u534f\u8bae\u6982\u8ff0&#xff0c;\u534f\u8bae\u8be6\u60c5&#xff0c;\u4f7f\u7528VLC\u642d\u5efaRTSP\u670d\u52a1\u5668&#xff0c;\u4f7f\u7528\u5f00\u6e90\u9879\u76eeZLMediakit \u642d\u5efaRTSP\u670d\u52a1\u5668\u3002-CSDN\u535a\u5ba2<\/p>\n<\/p>\n<p><span style=\"color:#38d8f0\">RTP<\/span>\u534f\u8bae&#xff1a;\u8d1f\u8d23\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u7aef\u4e4b\u95f4<span style=\"color:#38d8f0\">\u4f20\u9012\u5a92\u4f53\u6570\u636e<\/span>&#xff1b;RTP\u534f\u8bae\u8be6\u60c5\u3002FFmpeg 4.3 \u97f3\u89c6\u9891-\u591a\u8defH265\u76d1\u63a7\u5f55\u653eC&#043;&#043;\u5f00\u53d1\u4e8c\u5341\u4e00.2&#xff0c;RTP\u534f\u8bae-RTP\u534f\u8bae\u6982\u8ff0&#xff0c;\u534f\u8bae\u8be6\u60c5-CSDN\u535a\u5ba2<\/p>\n<\/p>\n<p><span style=\"color:#956fe7\">RTCP<\/span>\u534f\u8bae&#xff1a;\u8d1f\u8d23\u63d0\u4f9b\u6709\u5173RTP\u4f20\u8f93\u8d28\u91cf\u7684\u53cd\u9988&#xff0c;\u5c31\u662f<span style=\"color:#956fe7\">\u786e\u4fddRTP\u4f20\u8f93\u7684\u8d28\u91cf<\/span>\u3002\u4f8b\u5982\u53ef\u4ee5\u76d1\u89c6RTP\u534f\u8bae\u53d1\u9001\u7684\u6570\u636e\u7684\u5185\u5bb9\u662f\u5426\u4e22\u5931\u6216\u8005\u91cd\u590d\u3002\u00a0RTCP\u534f\u8bae\u8be6\u60c5\u3002<\/p>\n<p>FFmpeg 4.3 \u97f3\u89c6\u9891-\u591a\u8defH265\u76d1\u63a7\u5f55\u653eC&#043;&#043;\u5f00\u53d1\u4e8c\u5341\u4e00.3&#xff0c;RTCP\u534f\u8bae, RTCP\u534f\u8bae\u6982\u8ff0&#xff0c;RTCP\u534f\u8bae\u8be6\u60c5-CSDN\u535a\u5ba2<\/p>\n<\/p>\n<h3>\u56db \u8005\u7684\u5173\u7cfb<\/h3>\n<p>RTSP\u5e76\u4e0d\u4f1a\u53d1\u9001\u53d1\u9001\u5a92\u4f53\u6570\u636e&#xff0c;\u53ea\u662f\u5b8c\u6210\u670d\u52a1\u5668\u548c\u5ba2\u6237\u7aef\u4e4b\u95f4\u7684\u4fe1\u4ee4\u4ea4\u4e92&#xff1b;<\/p>\n<p>\u5b8c\u6210\u4ea4\u4e92\u540e&#xff0c;RTP\u8d1f\u8d23\u5a92\u4f53\u6570\u636e\u4f20\u8f93<\/p>\n<p>RTCP \u8d1f\u8d23RTP \u6570\u636e\u5305\u7684\u76d1\u89c6\u548c\u53cd\u9988\u3002<\/p>\n<p>rtsp\u89c4\u5b9a\u4f20\u8f93\u5c42\u5fc5\u987b\u662ftcp; rtp \u548c rtcp\u5e76\u6ca1\u6709\u89c4\u5b9a\u4f20\u8f93\u5c42\u7684\u7c7b\u578b&#xff0c;\u4f20\u8f93\u5c42\u53ef\u4ee5\u662ftcp\u6216\u8005udp\u3002<\/p>\n<\/p>\n<p>\u989d\u5916\u7684\u8bf4\u660e&#xff1a;\u5173\u4e8e\u6d41\u5a92\u4f53\u76f8\u5173\u7684\u534f\u8bae\u7684\u5927\u81f4\u4ecb\u7ecd\u548c\u8bf4\u660e<\/p>\n<p>RTMP\u3001RTSP\u3001RTP\u3001HLS\u3001MPEG-DASH\u534f\u8bae\u7684\u7b80\u4ecb&#xff0c;\u4ee5\u53ca\u5e94\u7528\u573a\u666f-CSDN\u535a\u5ba2<\/p>\n<h2><\/h2>\n<h2><\/h2>\n<h2>\u524d\u63d01&#xff1a;\u4e3a\u4ec0\u4e48\u8981\u5b66\u4e60 RTSP \u534f\u8bae&#xff1f;Real Time Streaming Protocol<\/h2>\n<p><span style=\"color:#fe2c24\">RTSP\u534f\u8bae\u5728\u5982\u4e0b\u7684\u97f3\u89c6\u9891\u5e94\u7528\u7684\u573a\u666f\u4e0b\u90fd\u80fd\u7528\u5230\u3002<\/span><\/p>\n<h3>1.\u89c6\u9891\u76d1\u63a7\u7cfb\u7edf&#xff0c;<\/h3>\n<ul>\n<li>RTSP\u5728\u89c6\u9891\u76d1\u63a7\u7cfb\u7edf\u4e2d\u626e\u6f14\u7740\u91cd\u8981\u89d2\u8272\u3002\u901a\u8fc7RTSP&#xff0c;\u76d1\u63a7\u6444\u50cf\u5934\u53ef\u4ee5\u5c06\u5b9e\u65f6\u89c6\u9891\u6d41\u4f20\u8f93\u5230\u76d1\u63a7\u4e2d\u5fc3\u6216\u5ba2\u6237\u7aef&#xff0c;\u5b9e\u73b0\u8fdc\u7a0b\u76d1\u63a7\u548c\u5b9e\u65f6\u67e5\u770b\u3002\u8fd9\u79cd\u5e94\u7528\u5e38\u89c1\u4e8e\u57ce\u5e02\u5b89\u9632\u3001\u4f01\u4e8b\u4e1a\u5355\u4f4d\u3001\u4ea4\u901a\u76d1\u63a7\u7b49\u573a\u666f\u3002<\/li>\n<li>\u4f18\u52bf&#xff1a;RTSP\u63d0\u4f9b\u4e86\u5b9e\u65f6\u63a7\u5236\u529f\u80fd&#xff0c;\u5141\u8bb8\u7528\u6237\u901a\u8fc7\u53d1\u9001\u63a7\u5236\u6307\u4ee4&#xff08;\u5982\u64ad\u653e\u3001\u6682\u505c\u3001\u5feb\u8fdb\u3001\u5feb\u9000\u7b49&#xff09;\u6765\u64cd\u4f5c\u89c6\u9891\u6d41&#xff0c;\u589e\u5f3a\u4e86\u89c6\u9891\u76d1\u63a7\u7684\u7075\u6d3b\u6027\u548c\u5b9e\u7528\u6027\u3002<\/li>\n<\/ul>\n<h3>2. \u4f1a\u8bae\u7cfb\u7edf<\/h3>\n<ul>\n<li>\u5e94\u7528\u573a\u666f&#xff1a;\u5728\u89c6\u9891\u4f1a\u8bae\u7cfb\u7edf\u4e2d&#xff0c;RTSP\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0\u97f3\u9891\u548c\u89c6\u9891\u7684\u5b9e\u65f6\u4f20\u8f93\u3002\u901a\u8fc7RTSP&#xff0c;\u591a\u65b9\u53c2\u4e0e\u8005\u53ef\u4ee5\u5c06\u5404\u81ea\u7684\u97f3\u89c6\u9891\u6d41\u7ec4\u5408\u6210\u4e00\u4e2a\u7edf\u4e00\u7684\u6d41&#xff0c;\u5e76\u53d1\u9001\u7ed9\u5176\u4ed6\u53c2\u4e0e\u8005&#xff0c;\u5b9e\u73b0\u5b9e\u65f6\u901a\u4fe1\u548c\u534f\u4f5c\u3002<\/li>\n<li>\u4f18\u52bf&#xff1a;RTSP\u7684\u4f4e\u5ef6\u8fdf\u7279\u6027\u4fdd\u8bc1\u4e86\u89c6\u9891\u4f1a\u8bae\u7684\u6d41\u7545\u6027&#xff0c;\u540c\u65f6\u5176\u53ef\u6269\u5c55\u6027\u548c\u7075\u6d3b\u6027\u4e5f\u652f\u6301\u4e86\u5927\u89c4\u6a21\u4f1a\u8bae\u7684\u9700\u6c42\u3002<\/li>\n<\/ul>\n<h3>3. \u76f4\u64ad\u4e0e\u70b9\u64ad\u670d\u52a1<\/h3>\n<ul>\n<li>\u5e94\u7528\u573a\u666f&#xff1a;RTSP\u5e7f\u6cdb\u5e94\u7528\u4e8e\u76f4\u64ad\u548c\u70b9\u64ad\u670d\u52a1\u4e2d\u3002\u5728\u76f4\u64ad\u573a\u666f\u4e2d&#xff0c;RTSP\u670d\u52a1\u5668\u53ef\u4ee5\u4ece\u5b9e\u65f6\u89c6\u9891\u6e90\u83b7\u53d6\u97f3\u89c6\u9891\u6d41&#xff0c;\u5e76\u901a\u8fc7RTSP\u5c06\u5176\u4f20\u8f93\u5230\u5ba2\u6237\u7aef\u8fdb\u884c\u64ad\u653e\u3002\u5728\u70b9\u64ad\u670d\u52a1\u4e2d&#xff0c;\u7528\u6237\u53ef\u4ee5\u901a\u8fc7RTSP\u8bf7\u6c42\u670d\u52a1\u5668\u4e0a\u7684\u7279\u5b9a\u5a92\u4f53\u6587\u4ef6\u8fdb\u884c\u64ad\u653e\u3002<\/li>\n<li>\u4f18\u52bf&#xff1a;RTSP\u652f\u6301\u591a\u79cd\u6d41\u5a92\u4f53\u683c\u5f0f\u548c\u4f20\u8f93\u534f\u8bae&#xff0c;\u80fd\u591f\u6ee1\u8db3\u4e0d\u540c\u5e73\u53f0\u548c\u8bbe\u5907\u7684\u9700\u6c42&#xff0c;\u540c\u65f6\u5176\u63a7\u5236\u529f\u80fd\u4e5f\u63d0\u5347\u4e86\u7528\u6237\u4f53\u9a8c\u3002<\/li>\n<\/ul>\n<h3>4. \u5a92\u4f53\u64ad\u653e\u5668\u4e0e\u670d\u52a1\u5668\u4ea4\u4e92<\/h3>\n<ul>\n<li>\u5e94\u7528\u573a\u666f&#xff1a;RTSP\u5141\u8bb8\u5a92\u4f53\u64ad\u653e\u5668\u4e0e\u6d41\u5a92\u4f53\u670d\u52a1\u5668\u4e4b\u95f4\u8fdb\u884c\u4ea4\u4e92&#xff0c;\u5b9e\u73b0\u64ad\u653e\u63a7\u5236\u3001\u5a92\u4f53\u4fe1\u606f\u83b7\u53d6\u7b49\u529f\u80fd\u3002\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u5a92\u4f53\u64ad\u653e\u5668\u53d1\u9001RTSP\u8bf7\u6c42\u7ed9\u670d\u52a1\u5668&#xff0c;\u4ee5\u63a7\u5236\u5a92\u4f53\u6d41\u7684\u64ad\u653e\u3001\u6682\u505c\u3001\u505c\u6b62\u7b49\u64cd\u4f5c\u3002<\/li>\n<li>\u4f18\u52bf&#xff1a;RTSP\u4e3a\u5a92\u4f53\u64ad\u653e\u5668\u63d0\u4f9b\u4e86\u4e00\u79cd\u6807\u51c6\u5316\u7684\u63a7\u5236\u63a5\u53e3&#xff0c;\u4f7f\u5f97\u4e0d\u540c\u54c1\u724c\u548c\u578b\u53f7\u7684\u64ad\u653e\u5668\u80fd\u591f\u517c\u5bb9\u4e0d\u540c\u7684\u6d41\u5a92\u4f53\u670d\u52a1\u5668&#xff0c;\u63d0\u9ad8\u4e86\u7cfb\u7edf\u7684\u517c\u5bb9\u6027\u548c\u53ef\u6269\u5c55\u6027\u3002<\/li>\n<\/ul>\n<h3>5. \u865a\u62df\u73b0\u5b9e\u4e0e\u589e\u5f3a\u73b0\u5b9e\u5e94\u7528<\/h3>\n<ul>\n<li>\u5e94\u7528\u573a\u666f&#xff1a;\u5728\u865a\u62df\u73b0\u5b9e&#xff08;VR&#xff09;\u548c\u589e\u5f3a\u73b0\u5b9e&#xff08;AR&#xff09;\u5e94\u7528\u4e2d&#xff0c;RTSP\u53ef\u4ee5\u7528\u4e8e\u5b9e\u73b0\u8fdc\u7a0b\u573a\u666f\u7684\u5b9e\u65f6\u97f3\u89c6\u9891\u6d41\u4f20\u8f93\u3002\u901a\u8fc7RTSP&#xff0c;\u7528\u6237\u53ef\u4ee5\u5c06\u8fdc\u7a0b\u573a\u666f\u7684\u97f3\u89c6\u9891\u6d41\u4f20\u8f93\u5230\u672c\u5730\u8bbe\u5907&#xff0c;\u5b9e\u73b0\u6c89\u6d78\u5f0f\u7684\u865a\u62df\u73b0\u5b9e\u4f53\u9a8c\u6216\u589e\u5f3a\u73b0\u5b9e\u6548\u679c\u3002<\/li>\n<li>\u4f18\u52bf&#xff1a;RTSP\u7684\u4f4e\u5ef6\u8fdf\u548c\u5b9e\u65f6\u63a7\u5236\u529f\u80fd\u4fdd\u8bc1\u4e86\u865a\u62df\u73b0\u5b9e\u548c\u589e\u5f3a\u73b0\u5b9e\u5e94\u7528\u7684\u6d41\u7545\u6027\u548c\u4e92\u52a8\u6027&#xff0c;\u63d0\u5347\u4e86\u7528\u6237\u4f53\u9a8c\u3002<\/li>\n<\/ul>\n<h2 id=\"2rpj1\"><\/h2>\n<\/p>\n<\/p>\n<h2>\u524d\u63d02&#xff1a;\u5982\u4f55\u5b66\u4e60&#xff1a;<\/h2>\n<p>\u4ece\u524d\u9762\u7684\u6211\u4eec\u4e86\u89e3\u5230&#xff1a;\u8981\u5b66\u901a RTSP&#xff0c;\u81f3\u5c11\u6709\u8981\u5c06RTSP\u534f\u8bae&#xff0c;RTP\u534f\u8bae&#xff0c;RTCP\u534f\u8bae\u8fd9\u4e09\u4e2a\u90fd\u5b66\u4e60\u660e\u767d\u4e86&#xff0c;\u624d\u7b97\u771f\u7684\u660e\u767d\u3002<\/p>\n<p>\u8fd9\u4e00\u7ae0\u6211\u4eec\u5c31\u9488\u5bf9RTSP\u5b66\u4e60\u3002\u90a3\u4e48\u5982\u4f55\u5b66\u4e60\u5462&#xff1f;<\/p>\n<p>\u5408\u7406\u7684\u65b9\u6cd5\u662f&#xff1a;<\/p>\n<p>\u5148baidu\u770b\u4e00\u4e0b&#xff0c;RTSP\u7684\u91cd\u70b9\u4ecb\u7ecd\u3002\u5305\u62ec\u534f\u8bae\u7684\u91cd\u70b9\u6761\u6b3e\u3002<\/p>\n<p>\u642d\u5efa\u4e00\u4e2aRTSP\u7684\u670d\u52a1\u5668 &#xff0c;\u7136\u540e\u7ed9\u8fd9\u4e2aRTSP\u7684\u670d\u52a1\u5668\u53d1\u9001\u6570\u636e&#xff0c;\u518d\u4eceRTSP\u670d\u52a1\u5668\u4e0a\u62c9\u53bb\u6570\u636e\u3002\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d&#xff0c;\u4f7f\u7528wireshark\u5728\u8fd9\u51e0\u4e2a\u8fc7\u7a0b\u4e2d \u6293\u53d6\u6570\u636e&#xff0c;\u7ed3\u5408 RTSP \u534f\u8bae \u8fdb\u884c\u5bf9\u7167\u5206\u6790\u3002\u4ee5\u7406\u89e3RTSP\u534f\u8bae\u4e0a\u7684\u77e5\u8bc6\u70b9\u3002<\/p>\n<\/p>\n<h2>\u4e00 .RTSP\u7b80\u4ecb\u4ee5\u53ca\u91cd\u8981\u534f\u8bae\u6761\u6b3e<\/h2>\n<\/p>\n<p>\u200b RTSP\u662f\u00a0TCP\/IP \u534f\u8bae\u4f53\u7cfb\u4e2d\u7684\u4e00\u4e2a\u5e94\u7528\u5c42\u534f\u8bae&#xff0c;\u8be5\u534f\u8bae\u5b9a\u4e49\u4e86\u4e00\u5bf9\u591a\u5e94\u7528\u7a0b\u5e8f\u5982\u4f55\u6709\u6548\u5730\u901a\u8fc7 IP \u7f51\u7edc\u4f20\u9001\u591a\u5a92\u4f53\u6570\u636e\u3002RTSP\u5728\u4f53\u7cfb\u7ed3\u6784\u4e0a\u4f4d\u4e8eRTP\u548cRTCP\u4e4b\u4e0a&#xff0c;\u5b83\u4f7f\u7528TCP\u6216UDP\u5b8c\u6210\u6570\u636e\u4f20\u8f93\u3002HTTP\u4e0eRTSP\u76f8\u6bd4&#xff0c;HTTP\u4f20\u9001HTML&#xff0c;\u800cRTSP\u4f20\u9001\u7684\u662f\u591a\u5a92\u4f53\u6570\u636e\u3002<\/p>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"965\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418145233-6802673134e3a.png\" width=\"1200\" \/><\/p>\n<\/p>\n<p>RTSP\u662f\u57fa\u4e8e\u6587\u672c\u7684\u534f\u8bae&#xff0c;\u91c7\u7528ISO10646\u5b57\u7b26\u96c6&#xff0c;\u4f7f\u7528UTF-8\u7f16\u7801\u65b9\u6848\u3002\u884c\u4ee5CRLF\u4e2d\u65ad&#xff0c;\u5305\u62ec\u6d88\u606f\u7c7b\u578b\u3001\u6d88\u606f\u5934\u3001\u6d88\u606f\u4f53\u548c\u6d88\u606f\u957f\u3002\u4f46\u63a5\u6536\u8005\u672c\u8eab\u53ef\u5c06CR\u548cLF\u89e3\u91ca\u6210\u884c\u7ec8\u6b62\u7b26\u3002\u57fa\u4e8e\u6587\u672c\u7684\u534f\u8bae\u4f7f\u5176\u4ee5\u81ea\u63cf\u8ff0\u65b9\u5f0f\u589e\u52a0\u53ef\u9009\u53c2\u6570\u66f4\u5bb9\u6613&#xff0c;\u63a5\u53e3\u4e2d\u91c7\u7528SDP\u4f5c\u4e3a\u63cf\u8ff0\u8bed\u8a00\u3002<\/p>\n<p>\u200b<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"867\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418145233-68026731a03f5.png\" width=\"1200\" \/><\/p>\n<\/p>\n<\/p>\n<h2>\u4e8c .RTSP\u534f\u8bae\u7684\u4e2d\u6587\u7248\u548c\u82f1\u6587\u7248<\/h2>\n<p>\u4e2d\u82f1\u6587\u5bf9\u7167\u7248&#xff0c;\u5728 \u5f53\u524d\u7f51\u9875\u7684 \u8d44\u6e90\u7ed1\u5b9a \u4e2d&#xff0c;\u9700\u8981\u7684\u7ae5\u978b\u53ef\u4ee5\u4e0b\u8f7d\u3002<\/p>\n<p>\u82f1\u6587\u539f\u7248 \u4e5f\u5728\u8d44\u6e90\u7ed1\u5b9a\u4e2d&#xff0c;\u9700\u8981\u7684\u7ae5\u978b\u53ef\u4ee5\u4e0b\u8f7d<\/p>\n<p>\u8fd9\u91cc\u8981\u8bf4\u660e\u7684\u662f&#xff1a;\u5982\u4f55\u627e\u5230\u8fd9\u4e9b\u8d44\u6e90&#8211;\u53c2\u8003\u8fd9\u7bc7\u535a\u5ba2\u00a0\u4e92\u8054\u7f51\u7684\u4e24\u5927\u6807\u51c6\u5236\u5b9a\u7ec4\u7ec7(IETF\u3001IRTF)\u548c\u4e00\u534f\u4f1a(ISOC) &#8211; jinzi &#8211; \u535a\u5ba2\u56ed<\/p>\n<p>\u6838\u5fc3\u662f&#xff1a;\u4e09\u4e2a\u7f51\u7ad9&#xff0c;\u4e00\u4e9b\u5e38\u7528\u7684\u6807\u51c6\u90fd\u662f\u8fd9\u4e9b\u7ec4\u7ec7\u521b\u5efa\u7684&#xff0c;\u53ef\u4ee5\u5728\u8fd9\u4e9b\u7ec4\u7ec7\u7684\u7f51\u7ad9\u4e0a\u67e5\u627e\u5bf9\u5e94\u7684\u6587\u6863\u3002<\/p>\n<p>Internet \u5de5\u7a0b\u4efb\u52a1\u7ec4(\u00a0IETF\u00a0) \u662f Internet \u7684\u6807\u51c6\u7ec4\u7ec7&#xff0c;\u8d1f\u8d23\u7ec4\u6210Internet\u534f\u8bae\u5957\u4ef6(TCP\/IP)\u7684\u6280\u672f\u6807\u51c6\u3002\u56e0\u6b64\u53ea\u8981\u662f\u548c\u7f51\u7edc\u76f8\u5173\u7684\u534f\u8bae\u90fd\u662fIETF\u5b9a\u5236\u7684&#xff0c;\u5bf9\u5e94\u7684\u5b98\u7f51\u5982\u4e0b&#xff1a; \u00a0<\/p>\n<p>https:\/\/www.ietf.org\/<\/p>\n<\/p>\n<p>\u5728\u8be5\u7f51\u9875\u4e0a\u627eSearch IETF Datatracker &#xff0c;\u5728\u8be5\u680f\u76ee\u4e2dsearch \u4f60\u7684\u8981\u7684\u7f51\u7edc\u534f\u8bae\u7684\u5173\u952e\u5b57&#xff0c;\u4e00\u822c\u90fd\u80fd\u627e\u5230<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"776\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418145234-6802673279c18.png\" width=\"1200\" \/><\/p>\n<\/p>\n<p>\u7ed3\u679c&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"995\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418145235-6802673343f94.png\" width=\"1200\" \/><\/p>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1086\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418145236-680267343f926.png\" width=\"1200\" \/><\/p>\n<\/p>\n<\/p>\n<h2>\u4e09 .\u642d\u5efaRTSP \u670d\u52a1\u5668<\/h2>\n<p>\u4e4b\u6240\u4ee5\u5148\u8981\u642d\u5efa\u4e00\u4e2aRTSP \u670d\u52a1\u5668 &#xff0c;\u76ee\u7684\u662f&#xff1a;\u5206\u6790\u6d41\u5a92\u4f53\u53d1\u9001\u5230\u670d\u52a1\u5668\u548c \u4ece\u6d41\u5a92\u4f53\u62c9\u53d6\u6d41\u5a92\u4f53\u6570\u636e\u8fd9\u4e24\u4e2a\u8fc7\u7a0b\u4e2d&#xff0c;\u8fd9\u4e9b\u6210\u719f\u7684\u670d\u52a1\u5668 \u662f\u5982\u4f55\u4f7f\u7528RTSP&#xff0c;RTP&#xff0c;RTCP&#xff0c;SDP \u534f\u8bae\u7684\u3002<\/p>\n<p>\u5728\u642d\u5efa\u597dRTSP \u670d\u52a1\u5668\u540e&#xff0c;\u9700\u8981\u6267\u884c\u5982\u4e0b\u7684\u6b65\u9aa4&#xff1a;<\/p>\n<p>0.\u00a0 \u901a\u8fc7wireshark \u6293\u5305&#xff0c;<\/p>\n<p>1.\u63a8\u9001\u6d41\u5a92\u4f53\u6570\u636e\u5230RTSP&#xff0c;\u00a0<\/p>\n<p>2.\u901a\u8fc7ffplay\u547d\u4ee4 \u6216\u8005 vlc\u5de5\u5177 \u62c9\u53d6\u6d41\u5a92\u4f53\u6570\u636e<\/p>\n<p>3.\u5728 wireshark \u8fc7\u6ee4\u884c rtsp\u00a0or rtp or rtcp or sdp \u3002<\/p>\n<\/p>\n<h3>\u65b9\u6cd5\u4e00&#xff1a;\u4f7f\u7528VLC \u642d\u5efa RTSP \u670d\u52a1\u5668<\/h3>\n<p>\u4f7f\u7528VLC \u642d\u5efa RTSP \u670d\u52a1\u5668-CSDN\u535a\u5ba2<\/p>\n<\/p>\n<h3>\u65b9\u6cd5\u4e8c&#xff1a;\u4f7f\u7528ZLMediaKit \u5f00\u6e90\u9879\u76ee\u642d\u5efaRTSP \u670d\u52a1\u5668<\/h3>\n<p>\u4f7f\u7528ZLMediaKit \u5f00\u6e90\u9879\u76ee\u642d\u5efaRTSP \u670d\u52a1\u5668-CSDN\u535a\u5ba2<\/p>\n<\/p>\n<h2>\u56db.\u00a0RTSP \u534f\u8bae\u5b66\u4e60\u4ee5\u53ca\u5206\u6790<\/h2>\n<\/p>\n<p>\u5230\u8fd9\u91cc&#xff0c;\u6211\u4eec\u9700\u8981\u901a\u8fc7\u642d\u5efa\u597d\u7684RTSP \u670d\u52a1\u5668 \u6765\u5b66\u4e60\u00a0RTSP \u534f\u8bae&#xff0c;\u5206\u4e3a4\u6b65&#xff1a;<\/p>\n<p>1.\u542f\u52a8\u670d\u52a1\u5668&#xff0c;\u5f53\u524d\u4f7f\u7528\u7684linux\u4e0a\u7684\u00a0ZLMediaKit \u7684RTSP\u7684\u670d\u52a1\u5668<\/p>\n<p>2.\u4f7f\u7528wireshark \u6293 \u7f51\u5173\u6570\u636e<\/p>\n<p>3.\u4ecewindows \u4f7f\u7528ffmpeg \u547d\u4ee4 \u63a8\u9001\u6570\u636e\u5230 ZLMediaKit<\/p>\n<p>4.\u4ecewindows \u4f7f\u7528ffplay \u547d\u4ee4 \u62c9\u53d6 \u6570\u636e\u5230 ZLMediaKit<\/p>\n<h3>\u7b2c\u4e00\u6b65 \u542f\u52a8\u670d\u52a1\u5668<\/h3>\n<p>\u8fdb\u5165\u5230 linux \u4e2d\u542f\u52a8\u7684 \u5b89\u88c5 ZLMediaKit \u7684RTSP\u7684\u670d\u52a1\u5668\u3002<\/p>\n<\/p>\n<h4>1.cd\u5230ZLMediaKit\/release\/linux\/Debug \u76ee\u5f55<\/h4>\n<p>cd \/home\/hunandede\/software\/ZLMediaKit\/release\/linux\/Debug<\/p>\n<\/p>\n<h4>2. \u542f\u52a8\u670d\u52a1\u5668<\/h4>\n<p>.\/MediaServer<\/p>\n<p>.\/MediaServer \u00a0-d .\/MediaServer \u00a0-d &amp; nohup .\/MediaServer -d &amp;<\/p>\n<\/p>\n<h3>\u7b2c\u4e8c\u6b65 \u4f7f\u7528wireshark \u6293 \u7f51\u5173\u6570\u636e<\/h3>\n<h4>1.\u9996\u5148\u8981\u77e5\u9053\u6293\u90a3\u4e2a\u7f51\u5173\u7684\u6570\u636e<\/h4>\n<p>\u5f53\u6253\u5f00wireshark\u540e&#xff0c;\u5148\u8981 \u8c03\u6574\u5230 &#034;\u663e\u793a\u6240\u6709\u63a5\u53e3&#034;&#xff0c;\u7136\u540e\u770b\u5230\u67097\u4e2a\u7f51\u5173&#xff0c;\u90a3\u4e48\u5e94\u8be5\u6293\u53d6\u90a3\u4e2a\u7f51\u5173\u7684\u6570\u636e\u5462&#xff1f;<\/p>\n<p>\u63a8\u6d41\u7684\u65f6\u5019&#xff0c;\u662f\u4ecewindows \u7ed9\u00a0\u00a0linux \u4e0a\u7684 RTSP \u670d\u52a1\u5668\u53d1\u9001\u6570\u636e&#xff0c;\u56e0\u6b64\u6293\u53d6\u7684\u6570\u636e\u5e94\u8be5\u662f\u7ecf\u8fc7\u00a0linux\u5bf9\u5e94\u7684\u7f51\u5173\u7684\u6570\u636e\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"426\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418145237-6802673550176.png\" width=\"1200\" \/><\/p>\n<\/p>\n<h4>2. \u6839\u636e VMware \u548c linux\u7684\u8bbe\u7f6e\u6765\u5224\u65ad\u6293\u53d6\u90a3\u4e2a\u7f51\u5173\u7684\u6570\u636e\u3002<\/h4>\n<h5>\u67e5\u770b ubuntu \u7f51\u7edc\u8bbe\u7f6e\u3002<\/h5>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"787\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418145237-68026735bee39.png\" width=\"590\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"769\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418145237-68026735dcd7b.png\" width=\"1200\" \/><\/p>\n<\/p>\n<p>\u67e5\u770bNAT \u6a21\u5f0f\u5bf9\u5e94\u7684\u7f51\u7edc\u662f\u90a3\u4e2a<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"314\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418145238-6802673641839.png\" width=\"606\" \/><\/p>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"269\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418145238-680267365961d.png\" width=\"1196\" \/><\/p>\n<p><span style=\"color:#fe2c24\">\u4e5f\u5c31\u662f\u8bf4&#xff0c;linux \u7684\u7f51\u5173\u662f VMnet8&#xff0c;\u4e5f\u5c31\u662f\u8bf4&#xff0c;\u6211\u4eec\u8981\u4f7f\u7528wireshark\u8981\u6293\u53d6\u7684VMnet8 \u7f51\u5173\u7684\u6570\u636e\u00a0<\/span><\/p>\n<p> \u00a0<\/p>\n<\/p>\n<h5>\u67e5\u770b linux \u7684 ip\u00a0 \u547d\u4ee4\u4e3a\u00a0 ifconfig\u00a0<\/h5>\n<p>\u00a0<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"565\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418145238-6802673684133.png\" width=\"969\" \/><\/p>\n<\/p>\n<h5>\u67e5\u770b windows \u7684 ip&#xff0c;\u547d\u4ee4\u4e3a ifconfig -all<\/h5>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"632\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418145238-68026736bc3de.png\" width=\"1200\" \/><\/p>\n<\/p>\n<p>\u5230\u8fd9\u91cc\u6211\u4eec\u5c31\u77e5\u9053\u4e86\u5982\u4e0b\u7684<\/p>\n<p>\u67e5\u770b\u8fd9\u91cc&#xff0c;\u662f\u4e3a\u4e86\u77e5\u9053\u662f NAT \u6a21\u5f0f\u8fd8\u662f \u6865\u63a5\u6a21\u5f0f&#xff0c;<\/p>\n<p>\u5bf9\u4e8e\u00a0 \u6865\u63a5\u6a21\u5f0f&#xff0c;linux\u7684IP \u548c windows IP \u662f\u5728\u540c\u4e00\u7f51\u6bb5\u3002<\/p>\n<p>\u5bf9\u4e8e NAT \u6a21\u5f0f&#xff0c;linux \u7684IP \u548c windows IP \u4e0d\u4f1a\u5728\u540c\u4e00\u7f51\u6bb5\u3002<\/p>\n<p>\u90a3\u4e48\u77e5\u9053\u8fd9\u4e2a\u6709\u5565\u7528\u5462&#xff1f;\u4e0d\u5728\u540c\u4e00\u7f51\u6bb5&#xff0c;\u610f\u5473\u7740\u901a\u8fc7 linux \u7f51\u5173&#xff0c;\u00a0 \u6293\u53d6\u7684\u6570\u636e\u4e00\u5b9a\u662f\u901a\u8fc7 xxx.xxx.xxx.1<\/p>\n<p>\u4f8b\u5982 linux\u00a0 \u7684Ip \u662f192.168.245.129\u00a0\u00a0 \u00a0<\/p>\n<p>window \u7684IP \u662f\u00a0 \u00a0 192.168.31.202<\/p>\n<\/p>\n<p>\u90a3\u4e48\u4ecewindows \u63a8\u6d41 \u5230 linux \u670d\u52a1\u5668\u4e2d&#xff0c;\u7531\u4e8e linux \u548cwindows \u4e0d\u5728\u540c\u4e00\u7f51\u6bb5&#xff0c;\u56e0\u6b64 \u4ecewireshark\u6293\u53d6linux \u7f51\u5173\u7684\u6570\u636e&#xff0c;<span style=\"color:#fe2c24\">\u6e90IP <\/span>\u4f1a\u662f\u00a0192.168.245.1<\/p>\n<\/p>\n<p>\u90a3\u4e48\u4ecewindows \u63a8\u6d41 \u5230 linux \u670d\u52a1\u5668\u4e2d&#xff0c;\u7531\u4e8e linux \u548cwindows \u4e0d\u5728\u540c\u4e00\u7f51\u6bb5&#xff0c;\u56e0\u6b64 \u4ecewireshark\u6293\u53d6windows \u7f51\u5173\u7684\u6570\u636e&#xff0c;<span style=\"color:#fe2c24\">\u76ee\u7684IP<\/span> \u4f1a\u662f\u00a0192.168.31.1<\/p>\n<\/p>\n<h5>\u542f\u52a8wireshark&#xff0c;\u76d1\u89c6\u00a0<span style=\"color:#fe2c24\">VMnet8 \u7f51\u5361<\/span><\/h5>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"365\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418145239-6802673716a20.png\" width=\"1200\" \/><\/p>\n<\/p>\n<h3>\u7b2c\u4e09\u6b65 \u4ecewindows \u4f7f\u7528ffmpeg\u547d\u4ee4\u63a8\u9001\u6570\u636e\u5230 linux<\/h3>\n<\/p>\n<p>cmd \u547d\u4ee4&#xff0c;\u8fdb\u5165\u5230 \u6709mp4\u6587\u4ef6\u7684\u76ee\u5f55&#xff0c;<\/p>\n<p>cd D:\\\\resource<\/p>\n<p>C:\\\\Users\\\\Administrator&gt;d:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"340\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418145239-6802673749a1a.png\" width=\"1200\" \/><\/p>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"195\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418145239-6802673777cbe.png\" width=\"840\" \/><\/p>\n<\/p>\n<p>\u901a\u8fc7\u547d\u4ee4 \u63a8\u9001 5s.mp4 \u5230\u00a0\u00a0 linux \u670d\u52a1\u5668&#xff08;IP\u4e3a192.168.245.129&#xff09;&#xff1a;<\/p>\n<\/p>\n<p>ffmpeg -re -i &#034;5s.mp4&#034; -vcodec h264 -acodec aac -f rtsp -rtsp_transport tcp rtsp:\/\/192.168.245.129\/0015smp4<\/p>\n<p>&#xff08;\u4ece\u540e\u9762\u7684\u7ed3\u679c\u770b&#xff0c;\u8fd9\u4e2d\u5199\u6cd5\u662f\u9519\u8bef\u7684&#xff0c;\u539f\u56e0\u662f\u8981\u6c42 \u6700\u5c11\u4e24\u7ea7&#xff0c;\u5c06 <span style=\"color:#0d0016\">rtsp:\/\/192.168.245.129\/0015smp4 \u53d8\u6210<\/span><span style=\"color:#fe2c24\">\u00a0rtsp:\/\/192.168.245.129\/test\/0015smp4<\/span>\u00a0&#xff09;<\/p>\n<p>\u8fd9\u91cc\u8981\u4fdd\u8bc1 5s.mp4\u7684\u89c6\u9891 \u662fh264\u7f16\u7801\u7684 &#xff0c;\u4e5f\u5c31\u662f\u547d\u4ee4\u4e2d\u7684\u00a0 -vcodec h264<\/p>\n<p>\u8981\u4fdd\u8bc1\u00a0 5s.mp4\u7684\u97f3\u9891 \u662facc\u7f16\u7801\u7684&#xff0c;\u4e5f\u5c31\u662f\u547d\u4ee4\u4e2d\u7684\u00a0-acodec aac<\/p>\n<p>-f rtsp \u8868\u793a\u662f\u4f7f\u7528\u00a0 rtsp \u53d1\u9001<\/p>\n<p>-rtsp_transport tcp\u00a0 \u8868\u793a\u7684\u662f rtsp\u4f7f\u7528 tcp \u94fe\u63a5<\/p>\n<p>rtsp:\/\/192.168.245.129\/test\/0015smp4 \u7684\u610f\u4e49\u662f &#xff1a;192.168.245.129 \u4ee3\u8868\u7684\u662flinux IP\u3002\/test\/0015smp4\u662f\u6211\u4eec\u5bf9\u4e8e5s.mp4\u5728linux \u4e0a\u7684\u6620\u5c04\u540d\u79f0&#xff0c;\u53ef\u4ee5\u968f\u4fbf\u8d77\u3002\u4f46\u662f\u6ce8\u610f\u7684\u662f\u6700\u5c11\u8981\u6709\u4e24\u5c42\u3002&#xff08;\u6700\u5f00\u59cb\u4f7f\u7528rtsp:\/\/192.168.245.129\/0015smp4&#xff0c;\u7ed3\u679c\u5931\u8d25&#xff0c;\u5931\u8d25\u63d0\u793a \u6700\u5c11\u4e24\u5c42\u3002\u3002\u3002\u63d0\u793a\u5185\u5bb9&#xff1a; rtsp\u63a8\u6d41url\u975e\u6cd5,\u6700\u5c11\u786e\u4fdd\u4e24\u7ea7rtsp url:rtsp:\/\/192.168.245.129:554\/0015smp4,\u8017\u65f6(s):0 &#xff09;<\/p>\n<\/p>\n<p>\u8fd9\u91cc\u56e0\u4e3a\u5728\u6d4b\u8bd5 NAT \u6a21\u5f0f\u548c \u6865\u63a5\u6a21\u5f0f \u5207\u6362\u7684\u65f6\u5019&#xff0c;IP\u5730\u5740\u53d1\u751f\u4e86\u53d8\u5316&#xff0c;\u53d8\u6210\u4e86\u00a0192.168.245.130<\/p>\n<p>\u56e0\u6b64\u540e\u9762 linux\u7684IP \u4ee5\u00a0192.168.245.130\u4e3a\u51c6<\/p>\n<\/p>\n<p>\u6211\u4eec\u53d1\u9001\u00a0\u00a0ffmpeg -re -i &#034;5s.mp4&#034; -vcodec h264 -acodec aac -f rtsp -rtsp_transport tcp rtsp:\/\/192.168.245.130\/0015smp4<\/p>\n<p>\u7ed3\u679c\u6709error&#xff0c;\u770b\u670d\u52a1\u5668\u63d0\u793a\u8bf4&#xff1a;\u81f3\u5c11\u4e24\u7ea7&#xff0c;\u8fd9\u8bf4\u660e\u6211\u4eec\u524d\u9762<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"619\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418145239-6802673794351.png\" width=\"936\" \/><\/p>\n<\/p>\n<p>\u7b49\u53d1\u9001\u5b8c\u6bd5\u540e&#xff0c;\u5728wireshark \u4fdd\u5b58 \u63a8\u6d41&#xff0c;\u6211\u4eec\u547d\u540d\u4e3atuiliu5smp4.pcapng<\/p>\n<\/p>\n<h3>\u7b2c\u56db\u6b65&#xff1a;\u5728windows \u4f7f\u7528 ffplay \u547d\u4ee4 \u4ecelinux \u62c9\u53d6\u6570\u636e<\/h3>\n<\/p>\n<p> ffplay -rtsp_transport tcp rtsp:\/\/192.168.245.130\/test\/0015smp4 \u00a0<\/p>\n<p>\u7531\u4e8e\u4ecelinux \u62c9\u53d6\u6570\u636e\u7684\u65f6\u5019&#xff0c;\u8981\u6709\u4ece windows \u63a8\u6d41\u7684\u6570\u636e\u624d\u884c\u3002\u6211\u4eec\u521a\u5f00\u59cb\u7684\u63a8\u6d41\u76845s.mp4\u7684\u65f6\u95f4\u53ea\u67095\u79d2&#xff0c;\u56e0\u6b64\u6362\u4e2a\u957f\u4e00\u70b9\u7684mp4\u63a8\u6d41&#xff0c;\u7136\u540e\u62c9\u8fd9\u4e2a<\/p>\n<\/p>\n<p>\u63a8<\/p>\n<p>ffmpeg -re -i &#034;zerenlian.mp4&#034; -vcodec h264 -acodec aac -f rtsp -rtsp_transport tcp rtsp:\/\/192.168.245.130\/test\/002zerenlianmp4 \u00a0<\/p>\n<p>\u62c9<\/p>\n<p>ffplay -rtsp_transport tcp rtsp:\/\/192.168.245.130\/test\/002zerenlianmp4<\/p>\n<\/p>\n<p>\u7136\u540e\u4fdd\u5b58wireshark\u6570\u636e\u3002<\/p>\n<\/p>\n<h3>\u7b2c\u4e94\u6b65&#xff1a;\u7ed3\u5408 RTSP \u534f\u8bae \u5206\u6790 tuiliu5smp4.pcapng<\/h3>\n<p>1.\u6253\u5f00 RTSP \u534f\u8bae\u7684\u4e2d\u82f1\u6587 \u5bf9\u7167\u7248&#xff0c;<\/p>\n<p>2.\u4f7f\u7528wireshark \u6253\u5f00\u4e0a\u6b21\u63a8\u6d41\u4fdd\u5b58\u7684\u00a0tuiliu5smp4.pcapng<\/p>\n<p>\u5728wireshark\u4e2d\u8fc7\u6ee4 rtsp or rtp or rtcp,\u7136\u540e\u4e00\u884c\u4e00\u884c\u7684\u5206\u6790\u00a0pcapng<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1057\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418145239-68026737cee36.png\" width=\"1200\" \/><\/p>\n<\/p>\n<h4>\u63a8\u6d41\u8fc7\u7a0b\u4e2d RTSP \u7684\u53d1\u9001\u8fc7\u7a0b&#xff1a;<\/h4>\n<h5>1.\u4ece\u5ba2\u6237\u7aef\u53d1\u9001\u00a0<span style=\"color:#262626\">OPTION request\u00a0<\/span>\u5230\u670d\u52a1\u5668&#xff0c;\u76ee\u7684\u662f\u95ee\u670d\u52a1\u5668&#xff0c;\u60a8\u652f\u6301\u54ea\u4e9b\u65b9\u6cd5\u5462&#xff1f;<\/h5>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"988\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418145240-68026738e4259.png\" width=\"1200\" \/><\/p>\n<\/p>\n<h6>RTSP \u90e8\u5206\u4e00\u884c\u4e00\u884c\u7684\u5206\u6790&#xff1a;<\/h6>\n<p>Real Time Streaming Protocol<br \/>\n\u00a0 \u00a0 Request: OPTIONS rtsp:\/\/192.168.245.130:554\/test\/0015smp4 RTSP\/1.0\\\\r\\\\n<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0 Method: OPTIONS<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0 URL: rtsp:\/\/192.168.245.130:554\/test\/0015smp4<br \/>\n\u00a0 \u00a0 CSeq: 1\\\\r\\\\n<br \/>\n\u00a0 \u00a0 User-Agent: Lavf60.3.100\\\\r\\\\n<br \/>\n\u00a0 \u00a0 \\\\r\\\\n <\/p>\n<p><span style=\"color:#fe2c24\">Request: OPTIONS rtsp:\/\/192.168.245.130:554\/test\/0015smp4 RTSP\/1.0\\\\r\\\\n<\/span><\/p>\n<h6 style=\"background-color:transparent\"><span style=\"color:#ff9900\">Request<\/span> \u8868\u793a\u8bf7\u6c42<\/h6>\n<p><span style=\"color:#ff9900\">:<\/span> \u662f\u683c\u5f0f\u8981\u6c42<\/p>\n<h6 style=\"background-color:transparent\"><span style=\"color:#ff9900\">OPTIONS <\/span>\u8868\u793a \u8bf7\u6c42\u5173\u952e\u5b57\u662foption&#xff0c;\u8fd9\u4e2a\u5173\u952e\u5b57\u76ee\u7684\u662f\u95ee\u670d\u52a1\u5668&#xff0c;\u60a8\u652f\u6301\u54ea\u4e9b\u65b9\u6cd5\u5462&#xff1f;<\/h6>\n<p><span style=\"color:#ff9900\">rtsp:\/\/192.168.245.130:554\/test\/0015smp4<\/span> \u8868\u793a\u63a8\u9001\u7ed9\u670d\u52a1\u5668\u7684IP&#043;\u6587\u4ef6\u7684URL\u3002<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 Method&#xff1a;OPTION\u00a0 \u8fd9\u4e00\u884c\u662f wireshark \u5e2e\u6211\u4eec\u89e3\u6790\u51fa\u6765\u7684&#xff0c;\u53ef\u5ffd\u7565<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 URL: rtsp:\/\/192.168.245.130:554\/test\/0015smp4\u00a0 \u8fd9\u4e00\u884c\u662fwireshark \u5e2e\u6211\u4eec\u89e3\u6790\u51fa\u6765\u7684&#xff0c;\u53ef\u5ffd\u7565<\/p>\n<p><span style=\"color:#ff9900\">RTSP\/1.0<\/span> \u8868\u793a\u7684\u7528\u7684\u534f\u8bae\u7248\u672c\u3002\u8fd9\u4e2a\u7248\u672c\u662f\u662fffmpeg \u4e2d\u7684\u4f7f\u7528\u7684\u7248\u672c&#xff0c;\u56e0\u4e3a\u6211\u4eec\u53d1\u9001\u7684\u662f<\/p>\n<p><span style=\"color:#ff9900\">\\\\r\\\\n <\/span>\u662frtsp \u4e00\u884c\u7ed3\u675f\u7b26<\/p>\n<\/p>\n<h6><span style=\"color:#fe2c24\">CSeq: 1\\\\r\\\\n<\/span><\/h6>\n<p>\u6bcf\u4e2a\u6d88\u606f\u90fd\u6709\u5e8f\u53f7\u6765\u6807\u8bb0&#xff0c;\u7b2c\u4e00\u4e2a\u5305\u901a\u5e38\u662foption\u8bf7\u6c42\u6d88\u606f&#xff0c;\u4e0e\u4e4b\u5bf9\u5e94\u7684\u56de\u590d\u7684\u7684CSeq\u4e5f\u662f\u4e00\u6837\u7684&#xff0c;\u4f8b\u5982\u5728\u8fd9\u4e2a\u4e2d&#xff0c;\u5e8f\u53f7\u6807\u8bb0\u662f1&#xff0c;\u90a3\u4e48\u4e0e\u4e4b\u5bf9\u5e94\u7684\u56de\u590d\u7684\u6d88\u606f\u7684CSeq\u4e5f\u5e94\u8be5\u662f1.\u6211\u4eec\u770b\u4e00\u4e0b\u8fd9\u4e2a\u56de\u590d&#xff0c;\u786e\u5b9e\u662f1.<\/p>\n<p>\u4e0e\u4e4b\u5bf9\u5e94\u56de\u590d\u7684\u90e8\u5206<br \/>\nReal Time Streaming Protocol<br \/>\n    Response: RTSP\/1.0 200 OK\\\\r\\\\n<br \/>\n        Status: 200<br \/>\n    CSeq: 1\\\\r\\\\n<br \/>\n    Date: Sat, Dec 28 2024 12:30:08 GMT\\\\r\\\\n<br \/>\n    Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, ANNOUNCE, RECORD, SET_PARAMETER, GET_PARAMETER\\\\r\\\\n<br \/>\n    Server: ZLMediaKit(git hash:8bf48ed\/2024-12-15T11:43:31&#043;08:00,branch:master,build time:2024-12-19T12:43:26)\\\\r\\\\n<br \/>\n    \\\\r\\\\n <\/p>\n<p>\u6211\u4eec\u770b\u5728\u5728RTSP \u534f\u8bae\u4e2d\u6709\u66f4\u52a0\u8be6\u7ec6\u7684\u8bf4\u660e&#xff1a;<\/p>\n<p>\u53d1\u9001\u987a\u5e8f\u53ef\u7531CSeq\u5934\u53ca\u5176\u5e8f\u5217\u53f7\u786e\u5b9a\u3002\u5bf9\u4e8eTCP&#xff0c;\u4e24\u4e2a\u4ee3\u7406&#xff08;agent&#xff09;\u4e4b\u95f4\u7684\u4ea4\u4e92\u987a\u5e8f\u4e0e\u53d1\u9001\u987a\u5e8f\u76f8\u540c\u3002\u5728\u5904\u7406\u6765\u81ea\u540c\u4e00\u4ee3\u7406(agent)\u7684\u4e0b\u4e00\u4e2a\u8bf7\u6c42\u4e4b\u524d&#xff0c;\u8bf7\u6c42\u7684\u5904\u7406\u4e5f\u5fc5\u987b\u5df2\u7ecf\u5b8c\u6210\u3002\u54cd\u5e94\u5fc5\u987b\u6309\u7167\u5904\u7406\u8bf7\u6c42\u7684\u987a\u5e8f\u53d1\u9001\u3002<\/p>\n<p>\u901a\u8fc7\u5141\u8bb8\u8bf7\u6c42\u4ee3\u7406&#xff08;agent&#xff09;\u6709\u591a\u4e2a\u672a\u5b8c\u6210\u7684\u8bf7\u6c42\u5e76\u901a\u8fc7\u76f8\u540c\u7684\u6301\u4e45\u8fde\u63a5\u53d1\u9001\u5b83\u4eec&#xff0c;\u7ba1\u9053\u662f\u4e00\u79cd\u63d0\u9ad8\u8bf7\u6c42\/\u54cd\u5e94\u534f\u8bae\u6027\u80fd\u7684\u901a\u7528\u65b9\u6cd5\u3002<br \/>\n\u5bf9\u4e8eRTSP&#xff0c;\u8bf7\u6c42\u7684\u76f8\u5bf9\u987a\u5e8f\u5f88\u91cd\u8981&#xff0c;\u56e0\u6b64\u7ef4\u62a4\u8bf7\u6c42\u7684\u987a\u5e8f\u5f88\u91cd\u8981\u3002<br \/>\n\u56e0\u6b64&#xff0c;\u54cd\u5e94\u4ee3\u7406&#xff08;agent&#xff09;\u5fc5\u987b\u6309\u7167\u53d1\u9001\u987a\u5e8f\u5904\u7406\u4f20\u5165\u7684\u8bf7\u6c42\u3002<br \/>\n\u53d1\u9001\u987a\u5e8f\u53ef\u7531CSeq\u5934\u53ca\u5176\u5e8f\u5217\u53f7\u786e\u5b9a\u3002<br \/>\n\u5bf9\u4e8eTCP&#xff0c;\u4e24\u4e2a\u4ee3\u7406&#xff08;agent&#xff09;\u4e4b\u95f4\u7684\u4ea4\u4e92\u987a\u5e8f\u4e0e\u53d1\u9001\u987a\u5e8f\u76f8\u540c\u3002<br \/>\n\u5728\u5904\u7406\u6765\u81ea\u540c\u4e00\u4ee3\u7406(agent)\u7684\u4e0b\u4e00\u4e2a\u8bf7\u6c42\u4e4b\u524d&#xff0c;\u8bf7\u6c42\u7684\u5904\u7406\u4e5f\u5fc5\u987b\u5df2\u7ecf\u5b8c\u6210\u3002<br \/>\n\u54cd\u5e94\u5fc5\u987b\u6309\u7167\u5904\u7406\u8bf7\u6c42\u7684\u987a\u5e8f\u53d1\u9001\u3002 <\/p>\n<p>\u4f46\u662f\u8fd9\u91cc\u5e76\u6ca1\u6709search \u5230\u5173\u4e8eUDP \u8fd9\u4e2a\u90e8\u5206\u7684\u8bf4\u660e&#xff0c;\u6ce8\u610f\u8fd9\u662fRTSP\u7684\u534f\u8bae&#xff0c;\u8d70\u7684\u90fd\u662fTCP\u7684\u534f\u8bae\u3002<\/p>\n<\/p>\n<h6>User-Agent: Lavf60.3.100\\\\r\\\\n<\/h6>\n<p>\u5728option \u4e2d\u7684\u00a0User-Agent \u6807\u660e\u4e86 \u6211\u4f7f\u7528ffmpeg \u7684 avformat\u7248\u672c\u662f\u591a\u5c11\u3002<\/p>\n<p>\u4f7f\u7528ffmpeg\u547d\u4ee4\u67e5\u770b&#xff0c;\u53ef\u4ee5\u770b\u5230 avfromat\u548c\u8981\u53d1\u9001\u7684 user-Agent\u662f\u4e00\u6837\u7684<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1200\" src=\"2025-04-18gwqusngd5sn.png\" width=\"1200\" \/><\/p>\n<\/p>\n<p>\u90a3\u4e48\u4e3a\u4ec0\u4e48 \u8981\u53d1\u9001\u7684avformat \u7ed9 \u670d\u52a1\u5668\u5462&#xff1f;\u8fd8\u8bb0\u5f97\u63a8\u6d41\u7684\u547d\u4ee4\u5417&#xff1f;\u56e0\u4e3a\u6211\u4eecwindows \u662f\u4f7f\u7528ffmpeg \u63a8\u6d41\u7684\u3002\u800c\u670d\u52a1\u5668\u7aef\u5e76\u4e0d\u80fd\u786e\u5b9a\u5ba2\u6237\u7aef\u63a8\u6d41\u7684\u65f6\u5019\u7528\u7684ffmpeg\u7684\u7248\u672c&#xff0c;\u56e0\u6b64\u731c\u6d4b\u5728\u670d\u52a1\u5668\u7aef\u5e94\u8be5\u662f\u6709ffmpeg \u7684\u5404\u4e2a\u7248\u672c\u7684\u4e0d\u540c\u7684\u4ee3\u7801\u53bb\u5904\u7406\u63a8\u6d41\u3002\u540c\u7406&#xff0c;\u5728\u62c9\u6d41\u7684\u65f6\u5019\u5e94\u8be5\u4e5f\u4e00\u6837\u6709\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u7aef\u5173\u4e8effmpeg \u7684 \u8861\u91cf\u3002\u5982\u679c\u6211\u4eec\u7684\u5ba2\u6237\u7aef\u7528\u7684\u4e0d\u662fffmpeg \u547d\u4ee4&#xff0c;\u800c\u662f\u670d\u52a1\u5668\u5382\u5bb6\u5f00\u53d1\u7684\u5ba2\u6237\u7aef&#xff0c;\u4f8b\u5982\u864e\u7259\u76f4\u64ad&#xff0c;\u90a3\u4e48\u5ba2\u6237\u7aef\u4e00\u5b9a\u662f\u548c\u670d\u52a1\u5668\u7aef\u5173\u4e8effmepg\u7684\u7248\u672c\u4f1a\u4fdd\u6301\u4e00\u81f4\u3002<\/p>\n<\/p>\n<h6>\u53ef\u80fd\u5f97\u7591\u60d11&#xff1a;\u5173\u4e8e\u6e90IP \u548c \u76ee\u7684IP<\/h6>\n<\/p>\n<p>\u6211\u4eec\u7684window \u7684IP \u662f192.168.31.202<\/p>\n<p>linux \u7684IP \u662f\u00a0192.168.245.130\u00a0<\/p>\n<p>\u90a3\u4e48\u4e3a\u4ec0\u4e48\u8fd9\u4e2asource \u5728wireshark\u4e2d\u662f 192.168.245.1&#xff1f;\u8fd9\u662f\u56e0\u4e3a\u7684linux \u4f7f\u7528\u7684NAT\u6a21\u5f0f&#xff0c;\u56e0\u6b64\u548cwindows\u7684IP\u4e0d\u5728\u540c\u4e00\u7f51\u6bb5&#xff0c;\u4e0d\u5728\u540c\u4e00\u7f51\u6bb5\u7684\u4e24\u4e2aIP \u901a\u6570\u636e&#xff0c;\u9700\u8981\u7ecf\u8fc7\u7f51\u5173\u3002\u800clinux\u7684\u7f51\u5173\u5c31\u662f192.168.245.1&#xff0c;\u56e0\u6b64source\u5c31\u53d8\u6210\u4e86\u00a0192.168.245.1<\/p>\n<\/p>\n<h6>\u53ef\u80fd\u5f97\u7591\u60d12:Method&#xff1a;OPTION \u8fd9\u4e00\u884c\u7684\u5206\u6790<\/h6>\n<p>\u4e3a\u4ec0\u4e48\u8bf4\u8fd9\u4e00\u884c\u662f wireshark \u5e2e\u6211\u4eec\u7684\u5206\u6790\u51fa\u6765\u7684\u5462&#xff1f;\u4e5f\u5c31\u662f\u8bf4&#xff1a;\u8fd9\u4e2amethod \u4e0d\u662fRTSP\u4e2d\u672c\u6765\u5c31\u5e26\u7684\u5b57\u7b26\u4e32\u5462&#xff1f;\u8fd9\u91cc\u4e3b\u8981\u5b66\u4e60\u4e00\u4e0b\u65b9\u6cd5<\/p>\n<p>\u5bf9\u7167wireshark\u67e5\u770b&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1064\" src=\"2025-04-183vmvpnb4urb.png\" width=\"1200\" \/><\/p>\n<\/p>\n<h6>\u53ef\u80fd\u5f97\u7591\u60d13&#xff1a;\u5728RTSP \u524d\u9762\u8fd8\u6709TCP\/IP\u7684\u76f8\u5173&#xff0c;\u90a3\u4e48RTSP \u534f\u8bae\u548c TCP\/IP \u534f\u8bae\u662f\u5982\u4f55\u5173\u8054\u7684\u3002<\/h6>\n<p>TODO<\/p>\n<\/p>\n<h5>2.\u670d\u52a1\u5668\u5173\u4e8eOPTION\u7684\u56de\u590d\u5982\u4e0b&#xff1a;<\/h5>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"908\" src=\"2025-04-18txgglqybzu3.png\" width=\"1200\" \/><\/p>\n<\/p>\n<p>Real Time Streaming Protocol<br \/>\n    Response: RTSP\/1.0 200 OK\\\\r\\\\n<br \/>\n        Status: 200<br \/>\n    CSeq: 1\\\\r\\\\n<br \/>\n    Date: Sat, Dec 28 2024 12:30:08 GMT\\\\r\\\\n<br \/>\n    Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, ANNOUNCE, RECORD, SET_PARAMETER, GET_PARAMETER\\\\r\\\\n<br \/>\n    Server: ZLMediaKit(git hash:8bf48ed\/2024-12-15T11:43:31&#043;08:00,branch:master,build time:2024-12-19T12:43:26)\\\\r\\\\n<br \/>\n    \\\\r\\\\n <\/p>\n<p>Response: RTSP\/1.0 200 OK\\\\r\\\\n<\/p>\n<h6><span style=\"color:#fe2c24\">Response <\/span>\u8868\u793a\u7684\u56de\u590d<\/h6>\n<h6><span style=\"color:#fe2c24\">:<\/span> \u662f\u683c\u5f0f<\/h6>\n<h6><span style=\"color:#fe2c24\">RTSP\/1.0 \u8868\u793a\u7684\u662f\u7248\u672c<\/span><\/h6>\n<h6> \u00a0 \u00a0 \u00a0 \u00a0 Status: 200\u00a0<\/h6>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u670d\u52a1\u5668\u8fd4\u56de\u7684\u72b6\u6001&#xff0c;200\u8868\u793a\u6210\u529f<\/p>\n<h6> \u00a0 \u00a0 CSeq: 1\\\\r\\\\n<\/h6>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 CSeq \u8868\u793a\u7684\u662f&#xff0c;\u6211\u7684\u8fd9\u4e2a\u56de\u590d\u662f \u56de\u590d CSeq &#061; 1\u7684request<\/p>\n<h6> \u00a0 \u00a0 Date: Sat, Dec 28 2024 12:30:08 GMT\\\\r\\\\n<\/h6>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u670d\u52a1\u5668\u7684\u56de\u590d\u65f6\u95f4<\/p>\n<h6> \u00a0 \u00a0 Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, ANNOUNCE, RECORD, SET_PARAMETER, GET_PARAMETER\\\\r\\\\n<\/h6>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Public\u5f00\u5934&#xff0c;Pubilc\u4e5f\u662f\u670d\u52a1\u5668\u4f20\u9012\u8fc7\u6765\u7684\u5b57\u7b26\u4e32&#xff0c;\u4e0d\u662fwireshark\u5e2e\u5fd9\u89e3\u6790\u7684\u3002\u670d\u52a1\u5668\u56de\u590d&#xff1a;\u670d\u52a1\u5668\u652f\u6301\u7684\u65b9\u6cd5&#xff0c;\u8fd9\u662f\u91cd\u70b9&#xff0c;\u9700\u8981\u660e\u767d\u6bcf\u4e2a\u53c2\u6570\u7684\u542b\u4e49<\/p>\n<h6> \u00a0 \u00a0 Server: ZLMediaKit(git hash:8bf48ed\/2024-12-15T11:43:31&#043;08:00,branch:master,build time:2024-12-19T12:43:26)\\\\r\\\\n<\/h6>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Server \u5f00\u5934&#xff0c;\u8868\u793a\u4e86\u670d\u52a1\u5668\u7684\u540d\u5b57\u5565\u7684\u4fe1\u606f\u3002 \u00a0 \u00a0 \\\\r\\\\n<\/p>\n<\/p>\n<h6>rtsp \u652f\u6301\u7684\u65b9\u6cd5\u7684\u8bf4\u660e<\/h6>\n<h6>OPTIONS<\/h6>\n<p>\u4e00\u822c\u7531\u5ba2\u6237\u7aef\u53d1\u51fa&#xff0c;\u8be2\u95ee\u670d\u52a1\u5668\u6709\u54ea\u4e9b\u65b9\u6cd5\u53ef\u7528\u3002\u4e00\u822c\u662f\u63a8\u6d41\u7684\u7b2c\u4e00\u6b65&#xff0c;\u4e00\u822c\u4e5f\u662f\u62c9\u6d41\u7684\u7b2c\u4e00\u6b65<\/p>\n<\/p>\n<h6>DESCRIBE<\/h6>\n<p>\u4e00\u822c\u7531\u5ba2\u6237\u7aef\u53d1\u51fa&#xff0c;<span style=\"color:#262626\">\u8981\u6c42\u5f97\u5230S\u63d0\u4f9b\u7684\u5a92\u4f53\u63cf\u8ff0\u4fe1\u606f\u3002\u4e00\u822c\u5728\u62c9\u6d41\u7684\u7b2c\u4e8c\u6b65\u4f7f\u7528&#xff0c;<\/span><\/p>\n<\/p>\n<h6>SETUP<\/h6>\n<p> <span style=\"color:#262626\">SETUP\u5efa\u2f74RTSP\u4f1a\u8bdd&#xff0c;\u4e00\u822c\u7531\u5ba2\u6237\u7aef\u53d1\u8d77&#xff0c;\u901a\u8fc7Transport\u5934\u5b57\u6bb5\u5217\u51fa\u53ef\u63a5\u53d7\u7684\u4f20\u8f93\u9009\u9879&#xff0c;\u8bf7\u6c42S\u5efa\u2f74\u4f1a\u8bdd<\/span> <\/p>\n<h6>TEARDOWN<\/h6>\n<p><span style=\"color:#262626\">C\u8bf7\u6c42\u5173\u95ed\u4f1a\u8bdd<\/span><\/p>\n<\/p>\n<h6>PLAY<\/h6>\n<p> <span style=\"color:#262626\">C\u8bf7\u6c42S\u5f00\u59cb\u53d1\u9001\u6570\u636e<\/span> <\/p>\n<h6>PAUSE<\/h6>\n<\/p>\n<h6>ANNOUNCE\u00a0<\/h6>\n<p> <span style=\"color:#262626\">\u5ba2\u6237\u7aef\u53d1\u9001\u5a92\u4f53\u63cf\u8ff0\u4fe1\u606f\u7ed9\u670d\u52a1\u5668\u7aef&#xff0c;\u4e00\u822c\u7528\u4e8e \u63a8\u6d41\u7684\u7b2c\u4e8c\u6b65\u3002<\/span> <\/p>\n<h6>RECORD<\/h6>\n<p> <span style=\"color:#262626\">RECORD\u8bf7\u6c42\u4f20\u9001\u6570\u636e<\/span> <\/p>\n<h6>SET_PARAMETER<\/h6>\n<\/p>\n<h6>GET_PARAMETER<\/h6>\n<\/p>\n<h5>3. \u5ba2\u6237\u7aef\u53d1\u9001 ANNOUNCE&#xff0c;\u76ee\u7684\u662f<span style=\"color:#262626\">\u5ba2\u6237\u7aef\u53d1\u9001\u5a92\u4f53\u63cf\u8ff0\u4fe1\u606f\u7ed9\u670d\u52a1\u5668\u7aef<\/span><\/h5>\n<p>\u8fd9\u5f88\u597d\u7406\u89e3&#xff0c;\u5728\u7b2c\u4e00\u6b65\u8be2\u95ee\u4e86\u670d\u52a1\u5668\u652f\u6301\u7684\u6709\u54ea\u4e9b\u65b9\u6cd5&#xff0c;\u53d1\u73b0\u670d\u52a1\u5668\u652f\u6301 ANNOUNCE\u540e&#xff0c;\u7406\u8bba\u4e0a\u5c31\u8981\u544a\u8bc9\u670d\u52a1\u5668&#xff0c;\u6211\u8981\u53d1\u9001\u7684 \u6d41\u5a92\u4f53\u6570\u636e\u7684URL\u662f\u5565&#xff0c;\u6211\u7684\u53d1\u9001\u7684\u6d41\u5a92\u4f53\u7684\u683c\u5f0f\u662f\u5565\u7b49&#xff0c;\u5176\u4e2d\u63cf\u8ff0\u6d41\u5a92\u4f53\u6570\u636e\u7684\u63cf\u8ff0&#xff0c;\u9700\u8981\u901a\u8fc7SDP\u534f\u8bae\u683c\u5f0f\u53d1\u9001&#xff0c;\u56e0\u6b64\u8981\u8bfb\u61c2\u8fd9\u5757\u5185\u5bb9&#xff0c;\u9700\u8981\u5b66\u4e60SDP \u534f\u8bae&#xff1a;TODO<\/p>\n<p>Frame 9: 553 bytes on wire (4424 bits), 553 bytes captured (4424 bits) on interface \\\\Device\\\\NPF_{13ABD455-B09A-4657-9731-83547FC8A4AF}, id 0<br \/>\nEthernet II, Src: VMware_c0:00:08 (00:50:56:c0:00:08), Dst: VMware_6c:26:fe (00:0c:29:6c:26:fe)<br \/>\nInternet Protocol Version 4, Src: 192.168.245.1, Dst: 192.168.245.130<br \/>\nTransmission Control Protocol, Src Port: 59322, Dst Port: 554, Seq: 246, Ack: 280, Len: 499<br \/>\n[2 Reassembled TCP Segments (648 bytes): #7(149), #9(499)]<br \/>\nReal Time Streaming Protocol<br \/>\n    Request: ANNOUNCE rtsp:\/\/192.168.245.130:554\/test\/0015smp4 RTSP\/1.0\\\\r\\\\n<br \/>\n        Method: ANNOUNCE<br \/>\n        URL: rtsp:\/\/192.168.245.130:554\/test\/0015smp4<br \/>\n    Content-type: application\/sdp<br \/>\n    CSeq: 2\\\\r\\\\n<br \/>\n    User-Agent: Lavf60.3.100\\\\r\\\\n<br \/>\n    Content-length: 499<br \/>\n    \\\\r\\\\n<br \/>\n    Session Description Protocol<br \/>\n        Session Description Protocol Version (v): 0<br \/>\n        Owner\/Creator, Session Id (o): &#8211; 0 0 IN IP4 127.0.0.1<br \/>\n        Session Name (s): No Name<br \/>\n        Connection Information (c): IN IP4 192.168.245.130<br \/>\n        Time Description, active time (t): 0 0<br \/>\n        Session Attribute (a): tool:libavformat 60.3.100<br \/>\n        Media Description, name and address (m): video 0 RTP\/AVP 96<br \/>\n        Media Attribute (a): rtpmap:96 H264\/90000<br \/>\n        Media Attribute (a): fmtp:96 packetization-mode&#061;1; sprop-parameter-sets&#061;Z2QAKKzZQHgGWwFqAgICgAAAAwCAAAAYB4wYyw&#061;&#061;,aOvjyyLA; profile-level-id&#061;640028<br \/>\n        Media Attribute (a): control:streamid&#061;0<br \/>\n        Media Description, name and address (m): audio 0 RTP\/AVP 97<br \/>\n        Bandwidth Information (b): AS:128<br \/>\n        Media Attribute (a): rtpmap:97 MPEG4-GENERIC\/44100\/2<br \/>\n        Media Attribute (a): fmtp:97 profile-level-id&#061;1;mode&#061;AAC-hbr;sizelength&#061;13;indexlength&#061;3;indexdeltalength&#061;3; config&#061;121056E500<br \/>\n        Media Attribute (a): control:streamid&#061;1<\/p>\n<p>\u6211\u4eec\u5148\u6765\u5b66\u4e60\u4e00\u4e0b \u975e SDP\u7684\u90e8\u5206<\/p>\n<p>Request: ANNOUNCE rtsp:\/\/192.168.245.130:554\/test\/0015smp4 RTSP\/1.0\\\\r\\\\n \u00a0 \u00a0 \u00a0 \u00a0 Method: ANNOUNCE \u00a0 \u00a0 \u00a0 \u00a0 URL: rtsp:\/\/192.168.245.130:554\/test\/0015smp4 \u00a0 \u00a0 Content-type: application\/sdp \u00a0 \u00a0 CSeq: 2\\\\r\\\\n \u00a0 \u00a0 User-Agent: Lavf60.3.100\\\\r\\\\n \u00a0 \u00a0 Content-length: 499<\/p>\n<\/p>\n<p>Content-type \u8868\u793a&#xff0c;\u5185\u5bb9\u7684\u90e8\u5206\u662f sdp \u7684<\/p>\n<p>CSeq\u00a0 \u6bcf\u4e2a\u6d88\u606f\u90fd\u6709\u5e8f\u53f7\u6765\u6807\u8bb0&#xff0c;\u53ef\u4ee5\u770b\u5230\u8fd9\u4e2aCSeq \u662f\u81ea\u589e\u7684\u3002<\/p>\n<\/p>\n<p>SDP \u7684<\/p>\n<\/p>\n<p>    Session Description Protocol<br \/>\n        Session Description Protocol Version (v): 0<br \/>\n        Owner\/Creator, Session Id (o): &#8211; 0 0 IN IP4 127.0.0.1<br \/>\n        Session Name (s): No Name<br \/>\n        Connection Information (c): IN IP4 192.168.245.130<br \/>\n        Time Description, active time (t): 0 0<br \/>\n        Session Attribute (a): tool:libavformat 60.3.100<br \/>\n        Media Description, name and address (m): video 0 RTP\/AVP 96<br \/>\n        Media Attribute (a): rtpmap:96 H264\/90000<br \/>\n        Media Attribute (a): fmtp:96 packetization-mode&#061;1; sprop-parameter-sets&#061;Z2QAKKzZQHgGWwFqAgICgAAAAwCAAAAYB4wYyw&#061;&#061;,aOvjyyLA; profile-level-id&#061;640028<br \/>\n        Media Attribute (a): control:streamid&#061;0<br \/>\n        Media Description, name and address (m): audio 0 RTP\/AVP 97<br \/>\n        Bandwidth Information (b): AS:128<br \/>\n        Media Attribute (a): rtpmap:97 MPEG4-GENERIC\/44100\/2<br \/>\n        Media Attribute (a): fmtp:97 profile-level-id&#061;1;mode&#061;AAC-hbr;sizelength&#061;13;indexlength&#061;3;indexdeltalength&#061;3; config&#061;121056E500<br \/>\n        Media Attribute (a): control:streamid&#061;1<\/p>\n<\/p>\n<h2>\u4e94. NEXT :\u5b66\u4e60\u00a0RTP \u534f\u8bae<\/h2>\n<p>\u6211\u4eec\u5148\u5b66\u4e60 RTP \u534f\u8bae&#xff0c;\u53ef\u4ee5\u518d\u5b66\u4e60\u4e86RTP\u534f\u8bae\u540e&#xff0c;\u518d\u53cd\u8fc7\u6765 \u5b66\u4e60 RTSP \u534f\u8bae&#xff0c;\u8fd9\u662f\u4e24\u4e2a\u539f\u56e0\u51b3\u5b9a\u7684&#xff1a;<\/p>\n<p>\u7b2c\u4e00&#xff1a; RTSP\u534f\u8bae\u4e2d\u7684\u4e00\u4e9b\u6982\u5ff5\u4ee5\u53ca\u4e3a\u4ec0\u4e48\u8fd9\u4e48\u8bbe\u8ba1\u7684\u5b66\u4e60 \u662f\u57fa\u4e8eRTP\u8bbe\u8ba1\u7684&#xff0c;\u4e5f\u5c31\u662f\u8bf4&#xff0c;\u6211\u4eec\u660e\u767d\u4e86RTP\u4e2d\u534f\u8bae\u7684\u4e00\u4e9b\u57fa\u672c\u6982\u5ff5\u6216\u8005\u8981\u6c42&#xff0c;\u5c31\u80fd\u5bf9 RTSP \u534f\u8bae\u4e3a\u4ec0\u4e48\u8fd9\u4e48\u8bbe\u8ba1&#xff0c;\u80fd\u6709\u66f4\u52a0\u660e\u786e\u7684\u4e86\u89e3\u3002<\/p>\n<p>\u7b2c\u4e8c&#xff1a;RTP \u534f\u8bae\u6bd4 RTSP\u534f\u8bae\u91cd\u8981\u7684\u591a&#xff0c;\u5728\u540e\u9762\u7684webrtc\u76f8\u5173\u7684\u77e5\u8bc6\u4e2d&#xff0c;\u5f88\u591a\u90fd\u662f\u7528 RTP \u548c RTCP\u76f4\u63a5\u505a\u7684&#xff0c;\u5c31\u7528\u4e0d\u5230RTSP\u534f\u8bae\u3002<\/p>\n<\/p>\n<p><span style=\"color:#38d8f0\">\u00a0RTP<\/span>\u534f\u8bae&#xff1a;\u8d1f\u8d23\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u7aef\u4e4b\u95f4<span style=\"color:#38d8f0\">\u4f20\u9012\u5a92\u4f53\u6570\u636e<\/span>&#xff1b;RTP\u534f\u8bae\u8be6\u60c5\u3002FFmpeg 4.3 \u97f3\u89c6\u9891-\u591a\u8defH265\u76d1\u63a7\u5f55\u653eC&#043;&#043;\u5f00\u53d1\u4e8c\u5341\u4e00.2&#xff0c;RTP\u534f\u8bae-RTP\u534f\u8bae\u6982\u8ff0&#xff0c;\u534f\u8bae\u8be6\u60c5-CSDN\u535a\u5ba2<\/p>\n<\/p>\n<h2><\/h2>\n<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb950\u6b21\uff0c\u70b9\u8d5e7\u6b21\uff0c\u6536\u85cf9\u6b21\u3002RTCP\u534f\u8bae\uff1a\u8d1f\u8d23\u63d0\u4f9b\u6709\u5173RTP\u4f20\u8f93\u8d28\u91cf\u7684\u53cd\u9988\uff0c\u5c31\u662f\u786e\u4fddRTP\u4f20\u8f93\u7684\u8d28\u91cf\u3002RTSP\u534f\u8bae\uff1a\u8d1f\u8d23\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u7aef\u7684\u8bf7\u6c42\u548c\u54cd\u5e94\uff1bRTP\u534f\u8bae\uff1a\u8d1f\u8d23\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u7aef\u4e4b\u95f4\u4f20\u9012\u5a92\u4f53\u6570\u636e\uff1b_video\u6807\u7b7e ffmpeg rtsp\u670d\u52a1\u5668 \u5b89\u9632<\/p>\n","protected":false},"author":2,"featured_media":16423,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[55,213,1136,214],"topic":[],"class_list":["post-16443","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-c","tag-ffmpeg","tag-ffmpeg4-3--h265","tag-214"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>FFmpeg 4.3 \u97f3\u89c6\u9891-\u591a\u8defH265\u76d1\u63a7\u5f55\u653eC++\u5f00\u53d1\u4e8c\u5341\u4e00.1\uff0cRTSP\u534f\u8bae-RTSP\u534f\u8bae\u6982\u8ff0,\u8be6\u60c5\uff0c\u4f7f\u7528VLC\u642d\u5efaRTSP\u670d\u52a1\u5668\uff0c\u4f7f\u7528\u5f00\u6e90\u9879\u76eeZLMediakit \u642d\u5efaRTSP\u670d\u52a1\u5668\u3002 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/16443.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"FFmpeg 4.3 \u97f3\u89c6\u9891-\u591a\u8defH265\u76d1\u63a7\u5f55\u653eC++\u5f00\u53d1\u4e8c\u5341\u4e00.1\uff0cRTSP\u534f\u8bae-RTSP\u534f\u8bae\u6982\u8ff0,\u8be6\u60c5\uff0c\u4f7f\u7528VLC\u642d\u5efaRTSP\u670d\u52a1\u5668\uff0c\u4f7f\u7528\u5f00\u6e90\u9879\u76eeZLMediakit \u642d\u5efaRTSP\u670d\u52a1\u5668\u3002 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb950\u6b21\uff0c\u70b9\u8d5e7\u6b21\uff0c\u6536\u85cf9\u6b21\u3002RTCP\u534f\u8bae\uff1a\u8d1f\u8d23\u63d0\u4f9b\u6709\u5173RTP\u4f20\u8f93\u8d28\u91cf\u7684\u53cd\u9988\uff0c\u5c31\u662f\u786e\u4fddRTP\u4f20\u8f93\u7684\u8d28\u91cf\u3002RTSP\u534f\u8bae\uff1a\u8d1f\u8d23\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u7aef\u7684\u8bf7\u6c42\u548c\u54cd\u5e94\uff1bRTP\u534f\u8bae\uff1a\u8d1f\u8d23\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u7aef\u4e4b\u95f4\u4f20\u9012\u5a92\u4f53\u6570\u636e\uff1b_video\u6807\u7b7e ffmpeg rtsp\u670d\u52a1\u5668 \u5b89\u9632\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/16443.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T14:52:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418145232-680267305fd22.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/16443.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/16443.html\",\"name\":\"FFmpeg 4.3 \u97f3\u89c6\u9891-\u591a\u8defH265\u76d1\u63a7\u5f55\u653eC++\u5f00\u53d1\u4e8c\u5341\u4e00.1\uff0cRTSP\u534f\u8bae-RTSP\u534f\u8bae\u6982\u8ff0,\u8be6\u60c5\uff0c\u4f7f\u7528VLC\u642d\u5efaRTSP\u670d\u52a1\u5668\uff0c\u4f7f\u7528\u5f00\u6e90\u9879\u76eeZLMediakit \u642d\u5efaRTSP\u670d\u52a1\u5668\u3002 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T14:52:42+00:00\",\"dateModified\":\"2025-04-18T14:52:42+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/16443.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/16443.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/16443.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"FFmpeg 4.3 \u97f3\u89c6\u9891-\u591a\u8defH265\u76d1\u63a7\u5f55\u653eC++\u5f00\u53d1\u4e8c\u5341\u4e00.1\uff0cRTSP\u534f\u8bae-RTSP\u534f\u8bae\u6982\u8ff0,\u8be6\u60c5\uff0c\u4f7f\u7528VLC\u642d\u5efaRTSP\u670d\u52a1\u5668\uff0c\u4f7f\u7528\u5f00\u6e90\u9879\u76eeZLMediakit \u642d\u5efaRTSP\u670d\u52a1\u5668\u3002\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"FFmpeg 4.3 \u97f3\u89c6\u9891-\u591a\u8defH265\u76d1\u63a7\u5f55\u653eC++\u5f00\u53d1\u4e8c\u5341\u4e00.1\uff0cRTSP\u534f\u8bae-RTSP\u534f\u8bae\u6982\u8ff0,\u8be6\u60c5\uff0c\u4f7f\u7528VLC\u642d\u5efaRTSP\u670d\u52a1\u5668\uff0c\u4f7f\u7528\u5f00\u6e90\u9879\u76eeZLMediakit \u642d\u5efaRTSP\u670d\u52a1\u5668\u3002 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/16443.html","og_locale":"zh_CN","og_type":"article","og_title":"FFmpeg 4.3 \u97f3\u89c6\u9891-\u591a\u8defH265\u76d1\u63a7\u5f55\u653eC++\u5f00\u53d1\u4e8c\u5341\u4e00.1\uff0cRTSP\u534f\u8bae-RTSP\u534f\u8bae\u6982\u8ff0,\u8be6\u60c5\uff0c\u4f7f\u7528VLC\u642d\u5efaRTSP\u670d\u52a1\u5668\uff0c\u4f7f\u7528\u5f00\u6e90\u9879\u76eeZLMediakit \u642d\u5efaRTSP\u670d\u52a1\u5668\u3002 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb950\u6b21\uff0c\u70b9\u8d5e7\u6b21\uff0c\u6536\u85cf9\u6b21\u3002RTCP\u534f\u8bae\uff1a\u8d1f\u8d23\u63d0\u4f9b\u6709\u5173RTP\u4f20\u8f93\u8d28\u91cf\u7684\u53cd\u9988\uff0c\u5c31\u662f\u786e\u4fddRTP\u4f20\u8f93\u7684\u8d28\u91cf\u3002RTSP\u534f\u8bae\uff1a\u8d1f\u8d23\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u7aef\u7684\u8bf7\u6c42\u548c\u54cd\u5e94\uff1bRTP\u534f\u8bae\uff1a\u8d1f\u8d23\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u7aef\u4e4b\u95f4\u4f20\u9012\u5a92\u4f53\u6570\u636e\uff1b_video\u6807\u7b7e ffmpeg rtsp\u670d\u52a1\u5668 \u5b89\u9632","og_url":"https:\/\/www.wsisp.com\/helps\/16443.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T14:52:42+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418145232-680267305fd22.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"8 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/16443.html","url":"https:\/\/www.wsisp.com\/helps\/16443.html","name":"FFmpeg 4.3 \u97f3\u89c6\u9891-\u591a\u8defH265\u76d1\u63a7\u5f55\u653eC++\u5f00\u53d1\u4e8c\u5341\u4e00.1\uff0cRTSP\u534f\u8bae-RTSP\u534f\u8bae\u6982\u8ff0,\u8be6\u60c5\uff0c\u4f7f\u7528VLC\u642d\u5efaRTSP\u670d\u52a1\u5668\uff0c\u4f7f\u7528\u5f00\u6e90\u9879\u76eeZLMediakit \u642d\u5efaRTSP\u670d\u52a1\u5668\u3002 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T14:52:42+00:00","dateModified":"2025-04-18T14:52:42+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/16443.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/16443.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/16443.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"FFmpeg 4.3 \u97f3\u89c6\u9891-\u591a\u8defH265\u76d1\u63a7\u5f55\u653eC++\u5f00\u53d1\u4e8c\u5341\u4e00.1\uff0cRTSP\u534f\u8bae-RTSP\u534f\u8bae\u6982\u8ff0,\u8be6\u60c5\uff0c\u4f7f\u7528VLC\u642d\u5efaRTSP\u670d\u52a1\u5668\uff0c\u4f7f\u7528\u5f00\u6e90\u9879\u76eeZLMediakit \u642d\u5efaRTSP\u670d\u52a1\u5668\u3002"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/16443","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=16443"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/16443\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/16423"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=16443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=16443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=16443"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=16443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}