{"id":26561,"date":"2025-04-19T16:06:17","date_gmt":"2025-04-19T08:06:17","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/26561.html"},"modified":"2025-04-19T16:06:17","modified_gmt":"2025-04-19T08:06:17","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8%e6%a0%91%e6%a2%85%e6%b4%be-raspberry-pi-%e4%b8%8a%e6%90%ad%e5%bb%ba-rtsp-server%ef%bc%88%e8%a7%86%e9%a2%91%e6%b5%81%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/26561.html","title":{"rendered":"\u5982\u4f55\u5728\u6811\u6885\u6d3e Raspberry Pi \u4e0a\u642d\u5efa RTSP Server\uff08\u89c6\u9891\u6d41\u670d\u52a1\u5668\uff09"},"content":{"rendered":"<p>\u672c\u6587\u4ee5 rpi 4 model B \u4e3a\u4f8b\uff0c\u4ecb\u7ecd\u5982\u4f55\u642d\u5efartsp server\u3002<\/p>\n<p>1. \u4e0b\u8f7dserver\u538b\u7f29\u6587\u4ef6<\/p>\n<p>\u94fe\u63a5\uff1ahttps:\/\/sourceforge.net\/projects\/rtspsimpleserver.mirror\/<\/p>\n<p>\u6ce8\u610f\uff1a\u5982\u679crpi\u662f 32\u4f4d&nbsp;os\uff0c\u5219\u9009\u62e9\\&#8221;armv7\\&#8221;;<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\u5982\u679crpi\u662f 64\u4f4d&nbsp;os\uff0c\u5219\u9009\u62e9\\&#8221;arm64v8\\&#8221;\u3002<\/p>\n<p>2. \u63d0\u53d6\u5185\u5bb9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/p>\n<p> tar -xzf mediamtx_v1.9.3_linux_arm64v8.tar.gz <\/p>\n<p>3. \u521b\u5efa\u4e00\u4e2a\u5408\u9002\u7684\u8def\u5f84\uff0c\u4f8b\u5982\uff1a\/usr\/local\/bin<\/p>\n<p> sudo mkdir \/usr\/local\/bin\/\u200e <\/p>\n<p>4. \u5c06mediamtx binary\u79fb\u52a8\u5230\u65b0\u521b\u5efa\u7684\u8def\u5f84\u4e2d<\/p>\n<p> sudo mv mediamtx \/usr\/local\/bin\/\u200e <\/p>\n<p>5. \u6dfb\u52a0\u6267\u884c\u6743\u9650<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.7k\u6b21\uff0c\u70b9\u8d5e47\u6b21\uff0c\u6536\u85cf23\u6b21\u3002\u5982\u679c\u4e00\u5207\u6b63\u5e38\uff0c\u6253\u5f00VLC\uff0c&quot;Open Network Stream&quot;\uff0c\u8f93\u5165&quot;rtsp:\/\/localhost:8554\/cam&quot;\uff0c\u7136\u540e\u70b9\u51fbplay\u3002\u5982\u679c\u542f\u52a8mediamtx server\u4e4b\u540e\u6ca1\u6709\u4efb\u4f55\u95ee\u9898\uff08the server is holding), \u5c31\u53ef\u4ee5\u91cd\u65b0\u6253\u5f00VLC\u50cf\u7b2c7\u6b65\u4ecb\u7ecd\u7684\u90a3\u6837\u6253\u5f00\u89c6\u9891\u6d41\u3002\u5982\u679crpi\u662f 64\u4f4d os\uff0c\u5219\u9009\u62e9&quot;arm64v8&quot;\u30023. \u521b\u5efa\u4e00\u4e2a\u5408\u9002\u7684\u8def\u5f84\uff0c\u4f8b\u5982\uff1a\/usr\/local\/bin\u3002\u6ce8\u610f\uff1a\u5982\u679crpi\u662f 32\u4f4d os\uff0c\u5219\u9009\u62e9&quot;armv7&quot;;7. \u542f\u52a8server\u3002_\u6811\u8393\u6d3e rtsp<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,43,1549,44],"topic":[],"class_list":["post-26561","post","type-post","status-publish","format-standard","hentry","category-server","tag-linux","tag-43","tag-1549","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5982\u4f55\u5728\u6811\u6885\u6d3e Raspberry Pi \u4e0a\u642d\u5efa RTSP Server\uff08\u89c6\u9891\u6d41\u670d\u52a1\u5668\uff09 - \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\/26561.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u5728\u6811\u6885\u6d3e Raspberry Pi \u4e0a\u642d\u5efa RTSP Server\uff08\u89c6\u9891\u6d41\u670d\u52a1\u5668\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.7k\u6b21\uff0c\u70b9\u8d5e47\u6b21\uff0c\u6536\u85cf23\u6b21\u3002\u5982\u679c\u4e00\u5207\u6b63\u5e38\uff0c\u6253\u5f00VLC\uff0c&quot;Open Network Stream&quot;\uff0c\u8f93\u5165&quot;rtsp:\/\/localhost:8554\/cam&quot;\uff0c\u7136\u540e\u70b9\u51fbplay\u3002\u5982\u679c\u542f\u52a8mediamtx server\u4e4b\u540e\u6ca1\u6709\u4efb\u4f55\u95ee\u9898\uff08the server is holding), \u5c31\u53ef\u4ee5\u91cd\u65b0\u6253\u5f00VLC\u50cf\u7b2c7\u6b65\u4ecb\u7ecd\u7684\u90a3\u6837\u6253\u5f00\u89c6\u9891\u6d41\u3002\u5982\u679crpi\u662f 64\u4f4d os\uff0c\u5219\u9009\u62e9&quot;arm64v8&quot;\u30023. \u521b\u5efa\u4e00\u4e2a\u5408\u9002\u7684\u8def\u5f84\uff0c\u4f8b\u5982\uff1a\/usr\/local\/bin\u3002\u6ce8\u610f\uff1a\u5982\u679crpi\u662f 32\u4f4d os\uff0c\u5219\u9009\u62e9&quot;armv7&quot;;7. \u542f\u52a8server\u3002_\u6811\u8393\u6d3e rtsp\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/26561.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-19T08:06:17+00:00\" \/>\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<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/26561.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/26561.html\",\"name\":\"\u5982\u4f55\u5728\u6811\u6885\u6d3e Raspberry Pi \u4e0a\u642d\u5efa RTSP Server\uff08\u89c6\u9891\u6d41\u670d\u52a1\u5668\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-19T08:06:17+00:00\",\"dateModified\":\"2025-04-19T08:06:17+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/26561.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/26561.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/26561.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u5728\u6811\u6885\u6d3e Raspberry Pi \u4e0a\u642d\u5efa RTSP Server\uff08\u89c6\u9891\u6d41\u670d\u52a1\u5668\uff09\"}]},{\"@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":"\u5982\u4f55\u5728\u6811\u6885\u6d3e Raspberry Pi \u4e0a\u642d\u5efa RTSP Server\uff08\u89c6\u9891\u6d41\u670d\u52a1\u5668\uff09 - \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\/26561.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u5728\u6811\u6885\u6d3e Raspberry Pi \u4e0a\u642d\u5efa RTSP Server\uff08\u89c6\u9891\u6d41\u670d\u52a1\u5668\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.7k\u6b21\uff0c\u70b9\u8d5e47\u6b21\uff0c\u6536\u85cf23\u6b21\u3002\u5982\u679c\u4e00\u5207\u6b63\u5e38\uff0c\u6253\u5f00VLC\uff0c&quot;Open Network Stream&quot;\uff0c\u8f93\u5165&quot;rtsp:\/\/localhost:8554\/cam&quot;\uff0c\u7136\u540e\u70b9\u51fbplay\u3002\u5982\u679c\u542f\u52a8mediamtx server\u4e4b\u540e\u6ca1\u6709\u4efb\u4f55\u95ee\u9898\uff08the server is holding), \u5c31\u53ef\u4ee5\u91cd\u65b0\u6253\u5f00VLC\u50cf\u7b2c7\u6b65\u4ecb\u7ecd\u7684\u90a3\u6837\u6253\u5f00\u89c6\u9891\u6d41\u3002\u5982\u679crpi\u662f 64\u4f4d os\uff0c\u5219\u9009\u62e9&quot;arm64v8&quot;\u30023. \u521b\u5efa\u4e00\u4e2a\u5408\u9002\u7684\u8def\u5f84\uff0c\u4f8b\u5982\uff1a\/usr\/local\/bin\u3002\u6ce8\u610f\uff1a\u5982\u679crpi\u662f 32\u4f4d os\uff0c\u5219\u9009\u62e9&quot;armv7&quot;;7. \u542f\u52a8server\u3002_\u6811\u8393\u6d3e rtsp","og_url":"https:\/\/www.wsisp.com\/helps\/26561.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-19T08:06:17+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/26561.html","url":"https:\/\/www.wsisp.com\/helps\/26561.html","name":"\u5982\u4f55\u5728\u6811\u6885\u6d3e Raspberry Pi \u4e0a\u642d\u5efa RTSP Server\uff08\u89c6\u9891\u6d41\u670d\u52a1\u5668\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-19T08:06:17+00:00","dateModified":"2025-04-19T08:06:17+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/26561.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/26561.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/26561.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u5728\u6811\u6885\u6d3e Raspberry Pi \u4e0a\u642d\u5efa RTSP Server\uff08\u89c6\u9891\u6d41\u670d\u52a1\u5668\uff09"}]},{"@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\/26561","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=26561"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/26561\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=26561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=26561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=26561"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=26561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}