{"id":75047,"date":"2026-02-11T09:06:22","date_gmt":"2026-02-11T01:06:22","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/75047.html"},"modified":"2026-02-11T09:06:22","modified_gmt":"2026-02-11T01:06:22","slug":"%e4%bb%8e%e9%9b%b6%e6%9e%84%e5%bb%baesp32-p4-h-264%e8%a7%86%e9%a2%91%e6%b5%81%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%9a%e7%a1%ac%e4%bb%b6%e5%8a%a0%e9%80%9f%e4%b8%8e%e7%bd%91%e7%bb%9c%e4%bc%a0%e8%be%93","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/75047.html","title":{"rendered":"\u4ece\u96f6\u6784\u5efaESP32-P4 H.264\u89c6\u9891\u6d41\u670d\u52a1\u5668\uff1a\u786c\u4ef6\u52a0\u901f\u4e0e\u7f51\u7edc\u4f20\u8f93\u7684\u6df1\u5ea6\u8c03\u4f18"},"content":{"rendered":"<h2>\u4ece\u96f6\u6784\u5efaESP32-P4 H.264\u89c6\u9891\u6d41\u670d\u52a1\u5668&#xff1a;\u786c\u4ef6\u52a0\u901f\u4e0e\u7f51\u7edc\u4f20\u8f93\u7684\u6df1\u5ea6\u8c03\u4f18<\/h2>\n<p>\u5728\u667a\u80fd\u89c6\u89c9\u8bbe\u5907\u5feb\u901f\u53d1\u5c55\u7684\u4eca\u5929&#xff0c;\u5d4c\u5165\u5f0f\u5f00\u53d1\u8005\u9762\u4e34\u7740\u4e00\u4e2a\u5173\u952e\u6311\u6218&#xff1a;\u5982\u4f55\u5728\u8d44\u6e90\u53d7\u9650\u7684\u73af\u5883\u4e2d\u5b9e\u73b0\u9ad8\u8d28\u91cf\u3001\u4f4e\u5ef6\u8fdf\u7684\u89c6\u9891\u6d41\u4f20\u8f93\u3002ESP32-P4\u4f5c\u4e3a\u4e50\u946b\u79d1\u6280\u63a8\u51fa\u7684\u9ad8\u6027\u80fdSoC&#xff0c;\u4ee5\u5176\u72ec\u7279\u7684\u786c\u4ef6\u52a0\u901f\u67b6\u6784\u548c\u4e30\u5bcc\u7684\u63a5\u53e3\u8d44\u6e90&#xff0c;\u4e3a\u8fd9\u4e00\u9886\u57df\u5e26\u6765\u4e86\u5168\u65b0\u7684\u89e3\u51b3\u65b9\u6848\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8\u5982\u4f55\u5145\u5206\u5229\u7528ESP32-P4\u7684H.264\u786c\u4ef6\u7f16\u7801\u5668\u548c\u56fe\u50cf\u4fe1\u53f7\u5904\u7406\u5668&#xff08;ISP&#xff09;&#xff0c;\u6784\u5efa\u4e00\u4e2a\u7a33\u5b9a\u9ad8\u6548\u7684\u89c6\u9891\u6d41\u670d\u52a1\u5668&#xff0c;\u7279\u522b\u5173\u6ce8\u5728\u667a\u80fd\u5bb6\u5c45\u548c\u5de5\u4e1a\u76d1\u63a7\u573a\u666f\u4e0b\u7684\u6027\u80fd\u4f18\u5316\u3002<\/p>\n<h3>1. ESP32-P4\u786c\u4ef6\u67b6\u6784\u4e0e\u89c6\u9891\u5904\u7406\u80fd\u529b\u89e3\u6790<\/h3>\n<p>ESP32-P4\u642d\u8f7d\u53cc\u6838RISC-V\u5904\u7406\u5668&#xff0c;\u4e3b\u9891\u9ad8\u8fbe400MHz&#xff0c;\u5e76\u96c6\u6210\u4e86\u4e13\u4e3a\u591a\u5a92\u4f53\u5904\u7406\u8bbe\u8ba1\u7684\u786c\u4ef6\u52a0\u901f\u6a21\u5757\u3002\u5176\u4e2d\u6700\u503c\u5f97\u5173\u6ce8\u7684\u662f\u5176\u5b8c\u6574\u7684\u89c6\u9891\u5904\u7406\u6d41\u6c34\u7ebf&#xff1a;\u4eceMIPI-CSI\u63a5\u53e3\u63a5\u6536\u539f\u59cb\u56fe\u50cf\u6570\u636e&#xff0c;\u901a\u8fc7\u5185\u7f6eISP\u8fdb\u884c\u5b9e\u65f6\u4f18\u5316&#xff0c;\u6700\u7ec8\u7531H.264\u786c\u4ef6\u7f16\u7801\u5668\u538b\u7f29\u8f93\u51fa\u3002<\/p>\n<p>\u5173\u952e\u786c\u4ef6\u7279\u6027\u5bf9\u6bd4&#xff1a;<\/p>\n<table>\n<tr>\u529f\u80fd\u6a21\u5757\u89c4\u683c\u53c2\u6570\u6027\u80fd\u8868\u73b0<\/tr>\n<tbody>\n<tr>\n<td>H.264\u7f16\u7801\u5668<\/td>\n<td>1080p&#064;30fps<\/td>\n<td>\u786c\u4ef6\u52a0\u901f&#xff0c;\u96f6CPU\u5360\u7528<\/td>\n<\/tr>\n<tr>\n<td>MIPI-CSI\u63a5\u53e3<\/td>\n<td>4\u901a\u9053&#xff0c;1.5Gbps\/\u901a\u9053<\/td>\n<td>\u652f\u6301RAW8\/RAW10\/YUV\u683c\u5f0f<\/td>\n<\/tr>\n<tr>\n<td>ISP\u5904\u7406\u5668<\/td>\n<td>3A\u7b97\u6cd5\u786c\u4ef6\u52a0\u901f<\/td>\n<td>\u81ea\u52a8\u767d\u5e73\u8861\u3001\u66dd\u5149\u63a7\u5236<\/td>\n<\/tr>\n<tr>\n<td>\u5185\u5b58\u5b50\u7cfb\u7edf<\/td>\n<td>768KB SRAM &#043; PSRAM\u652f\u6301<\/td>\n<td>\u96f6\u7b49\u5f85\u6570\u636e\u5b58\u53d6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5728\u5b9e\u9645\u6d4b\u8bd5\u4e2d&#xff0c;\u4f7f\u7528SC2336\u4f20\u611f\u5668\u901a\u8fc7MIPI-CSI\u63a5\u53e3\u91c7\u96c61080p\u539f\u59cb\u6570\u636e&#xff0c;\u7ecfISP\u5904\u7406\u540e\u9001\u5165H.264\u7f16\u7801\u5668&#xff0c;\u6574\u4e2a\u6d41\u7a0b\u7684\u7aef\u5230\u7aef\u5ef6\u8fdf\u53ef\u63a7\u5236\u572850ms\u4ee5\u5185\u3002\u8fd9\u79cd\u786c\u4ef6\u7ea7\u7684\u534f\u540c\u5de5\u4f5c\u65b9\u5f0f&#xff0c;\u76f8\u6bd4\u4f20\u7edf\u7684\u8f6f\u4ef6\u7f16\u7801\u65b9\u6848&#xff0c;\u4e0d\u4ec5\u5927\u5e45\u964d\u4f4e\u4e86CPU\u8d1f\u8f7d&#xff0c;\u8fd8\u663e\u8457\u63d0\u5347\u4e86\u80fd\u6548\u6bd4\u3002<\/p>\n<p>\u6ce8\u610f&#xff1a;\u542f\u7528ISP\u6d41\u6c34\u7ebf\u65f6&#xff0c;\u9700\u8981\u6839\u636e\u4f20\u611f\u5668\u7279\u6027\u914d\u7f6e\u76f8\u5e94\u7684JSON\u53c2\u6570\u6587\u4ef6\u3002\u4e50\u946b\u4e3a\u5e38\u89c1\u4f20\u611f\u5668\u63d0\u4f9b\u4e86\u4f18\u5316\u914d\u7f6e\u6a21\u677f&#xff0c;\u5f00\u53d1\u8005\u53ef\u6839\u636e\u5b9e\u9645\u573a\u666f\u5fae\u8c03\u8fd9\u4e9b\u53c2\u6570\u3002<\/p>\n<h3>2. \u5f00\u53d1\u73af\u5883\u642d\u5efa\u4e0e\u57fa\u7840\u914d\u7f6e<\/h3>\n<p>\u5f00\u59cb\u4e4b\u524d&#xff0c;\u9700\u8981\u51c6\u5907\u4ee5\u4e0b\u786c\u4ef6\u7ec4\u4ef6&#xff1a;<\/p>\n<ul>\n<li>ESP32-P4\u5f00\u53d1\u677f&#xff08;\u63a8\u8350ESP32-P4-Function-EV-Board&#xff09;<\/li>\n<li>MIPI-CSI\u6444\u50cf\u5934\u6a21\u5757&#xff08;\u5982SC2336\u6216OV5645&#xff09;<\/li>\n<li>\u7f51\u7edc\u6269\u5c55\u6a21\u5757&#xff08;SDIO WiFi\u6216\u4ee5\u592a\u7f51PHY&#xff09;<\/li>\n<\/ul>\n<p>\u8f6f\u4ef6\u5f00\u53d1\u73af\u5883\u57fa\u4e8eESP-IDF v5.5.1\u6216\u66f4\u9ad8\u7248\u672c&#xff0c;\u9700\u8981\u5b89\u88c5\u4ee5\u4e0b\u7ec4\u4ef6&#xff1a;<\/p>\n<p># \u514b\u9686\u5fc5\u8981\u7684\u7ec4\u4ef6\u5e93<br \/>\ngit clone &#8211;recursive https:\/\/github.com\/espressif\/esp-video-components.git<br \/>\ngit clone https:\/\/github.com\/espressif\/esp-adf.git<\/p>\n<p># \u8bbe\u7f6e\u73af\u5883\u53d8\u91cf<br \/>\nexport IDF_PATH&#061;~\/esp\/esp-idf<br \/>\nexport ADF_PATH&#061;~\/esp\/esp-adf<\/p>\n<p>\u5173\u952e\u914d\u7f6e\u6b65\u9aa4\u5305\u62ec&#xff1a;<\/p>\n<li>\u542f\u7528ISP\u6d41\u6c34\u7ebf\u63a7\u5236\u5668&#xff1a;\u5728menuconfig\u4e2d\u5f00\u542fCONFIG_ESP_ISP_ENABLE\u9009\u9879<\/li>\n<li>\u914d\u7f6e\u4f20\u611f\u5668\u53c2\u6570&#xff1a;\u6839\u636e\u4f7f\u7528\u7684\u6444\u50cf\u5934\u6a21\u5757&#xff0c;\u9009\u62e9\u76f8\u5e94\u7684\u9a71\u52a8\u914d\u7f6e<\/li>\n<li>\u8bbe\u7f6e\u7f16\u7801\u53c2\u6570&#xff1a;\u8c03\u6574H.264\u7684\u7801\u7387\u63a7\u5236\u6a21\u5f0f\u548c\u91cf\u5316\u53c2\u6570<\/li>\n<p>\/\/ \u5178\u578b\u7684\u4f20\u611f\u5668\u521d\u59cb\u5316\u4ee3\u7801\u793a\u4f8b<br \/>\nsensor_config_t camera_cfg &#061; {<br \/>\n    .mode &#061; CAMERA_MODE_VIDEO,<br \/>\n    .framesize &#061; FRAMESIZE_1080P,<br \/>\n    .pixel_format &#061; PIXFORMAT_RAW10,<br \/>\n    .fb_count &#061; 3,<br \/>\n    .sccb_i2c_port &#061; I2C_NUM_0<br \/>\n};<br \/>\nesp_err_t err &#061; esp_camera_init(&amp;camera_cfg);<\/p>\n<h3>3. H.264\u7f16\u7801\u53c2\u6570\u4f18\u5316\u7b56\u7565<\/h3>\n<p>\u786c\u4ef6\u7f16\u7801\u5668\u867d\u7136\u63d0\u4f9b\u4e86\u57fa\u7840\u529f\u80fd&#xff0c;\u4f46\u8981\u83b7\u5f97\u6700\u4f73\u6548\u679c\u9700\u8981\u7cbe\u7ec6\u7684\u53c2\u6570\u8c03\u4f18\u3002\u4ee5\u4e0b\u662f\u7ecf\u8fc7\u5b9e\u9645\u9a8c\u8bc1\u7684\u4f18\u5316\u65b9\u6848&#xff1a;<\/p>\n<p>\u7801\u7387\u63a7\u5236\u7b56\u7565&#xff1a;<\/p>\n<ul>\n<li>\u4f7f\u7528CBR&#xff08;\u6052\u5b9a\u7801\u7387&#xff09;\u6a21\u5f0f\u786e\u4fdd\u7f51\u7edc\u7a33\u5b9a\u6027<\/li>\n<li>\u8bbe\u7f6e\u6700\u5927\u7801\u7387\u4e3a4Mbps&#xff08;1080p&#xff09;\u62162Mbps&#xff08;720p&#xff09;<\/li>\n<li>\u542f\u7528\u573a\u666f\u53d8\u5316\u68c0\u6d4b&#xff0c;\u52a8\u6001\u8c03\u6574GOP\u7ed3\u6784<\/li>\n<\/ul>\n<p>\u8d28\u91cf\u4f18\u5316\u6280\u5de7&#xff1a;<\/p>\n<p>\/\/ \u914d\u7f6e\u7f16\u7801\u5668\u53c2\u6570<br \/>\nh264_encoder_config_t enc_cfg &#061; {<br \/>\n    .profile &#061; H264_PROFILE_HIGH,<br \/>\n    .level &#061; H264_LEVEL_4_2,<br \/>\n    .rate_control &#061; {<br \/>\n        .mode &#061; H264_RC_CBR,<br \/>\n        .target_bitrate &#061; 4000,  \/\/ 4Mbps<br \/>\n        .max_bitrate &#061; 6000,     \/\/ \u5cf0\u503c\u7801\u7387<br \/>\n        .vbv_buffer_size &#061; 8000  \/\/ \u89c6\u9891\u7f13\u51b2\u9a8c\u8bc1\u5668\u5927\u5c0f<br \/>\n    },<br \/>\n    .quant &#061; {<br \/>\n        .qp_min &#061; 22,<br \/>\n        .qp_max &#061; 38,<br \/>\n        .qp_init &#061; 26<br \/>\n    }<br \/>\n};<\/p>\n<p>\u5728\u52a8\u6001\u573a\u666f\u4e2d&#xff0c;\u5efa\u8bae\u542f\u7528\u81ea\u9002\u5e94\u91cf\u5316&#xff08;AQ&#xff09;\u529f\u80fd&#xff0c;\u6839\u636e\u56fe\u50cf\u5185\u5bb9\u590d\u6742\u5ea6\u5206\u914d\u7801\u7387\u3002\u6d4b\u8bd5\u8868\u660e&#xff0c;\u8fd9\u79cd\u65b9\u6cd5\u53ef\u4ee5\u5728\u76f8\u540c\u7801\u7387\u4e0b\u63d0\u5347\u4e3b\u89c2\u8d28\u91cf\u7ea615-20%\u3002<\/p>\n<p>\u63d0\u793a&#xff1a;\u907f\u514d\u4f7f\u7528RAW10\u683c\u5f0f\u76f4\u63a5\u7f16\u7801&#xff0c;\u8fd9\u4f1a\u663e\u8457\u589e\u52a0\u7801\u7387\u3002\u5efa\u8bae\u901a\u8fc7ISP\u8f6c\u6362\u4e3aYUV420\u683c\u5f0f&#xff0c;\u5728\u4fdd\u8bc1\u8d28\u91cf\u7684\u540c\u65f6\u51cf\u5c1150%\u4ee5\u4e0a\u7684\u6570\u636e\u91cf\u3002<\/p>\n<h3>4. \u7f51\u7edc\u4f20\u8f93\u534f\u8bae\u6808\u4f18\u5316<\/h3>\n<p>\u7f51\u7edc\u4f20\u8f93\u662f\u89c6\u9891\u6d41\u7cfb\u7edf\u7684\u53e6\u4e00\u4e2a\u5173\u952e\u73af\u8282\u3002ESP32-P4\u652f\u6301\u591a\u79cd\u8fde\u63a5\u65b9\u5f0f&#xff0c;\u5404\u6709\u5176\u9002\u7528\u573a\u666f&#xff1a;<\/p>\n<p>SDIO WiFi\u4e0e\u4ee5\u592a\u7f51\u6027\u80fd\u5bf9\u6bd4&#xff1a;<\/p>\n<table>\n<tr>\u7f51\u7edc\u7c7b\u578b\u5ef6\u8fdf\u7279\u6027\u6700\u5927\u541e\u5410\u91cf\u9002\u7528\u573a\u666f<\/tr>\n<tbody>\n<tr>\n<td>SDIO WiFi<\/td>\n<td>20-50ms\u6ce2\u52a8<\/td>\n<td>15-20Mbps<\/td>\n<td>\u79fb\u52a8\u8bbe\u5907\u3001\u7075\u6d3b\u90e8\u7f72<\/td>\n<\/tr>\n<tr>\n<td>\u4ee5\u592a\u7f51<\/td>\n<td>&lt;10ms\u7a33\u5b9a<\/td>\n<td>50-100Mbps<\/td>\n<td>\u56fa\u5b9a\u5b89\u88c5\u3001\u5de5\u4e1a\u73af\u5883<\/td>\n<\/tr>\n<tr>\n<td>SPI WiFi<\/td>\n<td>50-100ms<\/td>\n<td>5-8Mbps<\/td>\n<td>\u6210\u672c\u654f\u611f\u5e94\u7528<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5b9e\u6d4b\u6570\u636e\u663e\u793a&#xff0c;\u5728720p&#064;30fps\u573a\u666f\u4e0b&#xff0c;SDIO WiFi\u7684\u5ef6\u8fdf\u901a\u5e38\u5728110-220ms\u95f4\u6ce2\u52a8&#xff0c;\u800c\u4ee5\u592a\u7f51\u53ef\u4ee5\u7a33\u5b9a\u572880ms\u4ee5\u5185\u3002\u8fd9\u79cd\u5dee\u5f02\u4e3b\u8981\u6765\u81eaWiFi\u534f\u8bae\u6808\u7684\u5904\u7406\u5f00\u9500\u548c\u65e0\u7ebf\u73af\u5883\u7684\u4e0d\u786e\u5b9a\u6027\u3002<\/p>\n<p>RTSP\u670d\u52a1\u5668\u4f18\u5316\u63aa\u65bd&#xff1a;<\/p>\n<li>\u8c03\u6574TCP\u7a97\u53e3\u5927\u5c0f&#xff1a;\u589e\u52a0\u81f364KB\u4ee5\u51cf\u5c11\u7f51\u7edc\u6ce2\u52a8\u5f71\u54cd<\/li>\n<li>\u542f\u7528UDP\u4f20\u8f93\u5907\u7528\u65b9\u6848&#xff1a;\u5728WiFi\u8d28\u91cf\u8f83\u5dee\u65f6\u81ea\u52a8\u5207\u6362<\/li>\n<li>\u5b9e\u73b0\u667a\u80fd\u91cd\u4f20\u673a\u5236&#xff1a;\u6839\u636e\u7f51\u7edc\u72b6\u51b5\u52a8\u6001\u8c03\u6574\u91cd\u4f20\u7b56\u7565<\/li>\n<p>\/\/ RTSP\u4f1a\u8bdd\u914d\u7f6e\u793a\u4f8b<br \/>\nrtsp_server_config_t rtsp_cfg &#061; {<br \/>\n    .transport_mode &#061; RTSP_TRANSPORT_TCP,<br \/>\n    .session_timeout &#061; 60,<br \/>\n    .max_clients &#061; 3,<br \/>\n    .video_codec &#061; RTSP_VIDEO_CODEC_H264,<br \/>\n    .audio_codec &#061; RTSP_AUDIO_CODEC_NONE<br \/>\n};<\/p>\n<p>\/\/ \u8bbe\u7f6e\u7f51\u7edc\u7f13\u51b2\u53c2\u6570<br \/>\nrtp_transport_config_t rtp_cfg &#061; {<br \/>\n    .buffer_size &#061; 128 * 1024,  \/\/ 128KB\u7f13\u51b2<br \/>\n    .packet_size &#061; 1400,        \/\/ \u9002\u914dMTU<br \/>\n    .retransmit_timeout &#061; 200   \/\/ \u91cd\u4f20\u8d85\u65f6200ms<br \/>\n};<\/p>\n<h3>5. \u7cfb\u7edf\u7ea7\u6027\u80fd\u8c03\u4f18\u4e0e\u5b9e\u6218\u6d4b\u8bd5<\/h3>\n<p>\u8981\u83b7\u5f97\u6700\u4f73\u6027\u80fd&#xff0c;\u9700\u8981\u4ece\u7cfb\u7edf\u5c42\u9762\u8fdb\u884c\u6574\u4f53\u4f18\u5316\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u7ecf\u8fc7\u9a8c\u8bc1\u7684\u6709\u6548\u65b9\u6cd5&#xff1a;<\/p>\n<p>\u5185\u5b58\u7ba1\u7406\u4f18\u5316&#xff1a;<\/p>\n<ul>\n<li>\u4f7f\u7528\u96f6\u62f7\u8d1d\u6280\u672f\u51cf\u5c11\u6570\u636e\u642c\u8fd0<\/li>\n<li>\u4e3a\u89c6\u9891\u6d41\u6c34\u7ebf\u5206\u914d\u4e13\u7528PSRAM\u533a\u57df<\/li>\n<li>\u5b9e\u73b0\u52a8\u6001\u5185\u5b58\u6c60\u7ba1\u7406&#xff0c;\u907f\u514d\u788e\u7247\u5316<\/li>\n<\/ul>\n<p>\u5b9e\u65f6\u6027\u4fdd\u969c\u63aa\u65bd&#xff1a;<\/p>\n<p>\/\/ \u8bbe\u7f6e\u4efb\u52a1\u4f18\u5148\u7ea7<br \/>\nxTaskCreatePinnedToCore(video_capture_task, &#034;cap&#034;, 4096, NULL, 5, NULL, 1);<br \/>\nxTaskCreatePinnedToCore(encoding_task, &#034;enc&#034;, 4096, NULL, 6, NULL, 1);<br \/>\nxTaskCreatePinnedToCore(network_task, &#034;net&#034;, 4096, NULL, 4, NULL, 0);<\/p>\n<p>\/\/ \u914d\u7f6e\u4e2d\u65ad\u4eb2\u548c\u6027<br \/>\nesp_intr_set_cpu(CSI_INTR_SOURCE, 1);  \/\/ \u5c06CSI\u4e2d\u65ad\u7ed1\u5b9a\u5230\u6838\u5fc31<\/p>\n<p>\u6027\u80fd\u6d4b\u8bd5\u65b9\u6cd5\u8bba&#xff1a;<\/p>\n<li>\u7aef\u5230\u7aef\u5ef6\u8fdf\u6d4b\u91cf&#xff1a;\u4f7f\u7528\u786c\u4ef6\u89e6\u53d1\u4fe1\u53f7\u548c\u65f6\u95f4\u6233\u8bb0\u5f55<\/li>\n<li>\u753b\u8d28\u5ba2\u89c2\u8bc4\u4f30&#xff1a;\u8ba1\u7b97PSNR\u548cSSIM\u6307\u6807<\/li>\n<li>\u7f51\u7edc\u9002\u5e94\u6027\u6d4b\u8bd5&#xff1a;\u5728\u4e0d\u540c\u4e22\u5305\u7387\u4e0b\u7684\u8868\u73b0\u8bc4\u4f30<\/li>\n<p>\u6d4b\u8bd5\u7ed3\u679c\u8868\u660e&#xff0c;\u7ecf\u8fc7\u4f18\u5316\u7684\u7cfb\u7edf\u5728720p&#064;30fps\u6761\u4ef6\u4e0b\u53ef\u4ee5\u5b9e\u73b0&#xff1a;<\/p>\n<ul>\n<li>\u7aef\u5230\u7aef\u5ef6\u8fdf&#xff1a;80-120ms&#xff08;\u4ee5\u592a\u7f51&#xff09;\u3001110-220ms&#xff08;SDIO WiFi&#xff09;<\/li>\n<li>CPU\u5360\u7528\u7387&#xff1a;&lt;30%&#xff08;\u5305\u542b\u6240\u6709\u5904\u7406\u4efb\u52a1&#xff09;<\/li>\n<li>\u5185\u5b58\u4f7f\u7528&#xff1a;&lt;2MB&#xff08;\u5305\u62ec\u534f\u8bae\u6808\u548c\u7f13\u51b2&#xff09;<\/li>\n<\/ul>\n<p>\u5728\u5b9e\u9645\u90e8\u7f72\u4e2d&#xff0c;\u6211\u53d1\u73b0\u6700\u5f71\u54cd\u7528\u6237\u4f53\u9a8c\u7684\u5f80\u5f80\u662f\u7f51\u7edc\u6ce2\u52a8\u5bfc\u81f4\u7684\u5361\u987f\u3002\u901a\u8fc7\u5b9e\u73b0\u81ea\u9002\u5e94\u7684\u7801\u7387\u63a7\u5236\u7b97\u6cd5&#xff0c;\u53ef\u4ee5\u6839\u636e\u7f51\u7edc\u72b6\u51b5\u52a8\u6001\u8c03\u6574\u7f16\u7801\u53c2\u6570&#xff0c;\u663e\u8457\u63d0\u5347\u89c2\u770b\u4f53\u9a8c\u3002\u4f8b\u5982&#xff0c;\u5f53\u68c0\u6d4b\u5230\u7f51\u7edc\u5e26\u5bbd\u4e0b\u964d\u65f6&#xff0c;\u81ea\u52a8\u964d\u4f4e\u5206\u8fa8\u7387\u548c\u5e27\u7387&#xff0c;\u4f18\u5148\u4fdd\u8bc1\u6d41\u7545\u6027\u3002<\/p>\n<p>\u53e6\u4e00\u4e2a\u5b9e\u7528\u6280\u5de7\u662f\u5408\u7406\u914d\u7f6eI\u5e27\u95f4\u9694\u3002\u5728\u76d1\u63a7\u573a\u666f\u4e2d&#xff0c;\u5efa\u8bae\u5c06GOP\u5927\u5c0f\u8bbe\u7f6e\u4e3a\u5e27\u7387\u76842-3\u500d&#xff0c;\u8fd9\u6837\u65e2\u4fdd\u8bc1\u4e86\u968f\u673a\u63a5\u5165\u7684\u53ca\u65f6\u6027&#xff0c;\u53c8\u907f\u514d\u4e86\u8fc7\u591a\u7684I\u5e27\u5360\u7528\u5e26\u5bbd\u3002\u5bf9\u4e8e\u9700\u8981\u66f4\u4f4e\u5ef6\u8fdf\u7684\u89c6\u9891\u5bf9\u8bb2\u573a\u666f&#xff0c;\u53ef\u4ee5\u4f7f\u7528\u66f4\u77ed\u7684GOP\u751a\u81f3\u5168I\u5e27\u7f16\u7801\u3002<\/p>\n<p>\u6700\u540e\u63d0\u9192\u4e00\u70b9&#xff0c;\u6563\u70ed\u7ba1\u7406\u5728\u957f\u65f6\u95f4\u8fd0\u884c\u4e2d\u81f3\u5173\u91cd\u8981\u3002ESP32-P4\u5728\u9ad8\u8d1f\u8f7d\u4e0b\u4f1a\u4ea7\u751f\u53ef\u89c2\u7684\u70ed\u91cf&#xff0c;\u5efa\u8bae\u6dfb\u52a0\u9002\u5f53\u7684\u6563\u70ed\u63aa\u65bd\u5e76\u5728\u8f6f\u4ef6\u4e2d\u5b9e\u73b0\u6e29\u5ea6\u76d1\u63a7&#xff0c;\u5f53\u82af\u7247\u6e29\u5ea6\u8d85\u8fc7\u9608\u503c\u65f6\u81ea\u52a8\u964d\u4f4e\u7f16\u7801\u590d\u6742\u5ea6\u4ee5\u786e\u4fdd\u7cfb\u7edf\u7a33\u5b9a\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ece\u96f6\u6784\u5efaESP32-P4 H.264\u89c6\u9891\u6d41\u670d\u52a1\u5668&#xff1a;\u786c\u4ef6\u52a0\u901f\u4e0e\u7f51\u7edc\u4f20\u8f93\u7684\u6df1\u5ea6\u8c03\u4f18<br \/>\n\u5728\u667a\u80fd\u89c6\u89c9\u8bbe\u5907\u5feb\u901f\u53d1\u5c55\u7684\u4eca\u5929&#xff0c;\u5d4c\u5165\u5f0f\u5f00\u53d1\u8005\u9762\u4e34\u7740\u4e00\u4e2a\u5173\u952e\u6311\u6218&#xff1a;\u5982\u4f55\u5728\u8d44\u6e90\u53d7\u9650\u7684\u73af\u5883\u4e2d\u5b9e\u73b0\u9ad8\u8d28\u91cf\u3001\u4f4e\u5ef6\u8fdf\u7684\u89c6\u9891\u6d41\u4f20\u8f93\u3002ESP32-P4\u4f5c\u4e3a\u4e50\u946b\u79d1\u6280\u63a8\u51fa\u7684\u9ad8\u6027\u80fdSoC&#xff0c;\u4ee5\u5176\u72ec\u7279\u7684\u786c\u4ef6\u52a0\u901f\u67b6\u6784\u548c\u4e30\u5bcc\u7684\u63a5\u53e3\u8d44\u6e90&#xff0c;\u4e3a\u8fd9\u4e00\u9886\u57df\u5e26\u6765\u4e86\u5168\u65b0\u7684\u89e3\u51b3\u65b9\u6848\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8\u5982\u4f55\u5145\u5206\u5229\u7528ESP32-P4\u7684H.264\u786c\u4ef6\u7f16\u7801\u5668\u548c\u56fe\u50cf\u4fe1\u53f7\u5904\u7406\u5668&amp;#xff08<\/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":[7947,1051,2896,2561],"topic":[],"class_list":["post-75047","post","type-post","status-publish","format-standard","hentry","category-server","tag-esp32-p4","tag-h-264","tag-2896","tag-2561"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4ece\u96f6\u6784\u5efaESP32-P4 H.264\u89c6\u9891\u6d41\u670d\u52a1\u5668\uff1a\u786c\u4ef6\u52a0\u901f\u4e0e\u7f51\u7edc\u4f20\u8f93\u7684\u6df1\u5ea6\u8c03\u4f18 - \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\/75047.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4ece\u96f6\u6784\u5efaESP32-P4 H.264\u89c6\u9891\u6d41\u670d\u52a1\u5668\uff1a\u786c\u4ef6\u52a0\u901f\u4e0e\u7f51\u7edc\u4f20\u8f93\u7684\u6df1\u5ea6\u8c03\u4f18 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4ece\u96f6\u6784\u5efaESP32-P4 H.264\u89c6\u9891\u6d41\u670d\u52a1\u5668&#xff1a;\u786c\u4ef6\u52a0\u901f\u4e0e\u7f51\u7edc\u4f20\u8f93\u7684\u6df1\u5ea6\u8c03\u4f18 \u5728\u667a\u80fd\u89c6\u89c9\u8bbe\u5907\u5feb\u901f\u53d1\u5c55\u7684\u4eca\u5929&#xff0c;\u5d4c\u5165\u5f0f\u5f00\u53d1\u8005\u9762\u4e34\u7740\u4e00\u4e2a\u5173\u952e\u6311\u6218&#xff1a;\u5982\u4f55\u5728\u8d44\u6e90\u53d7\u9650\u7684\u73af\u5883\u4e2d\u5b9e\u73b0\u9ad8\u8d28\u91cf\u3001\u4f4e\u5ef6\u8fdf\u7684\u89c6\u9891\u6d41\u4f20\u8f93\u3002ESP32-P4\u4f5c\u4e3a\u4e50\u946b\u79d1\u6280\u63a8\u51fa\u7684\u9ad8\u6027\u80fdSoC&#xff0c;\u4ee5\u5176\u72ec\u7279\u7684\u786c\u4ef6\u52a0\u901f\u67b6\u6784\u548c\u4e30\u5bcc\u7684\u63a5\u53e3\u8d44\u6e90&#xff0c;\u4e3a\u8fd9\u4e00\u9886\u57df\u5e26\u6765\u4e86\u5168\u65b0\u7684\u89e3\u51b3\u65b9\u6848\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8\u5982\u4f55\u5145\u5206\u5229\u7528ESP32-P4\u7684H.264\u786c\u4ef6\u7f16\u7801\u5668\u548c\u56fe\u50cf\u4fe1\u53f7\u5904\u7406\u5668&amp;#xff08\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/75047.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-11T01:06:22+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\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/75047.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/75047.html\",\"name\":\"\u4ece\u96f6\u6784\u5efaESP32-P4 H.264\u89c6\u9891\u6d41\u670d\u52a1\u5668\uff1a\u786c\u4ef6\u52a0\u901f\u4e0e\u7f51\u7edc\u4f20\u8f93\u7684\u6df1\u5ea6\u8c03\u4f18 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-11T01:06:22+00:00\",\"dateModified\":\"2026-02-11T01:06:22+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/75047.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/75047.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/75047.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4ece\u96f6\u6784\u5efaESP32-P4 H.264\u89c6\u9891\u6d41\u670d\u52a1\u5668\uff1a\u786c\u4ef6\u52a0\u901f\u4e0e\u7f51\u7edc\u4f20\u8f93\u7684\u6df1\u5ea6\u8c03\u4f18\"}]},{\"@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":"\u4ece\u96f6\u6784\u5efaESP32-P4 H.264\u89c6\u9891\u6d41\u670d\u52a1\u5668\uff1a\u786c\u4ef6\u52a0\u901f\u4e0e\u7f51\u7edc\u4f20\u8f93\u7684\u6df1\u5ea6\u8c03\u4f18 - \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\/75047.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4ece\u96f6\u6784\u5efaESP32-P4 H.264\u89c6\u9891\u6d41\u670d\u52a1\u5668\uff1a\u786c\u4ef6\u52a0\u901f\u4e0e\u7f51\u7edc\u4f20\u8f93\u7684\u6df1\u5ea6\u8c03\u4f18 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4ece\u96f6\u6784\u5efaESP32-P4 H.264\u89c6\u9891\u6d41\u670d\u52a1\u5668&#xff1a;\u786c\u4ef6\u52a0\u901f\u4e0e\u7f51\u7edc\u4f20\u8f93\u7684\u6df1\u5ea6\u8c03\u4f18 \u5728\u667a\u80fd\u89c6\u89c9\u8bbe\u5907\u5feb\u901f\u53d1\u5c55\u7684\u4eca\u5929&#xff0c;\u5d4c\u5165\u5f0f\u5f00\u53d1\u8005\u9762\u4e34\u7740\u4e00\u4e2a\u5173\u952e\u6311\u6218&#xff1a;\u5982\u4f55\u5728\u8d44\u6e90\u53d7\u9650\u7684\u73af\u5883\u4e2d\u5b9e\u73b0\u9ad8\u8d28\u91cf\u3001\u4f4e\u5ef6\u8fdf\u7684\u89c6\u9891\u6d41\u4f20\u8f93\u3002ESP32-P4\u4f5c\u4e3a\u4e50\u946b\u79d1\u6280\u63a8\u51fa\u7684\u9ad8\u6027\u80fdSoC&#xff0c;\u4ee5\u5176\u72ec\u7279\u7684\u786c\u4ef6\u52a0\u901f\u67b6\u6784\u548c\u4e30\u5bcc\u7684\u63a5\u53e3\u8d44\u6e90&#xff0c;\u4e3a\u8fd9\u4e00\u9886\u57df\u5e26\u6765\u4e86\u5168\u65b0\u7684\u89e3\u51b3\u65b9\u6848\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8\u5982\u4f55\u5145\u5206\u5229\u7528ESP32-P4\u7684H.264\u786c\u4ef6\u7f16\u7801\u5668\u548c\u56fe\u50cf\u4fe1\u53f7\u5904\u7406\u5668&amp;#xff08","og_url":"https:\/\/www.wsisp.com\/helps\/75047.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-11T01:06:22+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/75047.html","url":"https:\/\/www.wsisp.com\/helps\/75047.html","name":"\u4ece\u96f6\u6784\u5efaESP32-P4 H.264\u89c6\u9891\u6d41\u670d\u52a1\u5668\uff1a\u786c\u4ef6\u52a0\u901f\u4e0e\u7f51\u7edc\u4f20\u8f93\u7684\u6df1\u5ea6\u8c03\u4f18 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-11T01:06:22+00:00","dateModified":"2026-02-11T01:06:22+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/75047.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/75047.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/75047.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4ece\u96f6\u6784\u5efaESP32-P4 H.264\u89c6\u9891\u6d41\u670d\u52a1\u5668\uff1a\u786c\u4ef6\u52a0\u901f\u4e0e\u7f51\u7edc\u4f20\u8f93\u7684\u6df1\u5ea6\u8c03\u4f18"}]},{"@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\/75047","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=75047"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/75047\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=75047"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=75047"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=75047"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=75047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}