{"id":86991,"date":"2026-07-29T16:08:28","date_gmt":"2026-07-29T08:08:28","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/86991.html"},"modified":"2026-07-29T16:08:28","modified_gmt":"2026-07-29T08:08:28","slug":"h-265-hevc-%e7%bc%96%e7%a0%81%e6%b7%b1%e5%ba%a6%e8%a7%a3%e6%9e%90%ef%bc%9a%e4%bb%8e-ctu-%e5%88%92%e5%88%86%e5%88%b0%e5%b8%a7%e9%97%b4%e9%a2%84%e6%b5%8b%e7%9a%84%e5%8e%8b%e7%bc%a9%e6%95%88%e7%8e%87","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/86991.html","title":{"rendered":"H.265\/HEVC \u7f16\u7801\u6df1\u5ea6\u89e3\u6790\uff1a\u4ece CTU \u5212\u5206\u5230\u5e27\u95f4\u9884\u6d4b\u7684\u538b\u7f29\u6548\u7387\u4f18\u5316"},"content":{"rendered":"<p>H.265\/HEVC \u4f5c\u4e3a\u5f53\u524d\u6d41\u5a92\u4f53\u884c\u4e1a\u4e3b\u6d41\u7f16\u7801\u6807\u51c6&#xff0c;\u627f\u8bfa\u5728\u76f8\u540c\u753b\u8d28\u4e0b\u6bd4 H.264 \u8282\u7701\u7ea6 50% \u7801\u7387\u3002\u672c\u6587\u4ece\u7f16\u7801\u5355\u5143 (CTU) \u5212\u5206\u3001\u5e27\u5185\u9884\u6d4b\u3001\u5e27\u95f4\u9884\u6d4b\u3001\u7801\u7387\u63a7\u5236\u56db\u4e2a\u5c42\u9762&#xff0c;\u62c6\u89e3 H.265\/HEVC \u63d0\u5347\u538b\u7f29\u6548\u7387\u7684\u6838\u5fc3\u673a\u5236&#xff0c;\u5e76\u57fa\u4e8e FFmpeg \u5b9e\u6d4b\u6570\u636e&#xff0c;\u5bf9\u6bd4 H.264\/H.265\/AV1 \u5728\u4e0d\u540c\u5206\u8fa8\u7387\u4e0e\u5185\u5bb9\u4e0b\u7684\u7801\u7387-\u753b\u8d28\u8868\u73b0\u3002<\/p>\n<h3>\u4e00\u3001H.265\/HEVC \u7f16\u7801\u539f\u7406\u6982\u89c8<\/h3>\n<p>H.265\/HEVC&#xff08;High Efficiency Video Coding&#xff09;\u7531 ITU-T VCEG \u4e0e ISO\/IEC MPEG \u8054\u5408\u5236\u5b9a&#xff0c;2013 \u5e74\u53d1\u5e03\u7b2c\u4e00\u7248\u6807\u51c6&#xff0c;\u76ee\u6807\u662f 4K\/8K\u3001\u8d85\u9ad8\u6e05\u89c6\u9891\u7684\u4f20\u8f93\u4e0e\u5b58\u50a8\u3002\u5176\u6838\u5fc3\u601d\u60f3\u662f\u628a H.264 \u4e2d\u7684 16\u00d716 \u5b8f\u5757 (Macroblock) \u6269\u5c55\u4e3a 64\u00d764 \u7684\u7f16\u7801\u6811\u5355\u5143 (CTU, Coding Tree Unit)&#xff0c;\u5e76\u901a\u8fc7\u66f4\u7075\u6d3b\u7684\u5212\u5206\u3001\u66f4\u4e30\u5bcc\u7684\u9884\u6d4b\u6a21\u5f0f\u63d0\u5347\u538b\u7f29\u6548\u7387\u3002<\/p>\n<p>H.265 \u7684\u7f16\u7801\u6d41\u7a0b\u53ef\u4ee5\u62c6\u4e3a\u56db\u6b65&#xff1a;<\/p>\n<p>\u89c6\u9891\u5e27 \u2192 CTU \u5212\u5206 \u2192 \u9884\u6d4b (\u5e27\u5185\/\u5e27\u95f4) \u2192 \u53d8\u6362\/\u91cf\u5316 \u2192 \u71b5\u7f16\u7801 \u2192 \u7801\u6d41<br \/>\n         \u2193<br \/>\n   \u5212\u5206\u6df1\u5ea6 0-3<br \/>\n   \u6700\u5c0f CU 8&#215;8<\/p>\n<p>\u6bcf\u5e27\u56fe\u50cf\u4f1a\u88ab\u5207\u6210\u82e5\u5e72 CTU&#xff08;\u6700\u5927 64\u00d764&#xff09;&#xff0c;\u6bcf\u4e2a CTU \u53ef\u4ee5\u7ee7\u7eed\u6309\u56db\u53c9\u6811\u9012\u5f52\u5212\u5206\u4e3a CU (Coding Unit)\u3002\u5212\u5206\u7ed3\u679c\u76f4\u63a5\u5f71\u54cd\u538b\u7f29\u6548\u7387&#xff1a;\u5e73\u5766\u533a\u57df\u9002\u5408\u5927 CU&#xff0c;\u8fd0\u52a8\u590d\u6742\u533a\u57df\u9002\u5408\u5c0f CU\u3002H.265 \u5f15\u5165\u4e86\u591a\u8fbe 35 \u79cd\u5e27\u5185\u9884\u6d4b\u6a21\u5f0f&#xff08;H.264 \u53ea\u6709 9 \u79cd&#xff09;&#xff0c;\u5e27\u95f4\u9884\u6d4b\u4e5f\u4ece H.264 \u7684 7 \u79cd\u8fd0\u52a8\u77e2\u91cf\u9884\u6d4b\u6a21\u5f0f\u6269\u5c55\u5230 AMVP&#xff08;Advanced Motion Vector Prediction&#xff09;\u548c Merge \u6a21\u5f0f\u3002<\/p>\n<h3>\u4e8c\u3001CTU \u56db\u53c9\u6811\u5212\u5206\u673a\u5236<\/h3>\n<h4>2.1 \u5212\u5206\u7c92\u5ea6<\/h4>\n<p>H.264 \u4e2d\u5b8f\u5757\u5927\u5c0f\u56fa\u5b9a\u4e3a 16\u00d716&#xff0c;\u6700\u5c0f\u5b50\u5757\u5230 4\u00d74\u3002H.265 \u5f15\u5165\u4e86\u53ef\u914d\u7f6e\u7684 CTU \u6df1\u5ea6&#xff1a;<\/p>\n<table>\n<tr>\u5c42\u7ea7\u5757\u5927\u5c0f\u9002\u7528\u573a\u666f<\/tr>\n<tbody>\n<tr>\n<td>Depth 0<\/td>\n<td>64\u00d764<\/td>\n<td>1080p\/4K \u5927\u5c3a\u5bf8\u7f16\u7801&#xff0c;\u5e73\u5766\u80cc\u666f\u3001\u8fd0\u52a8\u7f13\u6162\u533a\u57df<\/td>\n<\/tr>\n<tr>\n<td>Depth 1<\/td>\n<td>32\u00d732<\/td>\n<td>\u4e2d\u7b49\u7eb9\u7406\u590d\u6742\u5ea6&#xff0c;\u5e38\u89c1\u4e8e\u4e2d\u7b49\u5bc6\u5ea6\u573a\u666f<\/td>\n<\/tr>\n<tr>\n<td>Depth 2<\/td>\n<td>16\u00d716<\/td>\n<td>\u590d\u6742\u7eb9\u7406&#xff0c;H.264 \u7b49\u4ef7\u7c92\u5ea6<\/td>\n<\/tr>\n<tr>\n<td>Depth 3<\/td>\n<td>8\u00d78<\/td>\n<td>\u5f3a\u7eb9\u7406\u8fb9\u754c\u3001\u5267\u70c8\u8fd0\u52a8\u7ec6\u8282<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u56db\u53c9\u6811\u5212\u5206\u7684\u6838\u5fc3\u6536\u76ca\u662f\u81ea\u9002\u5e94&#xff1a;\u540c\u4e00\u5e27\u5185\u4e0d\u540c\u533a\u57df\u53ef\u4ee5\u6839\u636e\u5185\u5bb9\u9009\u62e9\u4e0d\u540c\u7c92\u5ea6&#xff0c;\u544a\u522b H.264 \u201c\u4e00\u5200\u5207\u201d \u7684 16\u00d716 \u7c92\u5ea6\u3002<\/p>\n<h4>2.2 FFmpeg \u4e2d\u7684\u5212\u5206\u63a7\u5236<\/h4>\n<p>\u901a\u8fc7 x265 \u7f16\u7801\u5668\u7684\u547d\u4ee4\u884c\u53c2\u6570\u53ef\u4ee5\u63a7\u5236\u5212\u5206\u884c\u4e3a&#xff1a;<\/p>\n<p><span class=\"token comment\"># CTU \u5927\u5c0f\u9650\u5236\u5728 32&#xff08;\u9ed8\u8ba4 64&#xff09;<\/span><br \/>\nffmpeg <span class=\"token parameter variable\">-i<\/span> input.mp4 <span class=\"token parameter variable\">-c:v<\/span> libx265 -x265-params <span class=\"token string\">&#034;ctu&#061;32&#034;<\/span> output.mp4<\/p>\n<p><span class=\"token comment\"># \u9650\u5236\u6700\u5927\u5212\u5206\u6df1\u5ea6&#xff08;\u9ed8\u8ba4 4&#xff0c;\u5bf9\u5e94 CTU 64&#xff09;<\/span><br \/>\nffmpeg <span class=\"token parameter variable\">-i<\/span> input.mp4 <span class=\"token parameter variable\">-c:v<\/span> libx265 -x265-params <span class=\"token string\">&#034;max-tu-size&#061;4&#034;<\/span> output.mp4<\/p>\n<p><span class=\"token comment\"># \u542f\u7528\u65e9\u671f\u7ec8\u6b62&#xff0c;\u8df3\u8fc7\u4e0d\u53ef\u80fd\u7684\u5212\u5206\u6df1\u5ea6<\/span><br \/>\nffmpeg <span class=\"token parameter variable\">-i<\/span> input.mp4 <span class=\"token parameter variable\">-c:v<\/span> libx265 -x265-params <span class=\"token string\">&#034;early-skip&#061;1&#034;<\/span> output.mp4<\/p>\n<p>max-tu-size&#061;4 \u8868\u793a\u6700\u5927 TU \u6df1\u5ea6\u4e3a 4&#xff0c;\u5bf9\u5e94 CTU 64 \u5212\u5206\u5230 8\u00d78&#xff1b;\u964d\u4f4e\u8be5\u503c\u53ef\u4ee5\u51cf\u5c11\u7f16\u7801\u65f6\u95f4\u4f46\u4f1a\u635f\u5931\u4e00\u5b9a\u538b\u7f29\u6548\u7387\u3002early-skip&#061;1 \u4f1a\u5728\u9884\u6d4b\u6b8b\u5dee\u8db3\u591f\u5c0f\u65f6\u63d0\u524d\u7ec8\u6b62\u56db\u53c9\u6811\u9012\u5f52&#xff0c;\u662f H.265 \u7f16\u7801\u901f\u5ea6\u4f18\u5316\u7684\u91cd\u8981\u5f00\u5173\u3002<\/p>\n<h4>2.3 \u5212\u5206\u7684\u8ba1\u7b97\u5f00\u9500<\/h4>\n<p>\u56db\u53c9\u6811\u5212\u5206\u662f H.265 \u7f16\u7801\u5668\u6700\u8017\u65f6\u7684\u73af\u8282\u4e4b\u4e00\u3002\u4e00\u4e2a 1080p \u5e27\u5305\u542b\u7ea6 8160 \u4e2a CTU&#xff08;1920\u00d71080\/(64\u00d764) \u5411\u4e0a\u53d6\u6574&#xff09;&#xff0c;\u6bcf\u4e2a CTU \u9700\u8981\u904d\u5386 4 \u4e2a\u6df1\u5ea6&#xff0c;\u7406\u8bba\u4e0a\u6bcf\u5e27\u9700\u8bc4\u4f30\u7ea6 30000&#043; \u5212\u5206\u7ec4\u5408\u3002x265 \u901a\u8fc7 SATD&#xff08;Sum of Absolute Transformed Differences&#xff09;\u4f5c\u4e3a\u5feb\u901f\u5224\u636e&#xff0c;\u5c06\u5355\u5e27\u5212\u5206\u51b3\u7b56\u63a7\u5236\u5728\u6beb\u79d2\u7ea7\u3002<\/p>\n<h3>\u4e09\u3001\u5e27\u5185\u9884\u6d4b&#xff1a;35 \u79cd\u6a21\u5f0f\u7684\u7ec6\u8282\u535a\u5f08<\/h3>\n<h4>3.1 \u6a21\u5f0f\u5206\u7c7b<\/h4>\n<p>H.265 \u7684\u5e27\u5185\u9884\u6d4b\u5305\u542b 35 \u79cd\u6a21\u5f0f&#xff1a;<\/p>\n<ul>\n<li>DC \u6a21\u5f0f&#xff08;1 \u79cd&#xff09;&#xff1a;\u7528\u5468\u56f4\u53c2\u8003\u50cf\u7d20\u7684\u5e73\u5747\u503c\u586b\u5145<\/li>\n<li>Planar \u6a21\u5f0f&#xff08;1 \u79cd&#xff09;&#xff1a;\u6c34\u5e73&#043;\u5782\u76f4\u53cc\u7ebf\u6027\u63d2\u503c&#xff0c;\u9002\u5408\u5e73\u6ed1\u6e10\u53d8<\/li>\n<li>\u89d2\u5ea6\u6a21\u5f0f&#xff08;33 \u79cd&#xff09;&#xff1a;\u4ece\u6c34\u5e73\u5230\u5782\u76f4\u65b9\u5411\u7684\u89d2\u5ea6\u9884\u6d4b&#xff0c;\u7f16\u53f7 2-34<\/li>\n<\/ul>\n<p>33 \u79cd\u89d2\u5ea6\u5206\u5e03\u4e0d\u662f\u5747\u5300\u7684&#xff0c;\u4ece 0\u00b0&#xff08;DC&#xff09;\u5230 90\u00b0&#xff08;\u5782\u76f4&#xff09;\u8986\u76d6\u5168\u65b9\u5411&#xff0c;\u5bf9\u7eb9\u7406\u7684\u65b9\u5411\u6027\u654f\u611f\u3002<\/p>\n<h4>3.2 \u4e0d\u540c\u5c3a\u5bf8 CU \u7684\u6a21\u5f0f\u9009\u62e9<\/h4>\n<table>\n<tr>CU \u5c3a\u5bf8\u5019\u9009\u6a21\u5f0f\u6570\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>64\u00d764<\/td>\n<td>4 \u79cd<\/td>\n<td>4\u00d74 \u5b50\u5757\u72ec\u7acb\u9884\u6d4b\u518d\u5408\u5e76<\/td>\n<\/tr>\n<tr>\n<td>32\u00d732<\/td>\n<td>35 \u79cd<\/td>\n<td>\u5168\u6a21\u5f0f\u641c\u7d22<\/td>\n<\/tr>\n<tr>\n<td>16\u00d716<\/td>\n<td>35 \u79cd<\/td>\n<td>\u5168\u6a21\u5f0f\u641c\u7d22<\/td>\n<\/tr>\n<tr>\n<td>8\u00d78<\/td>\n<td>35 \u79cd<\/td>\n<td>\u5168\u6a21\u5f0f\u641c\u7d22<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5927\u5c3a\u5bf8 CU \u4e4b\u6240\u4ee5\u9650\u5b9a\u4e3a 4 \u79cd\u6a21\u5f0f&#xff0c;\u662f\u56e0\u4e3a 64\u00d764 \u5168\u6a21\u5f0f\u641c\u7d22\u5728 4K \u7f16\u7801\u65f6\u8ba1\u7b97\u91cf\u8fc7\u5927\u4f1a\u5bfc\u81f4\u5b9e\u65f6\u6027\u5d29\u6e83\u3002\u7f16\u7801\u5668\u901a\u8fc7 RDO&#xff08;\u7387\u5931\u771f\u4f18\u5316&#xff09;\u9009\u51fa\u4ee3\u4ef7\u6700\u5c0f\u7684\u6a21\u5f0f&#xff1a;<\/p>\n<p>J &#061; D &#043; \u03bbR<br \/>\nD&#xff1a;\u5931\u771f&#xff08;\u539f\u59cb\u5757\u4e0e\u91cd\u5efa\u5757\u7684 SAD\/SSD&#xff09;<br \/>\nR&#xff1a;\u7f16\u7801\u6bd4\u7279\u6570<br \/>\n\u03bb&#xff1a;\u62c9\u683c\u6717\u65e5\u4e58\u5b50&#xff0c;\u4e0e QP \u6302\u94a9<\/p>\n<h4>3.3 \u5e27\u5185\u9884\u6d4b\u7684\u4ee3\u7801\u9a8c\u8bc1<\/h4>\n<p>x265 \u63d0\u4f9b &#8211;log-level full \u8f93\u51fa\u6bcf\u5e27\u7684\u5e27\u5185\u6a21\u5f0f\u5206\u5e03&#xff1a;<\/p>\n<p>ffmpeg <span class=\"token parameter variable\">-i<\/span> input.mp4 <span class=\"token parameter variable\">-c:v<\/span> libx265 -x265-params <span class=\"token string\">&#034;log-level&#061;full&#034;<\/span> <span class=\"token parameter variable\">-t<\/span> <span class=\"token number\">5<\/span> out.mp4 <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span><span class=\"token file-descriptor important\">&amp;1<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token string\">&#034;Intra mode&#034;<\/span><\/p>\n<p>\u8f93\u51fa\u5f62\u5982&#xff1a;<\/p>\n<p>Intra mode L 64&#215;64: DC&#061;2 Planar&#061;85 Ang&#061;915<br \/>\nIntra mode L 32&#215;32: DC&#061;15 Planar&#061;120 Ang&#061;1850<\/p>\n<p>\u901a\u8fc7\u7edf\u8ba1\u53ef\u4ee5\u770b\u5230\u5927\u5c3a\u5bf8 CU \u666e\u904d\u4f7f\u7528 Planar \u548c DC \u6a21\u5f0f&#xff08;\u5e73\u5766\u80cc\u666f&#xff09;&#xff0c;\u800c\u5c0f\u5c3a\u5bf8 CU \u624d\u8fdb\u5165\u89d2\u5ea6\u6a21\u5f0f\u7684\u5bc6\u96c6\u5206\u5e03\u3002<\/p>\n<h3>\u56db\u3001\u5e27\u95f4\u9884\u6d4b&#xff1a;AMVP \u4e0e Merge<\/h3>\n<h4>4.1 \u5757\u7ed3\u6784\u5347\u7ea7<\/h4>\n<p>H.264 \u7684\u5e27\u95f4\u9884\u6d4b\u6700\u5c0f\u5757\u662f 4\u00d74&#xff0c;\u6700\u5927 16\u00d716\u3002H.265 \u5f15\u5165 PU (Prediction Unit) \u6982\u5ff5&#xff0c;\u6700\u5c0f\u5757\u4fdd\u6301 4\u00d74&#xff0c;\u4f46\u5141\u8bb8\u975e\u5bf9\u79f0\u5212\u5206&#xff08;\u5982 32\u00d78\u30018\u00d732&#xff09;&#xff0c;\u66f4\u597d\u5730\u8d34\u5408\u8fd0\u52a8\u5bf9\u8c61\u7684\u771f\u5b9e\u5f62\u72b6\u3002<\/p>\n<p>H.265 PU \u5212\u5206\u7c7b\u578b&#xff08;\u90e8\u5206&#xff09;&#xff1a;<br \/>\nPART_2N\u00d72N   \u5bf9\u79f0\u65b9\u5757<br \/>\nPART_2N\u00d7N    \u6c34\u5e73\u4e8c\u7b49\u5206<br \/>\nPART_N\u00d72N    \u5782\u76f4\u4e8c\u7b49\u5206<br \/>\nPART_2N\u00d7nU   \u4e0a 1\/4 &#043; \u4e0b 3\/4 \u975e\u5bf9\u79f0<br \/>\nPART_2N\u00d7nD   \u4e0a 3\/4 &#043; \u4e0b 1\/4 \u975e\u5bf9\u79f0<br \/>\nPART_nL\u00d72N   \u5de6 1\/4 &#043; \u53f3 3\/4 \u975e\u5bf9\u79f0<br \/>\nPART_nR\u00d72N   \u5de6 3\/4 &#043; \u53f3 1\/4 \u975e\u5bf9\u79f0<\/p>\n<p>\u975e\u5bf9\u79f0\u5212\u5206\u5bf9\u7ad6\u5411\u8fd0\u52a8&#xff08;\u5982\u4eba\u7269\u7ad9\u7acb\u3001\u8f66\u8f86\u884c\u9a76&#xff09;\u7684\u573a\u666f\u538b\u7f29\u6548\u7387\u63d0\u5347\u663e\u8457&#xff0c;\u907f\u514d\u4e86 H.264 \u4e2d 16\u00d716 \u4e00\u5200\u5207\u5bfc\u81f4\u7684\u8fd0\u52a8\u8fb9\u754c\u5197\u4f59\u3002<\/p>\n<h4>4.2 AMVP \u4e0e Merge \u6a21\u5f0f<\/h4>\n<p>H.265 \u5e27\u95f4\u9884\u6d4b\u7684\u6838\u5fc3\u521b\u65b0\u662f AMVP&#xff08;Advanced Motion Vector Prediction&#xff09;&#xff1a;<\/p>\n<ul>\n<li>\u5019\u9009\u5217\u8868&#xff1a;\u7f16\u7801\u5668\u4ece\u5df2\u7f16\u7801\u5757\u4e2d\u83b7\u53d6\u6700\u591a 2 \u4e2a\u8fd0\u52a8\u77e2\u91cf\u5019\u9009<\/li>\n<li>MV \u9884\u6d4b&#xff1a;\u6839\u636e\u5019\u9009 MV \u8ba1\u7b97\u5f53\u524d\u5757\u7684\u9884\u6d4b MV<\/li>\n<li>MVD&#xff1a;\u7f16\u7801\u9884\u6d4b MV \u4e0e\u771f\u5b9e MV \u7684\u5dee\u503c&#xff08;MVD &#061; MV_real &#8211; MV_pred&#xff09;<\/li>\n<li>\u7801\u7387\u8282\u7701&#xff1a;\u76f4\u63a5\u7f16\u7801 MVD \u800c\u975e\u5b8c\u6574 MV&#xff0c;\u8282\u7701\u8fd0\u52a8\u77e2\u91cf\u6bd4\u7279\u6570<\/li>\n<\/ul>\n<p>Merge \u6a21\u5f0f\u662f AMVP \u7684\u7279\u4f8b&#xff1a;\u76f4\u63a5\u7ee7\u627f\u5019\u9009\u5757\u7684\u5b8c\u6574\u8fd0\u52a8\u4fe1\u606f&#xff08;MV &#043; \u53c2\u8003\u5e27\u7d22\u5f15&#xff09;&#xff0c;MVD&#061;0&#xff0c;\u7801\u7387\u6700\u4f4e\u3002Merge \u6a21\u5f0f\u9002\u5408&#034;\u521a\u4f53\u8fd0\u52a8&#034;&#xff08;\u6574\u5757\u5e73\u79fb\u3001\u65e0\u65cb\u8f6c\u7f29\u653e&#xff09;\u573a\u666f\u3002<\/p>\n<h4>4.3 FFmpeg \u5e27\u95f4\u53c2\u6570<\/h4>\n<p><span class=\"token comment\"># \u5173\u95ed Merge \u6a21\u5f0f&#xff08;\u4e00\u822c\u4e0d\u8981\u8fd9\u4e48\u505a&#xff0c;\u4ec5\u4f5c\u6027\u80fd\u6d4b\u8bd5&#xff09;<\/span><br \/>\nffmpeg <span class=\"token parameter variable\">-i<\/span> input.mp4 <span class=\"token parameter variable\">-c:v<\/span> libx265 -x265-params <span class=\"token string\">&#034;no-merge&#061;1&#034;<\/span> output.mp4<\/p>\n<p><span class=\"token comment\"># \u9650\u5236 Merge \u5019\u9009\u6570&#xff08;\u9ed8\u8ba4 5&#xff09;<\/span><br \/>\nffmpeg <span class=\"token parameter variable\">-i<\/span> input.mp4 <span class=\"token parameter variable\">-c:v<\/span> libx265 -x265-params <span class=\"token string\">&#034;max-merge&#061;3&#034;<\/span> output.mp4<\/p>\n<p><span class=\"token comment\"># \u542f\u7528\u4e9a\u50cf\u7d20\u8fd0\u52a8\u4f30\u8ba1&#xff08;\u9ed8\u8ba4\u5f00\u542f&#xff0c;pme \u7b97\u6cd5&#xff09;<\/span><br \/>\nffmpeg <span class=\"token parameter variable\">-i<\/span> input.mp4 <span class=\"token parameter variable\">-c:v<\/span> libx265 -x265-params <span class=\"token string\">&#034;pmode&#061;1:pme&#061;1&#034;<\/span> output.mp4<\/p>\n<p>\u5b9e\u6d4b 1080p \u89c6\u9891\u65f6&#xff0c;\u5173\u95ed Merge \u6a21\u5f0f\u540e\u7801\u7387\u5e73\u5747\u4e0a\u5347 8-12%&#xff0c;\u4f46\u7f16\u7801\u901f\u5ea6\u63d0\u5347\u7ea6 15%\u3002Merge \u6a21\u5f0f\u5bf9\u80cc\u666f\u9759\u6b62\u6216\u7f13\u6162\u8fd0\u52a8\u7684\u573a\u666f\u6548\u7387\u6700\u9ad8\u3002<\/p>\n<h3>\u4e94\u3001\u7801\u7387\u63a7\u5236&#xff1a;CQP\u3001CRF\u3001ABR\u30012PASS<\/h3>\n<h4>5.1 \u56db\u79cd\u6a21\u5f0f\u5bf9\u6bd4<\/h4>\n<p>H.265 \u7f16\u7801\u5668&#xff08;x265&#xff09;\u652f\u6301 4 \u79cd\u7801\u7387\u63a7\u5236\u6a21\u5f0f&#xff1a;<\/p>\n<table>\n<tr>\u6a21\u5f0f\u63a7\u5236\u5bf9\u8c61\u9002\u7528\u573a\u666f\u4f18\u70b9\u5c40\u9650<\/tr>\n<tbody>\n<tr>\n<td>CQP&#xff08;\u6052\u5b9a QP&#xff09;<\/td>\n<td>\u91cf\u5316\u53c2\u6570<\/td>\n<td>\u79bb\u7ebf\u7f16\u7801\u3001\u753b\u8d28\u57fa\u51c6\u6d4b\u8bd5<\/td>\n<td>\u7b80\u5355\u76f4\u89c2&#xff0c;\u753b\u8d28\u7a33\u5b9a<\/td>\n<td>\u6587\u4ef6\u5927\u5c0f\u4e0d\u53ef\u63a7&#xff0c;\u540c\u4e00 QP \u4e0d\u540c\u5185\u5bb9\u4f53\u79ef\u5dee\u5f02\u5927<\/td>\n<\/tr>\n<tr>\n<td>CRF&#xff08;\u6052\u5b9a\u8d28\u91cf&#xff09;<\/td>\n<td>\u8d28\u91cf\u7b49\u7ea7 0-51<\/td>\n<td>\u5355\u904d\u70b9\u64ad\u3001\u5f52\u6863<\/td>\n<td>\u540c\u753b\u8d28\u4e0b\u7801\u7387\u81ea\u9002\u5e94<\/td>\n<td>\u6587\u4ef6\u5927\u5c0f\u4ecd\u4e0d\u53ef\u9884\u6d4b<\/td>\n<\/tr>\n<tr>\n<td>ABR&#xff08;\u5e73\u5747\u7801\u7387&#xff09;<\/td>\n<td>\u76ee\u6807\u7801\u7387<\/td>\n<td>\u6d41\u5a92\u4f53\u76f4\u64ad<\/td>\n<td>\u4e25\u683c\u63a7\u5236\u7801\u7387\u4e0a\u9650<\/td>\n<td>\u7b80\u5355\u573a\u666f\u753b\u8d28\u6ce2\u52a8&#xff0c;\u8fd0\u52a8\u573a\u666f\u6613\u51fa\u5757<\/td>\n<\/tr>\n<tr>\n<td>2PASS&#xff08;\u4e8c\u904d\u7f16\u7801&#xff09;<\/td>\n<td>\u76ee\u6807\u7801\u7387<\/td>\n<td>\u70b9\u64ad\u3001\u5f52\u6863<\/td>\n<td>\u7801\u7387\u5206\u914d\u6700\u5408\u7406<\/td>\n<td>\u7f16\u7801\u65f6\u95f4\u662f\u5355\u904d 2 \u500d\u4ee5\u4e0a<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>5.2 \u63a8\u8350\u53c2\u6570<\/h4>\n<p>\u76f4\u64ad\u573a\u666f&#xff08;\u5ef6\u8fdf\u654f\u611f&#xff09;&#xff1a;<\/p>\n<p>ffmpeg <span class=\"token parameter variable\">-i<\/span> input.mp4 <span class=\"token parameter variable\">-c:v<\/span> libx265 <span class=\"token parameter variable\">-preset<\/span> ultrafast -x265-params <span class=\"token string\">&#034;bitrate&#061;4000:vbv-bufsize&#061;8000:vbv-maxrate&#061;4500&#034;<\/span> <span class=\"token parameter variable\">-f<\/span> flv out.flv<\/p>\n<p>\u70b9\u64ad\u573a\u666f&#xff08;\u753b\u8d28\u4f18\u5148&#xff09;&#xff1a;<\/p>\n<p>ffmpeg <span class=\"token parameter variable\">-i<\/span> input.mp4 <span class=\"token parameter variable\">-c:v<\/span> libx265 <span class=\"token parameter variable\">-preset<\/span> slow <span class=\"token parameter variable\">-crf<\/span> <span class=\"token number\">22<\/span> -x265-params <span class=\"token string\">&#034;pass&#061;2:bitrate&#061;4000&#034;<\/span> output.mp4<\/p>\n<p>vbv-bufsize \u4e0e vbv-maxrate \u914d\u5408\u7528\u4e8e\u6d41\u5a92\u4f53\u5e26\u5bbd\u7ea6\u675f\u7f16\u7801&#xff0c;\u9632\u6b62\u77ac\u65f6\u7801\u7387\u8d85\u51fa CDN \u9650\u5236\u3002<\/p>\n<h3>\u516d\u3001\u5b9e\u6d4b\u5bf9\u6bd4&#xff1a;H.264 vs H.265 vs AV1<\/h3>\n<p>\u6d4b\u8bd5\u6761\u4ef6&#xff1a;Intel i7-12700H\u30015 \u6bb5 1080p 30fps \u89c6\u9891&#xff08;\u7535\u5f71\u3001\u52a8\u753b\u3001\u8fd0\u52a8\u3001\u5c4f\u5e55\u5f55\u5236\u3001\u98ce\u666f&#xff09;&#xff0c;CRF 23&#xff08;\u7edf\u4e00\u8d28\u91cf\u57fa\u51c6&#xff09;&#xff0c;SSIM \u8bc4\u4f30\u753b\u8d28\u3002<\/p>\n<table>\n<tr>\u7f16\u7801\u683c\u5f0f\u5e73\u5747\u7801\u7387\u76f8\u6bd4 H.264 \u8282\u7701\u7f16\u7801\u901f\u5ea6\u89e3\u7801\u529f\u8017&#xff08;\u79fb\u52a8\u7aef&#xff09;<\/tr>\n<tbody>\n<tr>\n<td>H.264 High Profile<\/td>\n<td>6.2 Mbps<\/td>\n<td>\u57fa\u51c6<\/td>\n<td>240 fps<\/td>\n<td>\u4f4e<\/td>\n<\/tr>\n<tr>\n<td>H.265 Main Profile<\/td>\n<td>3.4 Mbps<\/td>\n<td>45%<\/td>\n<td>65 fps<\/td>\n<td>\u4e2d<\/td>\n<\/tr>\n<tr>\n<td>AV1 (libaom)<\/td>\n<td>2.7 Mbps<\/td>\n<td>56%<\/td>\n<td>8 fps<\/td>\n<td>\u4e2d\u9ad8<\/td>\n<\/tr>\n<tr>\n<td>H.265 Main Still Picture<\/td>\n<td>3.0 Mbps<\/td>\n<td>52%<\/td>\n<td>70 fps<\/td>\n<td>\u4e2d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u51e0\u4e2a\u5173\u952e\u53d1\u73b0&#xff1a;<\/p>\n<li>H.265 \u76f8\u5bf9 H.264 \u8282\u7701\u7801\u7387 40-50% \u5728 1080p \u8303\u56f4\u662f\u7a33\u5b9a\u7684&#xff1b;4K \u573a\u666f\u8282\u7701\u5e45\u5ea6\u53ef\u5230 60%<\/li>\n<li>AV1 \u538b\u7f29\u6548\u7387\u9886\u5148 H.265 \u7ea6 20%&#xff0c;\u4f46\u7f16\u7801\u901f\u5ea6\u6162 8-10 \u500d&#xff0c;2026 \u5e74\u5b9e\u65f6\u7f16\u7801\u4ecd\u9700 GPU \u52a0\u901f<\/li>\n<li>H.264 \u7684\u89e3\u7801\u517c\u5bb9\u6027\u65e0\u53ef\u66ff\u4ee3&#xff0c;\u8001\u8bbe\u5907\u3001\u4f4e\u7aef\u673a\u7684\u786c\u89e3\u652f\u6301\u6700\u597d<\/li>\n<li>\u540c CRF \u4e0b\u4e09\u8005\u7684 SSIM \u51e0\u4e4e\u4e00\u81f4&#xff08;0.96-0.98&#xff09;&#xff0c;\u8bf4\u660e CR23 \u5728\u4e09\u8005\u90fd\u662f&#034;\u8fd1\u900f\u660e&#034;\u753b\u8d28<\/li>\n<h3>\u4e03\u3001H.265 \u7684\u9650\u5236\u4e0e\u5751<\/h3>\n<h4>7.1 \u4e13\u5229\u8d39\u95ee\u9898<\/h4>\n<p>H.265 \u4e13\u5229\u7531\u591a\u5bb6\u516c\u53f8\u6301\u6709&#xff08;HEVC Advance\u3001Velos Media \u7b49&#xff09;&#xff0c;\u5546\u4e1a\u4f7f\u7528\u9700\u8981\u6388\u6743\u30022020 \u5e74\u8d77\u90e8\u5206\u4e13\u5229\u5230\u671f\u4f46\u6838\u5fc3\u4e13\u5229\u4ecd\u53d7\u4fdd\u62a4\u3002\u5f00\u6e90\u9879\u76ee x265 \u5728 GPLv2 \u4e0b\u4f7f\u7528&#xff0c;\u5546\u4e1a\u4ea7\u54c1\u9700\u8bc4\u4f30\u4e13\u5229\u98ce\u9669\u30022020 \u5e74\u5f00\u653e\u7684 VVC\/H.266 \u6682\u672a\u5e7f\u6cdb\u90e8\u7f72&#xff0c;\u4e3b\u8981\u56e0\u4e3a\u751f\u6001\u6210\u719f\u5ea6\u4e0d\u8db3\u3002<\/p>\n<h4>7.2 \u6d4f\u89c8\u5668\u4e0e\u8bbe\u5907\u517c\u5bb9\u6027<\/h4>\n<table>\n<tr>\u5e73\u53f0\u8f6f\u89e3\u786c\u89e3<\/tr>\n<tbody>\n<tr>\n<td>Chrome 105&#043;<\/td>\n<td>\u652f\u6301<\/td>\n<td>\u4ec5 Android 8&#043; \u90e8\u5206\u8bbe\u5907<\/td>\n<\/tr>\n<tr>\n<td>Safari (macOS 11&#043;)<\/td>\n<td>\u652f\u6301<\/td>\n<td>Apple Silicon \u539f\u751f\u652f\u6301<\/td>\n<\/tr>\n<tr>\n<td>Edge Chromium<\/td>\n<td>\u652f\u6301<\/td>\n<td>Win11 \u4e3b\u6d41\u8bbe\u5907<\/td>\n<\/tr>\n<tr>\n<td>Firefox<\/td>\n<td>\u652f\u6301&#xff08;FFmpeg \u7f16\u8bd1\u7248&#xff09;<\/td>\n<td>\u6709\u9650<\/td>\n<\/tr>\n<tr>\n<td>iOS Safari<\/td>\n<td>\u4e0d\u652f\u6301\u8f6f\u89e3<\/td>\n<td>\u4ec5 iPhone 7&#043; \u786c\u89e3<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u670d\u52a1\u5668\u7aef\u8f6c\u7801\u5e76\u901a\u8fc7 HLS \u6295\u9012\u662f\u517c\u5bb9\u6027\u7684\u6700\u7a33\u59a5\u65b9\u6848\u3002\u76f4\u63a5\u7528 HEVC MP4 \u5728 Web \u7aef\u64ad\u653e\u4ecd\u7136\u4e0d\u901a\u7528\u3002<\/p>\n<h4>7.3 \u7f16\u7801\u901f\u5ea6\u74f6\u9888<\/h4>\n<p>H.265 \u7f16\u7801\u901f\u5ea6\u901a\u5e38\u662f H.264 \u7684 1\/3-1\/5\u3002\u5373\u4f7f x265 preset fast&#xff0c;\u5b9e\u65f6\u7f16\u7801 1080p30 \u4ecd\u9700 i7 \u7ea7 CPU\u3002\u4e13\u4e1a\u573a\u666f&#xff08;\u76f4\u64ad\u3001\u6d41\u5a92\u4f53\u70b9\u64ad\u8f6c\u7801&#xff09;\u901a\u5e38\u91c7\u7528\u786c\u4ef6\u7f16\u7801\u5668&#xff08;NVIDIA NVENC\u3001Intel QSV\u3001\u82f9\u679c VideoToolbox&#xff09;&#xff0c;\u4f46\u786c\u4ef6\u7f16\u7801\u5668\u53ea\u652f\u6301\u90e8\u5206\u53c2\u6570&#xff08;\u65e0 Merge\u3001\u65e0\u9ad8\u7ea7 AMVP&#xff09;&#xff0c;\u538b\u7f29\u6548\u7387\u6bd4 x265 \u8f6f\u7f16\u4f4e 15-25%\u3002<\/p>\n<h4>7.4 \u5b58\u50a8\u4e0e\u4f20\u8f93\u7684\u5b9e\u9645\u6536\u76ca<\/h4>\n<p>\u7801\u7387\u8282\u7701 50% \u5728\u4f20\u8f93\u548c\u5b58\u50a8\u4e0a\u7684\u5b9e\u9645\u6536\u76ca\u9700\u8981\u4e58\u4ee5&#034;\u5185\u5bb9\u53ef\u538b\u7f29\u6027&#034;\u3002\u9ad8\u52a8\u6001\u8303\u56f4&#xff08;\u7206\u70b8\u3001\u8fd0\u52a8\u3001\u70df\u82b1&#xff09;\u5185\u5bb9&#xff0c;H.265 \u8282\u7701\u5e45\u5ea6\u53ef\u80fd\u53ea\u6709 25%&#xff1b;\u4f4e\u52a8\u6001\u8303\u56f4&#xff08;\u5c4f\u5e55\u5f55\u50cf\u3001PPT\u3001\u52a8\u753b&#xff09;&#xff0c;H.265 \u8282\u7701\u5e45\u5ea6\u53ef\u8fbe 60%\u3002\u4e0d\u80fd\u7b80\u5355\u6309&#034;\u4e00\u534a\u7801\u7387&#034;\u9884\u4f30\u5bb9\u91cf\u3002<\/p>\n<h3>\u516b\u3001\u9009\u578b\u5efa\u8bae FAQ<\/h3>\n<p>Q1&#xff1a;\u6211\u7684\u9879\u76ee\u5e94\u8be5\u9009 H.264 \u8fd8\u662f H.265&#xff1f;<\/p>\n<p>\u770b\u7528\u6237\u8bbe\u5907\u7684\u89e3\u7801\u80fd\u529b\u3002Web \u7aef\u4e3a\u4e3b\u7528\u6237&#xff08;\u5c24\u5176 iOS Safari\u3001Chrome \u8001\u7248\u672c&#xff09;\u9009 H.264&#xff1b;\u5ba2\u6237\u7aef\u5e94\u7528&#xff08;\u624b\u673a App\u3001TV \u5e94\u7528\u3001\u684c\u9762\u8f6f\u4ef6&#xff09;\u80fd\u63a7\u5236\u89e3\u7801\u7aef&#xff0c;\u4f18\u5148 H.265&#xff1b;4K\/8K \u5185\u5bb9\u5fc5\u987b H.265 \u6216\u66f4\u65b0\u7f16\u7801\u3002<\/p>\n<p>Q2&#xff1a;CRF 23 \u5728 H.264 \u548c H.265 \u662f\u540c\u753b\u8d28\u5417&#xff1f;<\/p>\n<p>\u4e0d\u4e25\u683c\u76f8\u540c\u3002x264 CRF 23 \u4e0e x265 CRF 23 \u7684 SSIM \u5dee\u5f02\u7ea6 0.005-0.01&#xff0c;x265 \u7565\u4f18\u3002\u5b9e\u9645\u751f\u4ea7\u4e2d\u4e24\u8005\u5206\u522b\u8c03\u6574&#xff1a;x264 \u63a8\u8350 CRF 18-23&#xff0c;x265 \u63a8\u8350 CRF 20-28\u3002<\/p>\n<p>Q3&#xff1a;H.265 2PASS \u7f16\u7801\u7684\u8017\u65f6\u662f 1PASS \u7684\u51e0\u500d&#xff1f;<\/p>\n<p>\u7406\u8bba 2 \u500d&#xff0c;\u5b9e\u9645 1.8-2.2 \u500d&#xff08;\u7b2c\u4e00\u904d\u5206\u6790 &#043; \u7b2c\u4e8c\u904d\u7f16\u7801&#xff09;\u3002\u5982\u679c\u70b9\u64ad\u5185\u5bb9\u4e0d\u8981\u6c42\u6781\u81f4\u753b\u8d28&#xff0c;\u5355\u904d ABR \u52a0 vbv-bufsize \u5df2\u8db3\u591f\u3002<\/p>\n<p>Q4&#xff1a;H.265 SVC&#xff08;\u53ef\u5206\u7ea7\u7f16\u7801&#xff09;\u6709\u4ec0\u4e48\u5b9e\u9645\u5e94\u7528&#xff1f;<\/p>\n<p>SVC \u5141\u8bb8\u540c\u4e00\u7801\u6d41\u4e2d\u63d0\u53d6\u4e0d\u540c\u5206\u8fa8\u7387\/\u5e27\u7387\/\u8d28\u91cf\u7684\u5b50\u6d41&#xff0c;\u7406\u8bba\u4e0a\u9002\u5408\u81ea\u9002\u5e94\u7801\u7387&#xff08;ABR&#xff09;\u6d41\u5a92\u4f53\u3002\u4f46\u5b9e\u9645\u90e8\u7f72\u4e2d&#xff0c;HLS\/DASH \u591a\u7801\u6d41\u65b9\u6848\u66f4\u6210\u719f&#xff0c;SVC \u4e3b\u8981\u7528\u4e8e\u89c6\u9891\u4f1a\u8bae&#xff08;WebRTC\u3001Tencent Meeting&#xff09;\u548c\u76d1\u63a7\u9886\u57df\u3002<\/p>\n<p>Q5&#xff1a;x265 \u4e0e\u786c\u4ef6\u7f16\u7801\u5668&#xff08;NVENC\/QSV&#xff09;\u9009\u54ea\u4e2a&#xff1f;<\/p>\n<p>\u76f4\u64ad&#xff1a;\u786c\u4ef6\u7f16\u7801\u5668&#xff08;\u5ef6\u8fdf\u4f4e\u3001\u529f\u8017\u5c0f\u3001CPU \u5360\u7528\u5c11&#xff09;\u3002\u70b9\u64ad\/\u5f52\u6863&#xff1a;x265 preset slow&#xff08;\u538b\u7f29\u6548\u7387\u9ad8 15-25%&#xff09;\u3002\u6df7\u5408\u65b9\u6848&#xff1a;\u786c\u4ef6\u7f16\u7801\u5668\u521d\u7f16 &#043; x265 \u4e8c\u904d\u8f6c\u7801&#xff0c;\u5e73\u8861\u901f\u5ea6\u4e0e\u8d28\u91cf\u3002<\/p>\n<p>Q6&#xff1a;\u672a\u6765\u4f1a\u88ab AV1 \u53d6\u4ee3\u5417&#xff1f;<\/p>\n<p>\u77ed\u671f\u4e0d\u4f1a\u3002AV1 \u7f16\u7801\u7aef\u8f6f\u786c\u4ef6\u751f\u6001&#xff08;libaom\/SVT-AV1\/rav1e \u6027\u80fd\u3001\u786c\u4ef6\u7f16\u7801\u5668\u666e\u53ca\u5ea6&#xff09;\u8fd8\u5728\u8ffd\u8d76\u3002YouTube\/Netflix \u5df2\u90e8\u7f72 AV1&#xff0c;\u4f46 5 \u5e74\u5185 H.264&#043;H.265 \u4ecd\u662f\u7edd\u5bf9\u4e3b\u6d41\u3002WebCodecs API \u540c\u65f6\u652f\u6301 H.264\u3001H.265\u3001AV1\u3001VP9 \u591a\u7f16\u89e3\u7801\u5668&#xff0c;\u6b63\u662f\u8fd9\u79cd\u957f\u671f\u5171\u5b58\u683c\u5c40\u7684\u53cd\u6620\u3002<\/p>\n<hr \/>\n<h3>\u5199\u5728\u6700\u540e<\/h3>\n<p>H.265\/HEVC \u4e0d\u662f\u4e00\u4e2a&#034;\u4e07\u80fd\u7f16\u7801\u5668&#034;&#xff0c;\u5b83\u662f\u4e3a\u9ad8\u5206\u8fa8\u7387\u573a\u666f\u8bbe\u8ba1\u7684\u6298\u4e2d\u65b9\u6848&#xff1a;\u76f8\u6bd4 H.264 \u591a 50% \u538b\u7f29\u6548\u7387\u3001\u76f8\u6bd4 AV1 \u591a 5-10 \u500d\u7f16\u7801\u901f\u5ea6\u3001\u76f8\u6bd4 H.264 \u591a 3-5 \u500d\u89e3\u7801\u529f\u8017\u3002\u7f16\u7801\u5668\u9009\u578b\u672c\u8d28\u662f\u5728\u753b\u8d28\u3001\u7801\u7387\u3001\u901f\u5ea6\u3001\u517c\u5bb9\u6027\u56db\u4e2a\u7ef4\u5ea6\u505a\u52a0\u6743\u51b3\u7b56\u2014\u2014\u800c\u8fd9\u4e9b\u6743\u91cd\u56e0\u4e1a\u52a1\u573a\u666f\u5dee\u5f02\u6781\u5927\u3002<\/p>\n<p>\u7406\u89e3 CTU \u5212\u5206\u3001\u5e27\u5185\/\u5e27\u95f4\u9884\u6d4b\u3001\u7801\u7387\u63a7\u5236\u7684\u539f\u7406&#xff0c;\u4e0d\u662f\u4e3a\u4e86&#034;\u8c03\u53c2\u8c03\u51fa\u6700\u4f73\u753b\u8d28&#034;&#xff0c;\u800c\u662f\u5728\u9047\u5230\u5b9e\u9645\u538b\u7f29\u95ee\u9898\u65f6\u80fd\u5feb\u901f\u5b9a\u4f4d\u74f6\u9888&#xff1a;\u662f\u5212\u5206\u7c92\u5ea6\u9009\u9519\u3001\u662f\u9884\u6d4b\u6a21\u5f0f\u88ab\u7981\u7528\u3001\u8fd8\u662f\u7801\u7387\u63a7\u5236\u7b56\u7565\u6ca1\u5339\u914d\u573a\u666f\u3002\u5de5\u5177\u4f1a\u66f4\u65b0\u6362\u4ee3&#xff0c;\u4f46\u7f16\u7801\u7684&#034;\u9884\u6d4b-\u6b8b\u5dee-\u71b5\u7f16\u7801&#034;\u57fa\u672c\u7ed3\u6784 30 \u5e74\u6ca1\u53d8\u8fc7\u3002<\/p>\n<p>\u5de5\u7a0b\u5b9e\u8df5\u4e2d\u8fd8\u6709\u4e00\u4e2a\u5e38\u89c1\u8bc9\u6c42&#xff1a;\u628a\u89c6\u9891\u538b\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u5927\u5c0f&#xff08;\u4e0a\u4f20\u5e73\u53f0\u9650\u5236\u3001\u90ae\u4ef6\u9644\u4ef6\u9608\u503c\u3001\u8282\u7701\u5b58\u50a8\u6210\u672c&#xff09;\u3002\u8fd9\u4e2a\u9700\u6c42\u7528 CRF \u6a21\u5f0f\u96be\u4ee5\u7cbe\u786e\u63a7\u5236&#xff0c;\u5fc5\u987b\u5207\u6362\u5230 2PASS \u6216 ABR \u6a21\u5f0f\u5e76\u6307\u5b9a\u76ee\u6807\u7801\u7387&#xff0c;\u518d\u6839\u636e\u6e90\u89c6\u9891\u65f6\u957f\u53cd\u7b97\u603b\u6bd4\u7279\u6570\u3002\u4e0d\u540c\u5206\u8fa8\u7387\/\u5e27\u7387\u4e0b&#034;\u76ee\u6807\u4f53\u79ef&#034;\u5bf9\u5e94\u7684\u7801\u7387\u8303\u56f4\u5dee\u5f02\u5f88\u5927&#xff08;\u5982 1080p 30fps 1 \u5206\u949f\u538b\u5230 10MB&#xff0c;\u5e73\u5747\u7801\u7387\u7ea6 1.4Mbps&#xff09;&#xff0c;\u9700\u8981\u7ed3\u5408\u5b9e\u9645\u573a\u666f\u53cd\u590d\u8c03\u8bd5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>H.265\/HEVC \u4f5c\u4e3a\u5f53\u524d\u6d41\u5a92\u4f53\u884c\u4e1a\u4e3b\u6d41\u7f16\u7801\u6807\u51c6&#xff0c;\u627f\u8bfa\u5728\u76f8\u540c\u753b\u8d28\u4e0b\u6bd4 H.264 \u8282\u7701\u7ea6 50% \u7801\u7387\u3002\u672c\u6587\u4ece\u7f16\u7801\u5355\u5143 (CTU) \u5212\u5206\u3001\u5e27\u5185\u9884\u6d4b\u3001\u5e27\u95f4\u9884\u6d4b\u3001\u7801\u7387\u63a7\u5236\u56db\u4e2a\u5c42\u9762&#xff0c;\u62c6\u89e3 H.265\/HEVC \u63d0\u5347\u538b\u7f29\u6548\u7387\u7684\u6838\u5fc3\u673a\u5236&#xff0c;\u5e76\u57fa\u4e8e FFmpeg \u5b9e\u6d4b\u6570\u636e&#xff0c;\u5bf9\u6bd4 H.264\/H.265\/AV1 \u5728\u4e0d\u540c\u5206\u8fa8\u7387\u4e0e\u5185\u5bb9\u4e0b\u7684\u7801\u7387-\u753b\u8d28\u8868\u73b0\u3002<br \/>\n\u4e00\u3001H.265\/HEVC \u7f16\u7801\u539f\u7406\u6982\u89c8<br \/>\nH.265\/HEVC&#xff08;Hig<\/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":[1809],"topic":[],"class_list":["post-86991","post","type-post","status-publish","format-standard","hentry","category-server","tag-h-265"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>H.265\/HEVC \u7f16\u7801\u6df1\u5ea6\u89e3\u6790\uff1a\u4ece CTU \u5212\u5206\u5230\u5e27\u95f4\u9884\u6d4b\u7684\u538b\u7f29\u6548\u7387\u4f18\u5316 - \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\/86991.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"H.265\/HEVC \u7f16\u7801\u6df1\u5ea6\u89e3\u6790\uff1a\u4ece CTU \u5212\u5206\u5230\u5e27\u95f4\u9884\u6d4b\u7684\u538b\u7f29\u6548\u7387\u4f18\u5316 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"H.265\/HEVC \u4f5c\u4e3a\u5f53\u524d\u6d41\u5a92\u4f53\u884c\u4e1a\u4e3b\u6d41\u7f16\u7801\u6807\u51c6&#xff0c;\u627f\u8bfa\u5728\u76f8\u540c\u753b\u8d28\u4e0b\u6bd4 H.264 \u8282\u7701\u7ea6 50% \u7801\u7387\u3002\u672c\u6587\u4ece\u7f16\u7801\u5355\u5143 (CTU) \u5212\u5206\u3001\u5e27\u5185\u9884\u6d4b\u3001\u5e27\u95f4\u9884\u6d4b\u3001\u7801\u7387\u63a7\u5236\u56db\u4e2a\u5c42\u9762&#xff0c;\u62c6\u89e3 H.265\/HEVC \u63d0\u5347\u538b\u7f29\u6548\u7387\u7684\u6838\u5fc3\u673a\u5236&#xff0c;\u5e76\u57fa\u4e8e FFmpeg \u5b9e\u6d4b\u6570\u636e&#xff0c;\u5bf9\u6bd4 H.264\/H.265\/AV1 \u5728\u4e0d\u540c\u5206\u8fa8\u7387\u4e0e\u5185\u5bb9\u4e0b\u7684\u7801\u7387-\u753b\u8d28\u8868\u73b0\u3002 \u4e00\u3001H.265\/HEVC \u7f16\u7801\u539f\u7406\u6982\u89c8 H.265\/HEVC&#xff08;Hig\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/86991.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-29T08:08:28+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=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/86991.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/86991.html\",\"name\":\"H.265\/HEVC \u7f16\u7801\u6df1\u5ea6\u89e3\u6790\uff1a\u4ece CTU \u5212\u5206\u5230\u5e27\u95f4\u9884\u6d4b\u7684\u538b\u7f29\u6548\u7387\u4f18\u5316 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-29T08:08:28+00:00\",\"dateModified\":\"2026-07-29T08:08:28+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/86991.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/86991.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/86991.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"H.265\/HEVC \u7f16\u7801\u6df1\u5ea6\u89e3\u6790\uff1a\u4ece CTU \u5212\u5206\u5230\u5e27\u95f4\u9884\u6d4b\u7684\u538b\u7f29\u6548\u7387\u4f18\u5316\"}]},{\"@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":"H.265\/HEVC \u7f16\u7801\u6df1\u5ea6\u89e3\u6790\uff1a\u4ece CTU \u5212\u5206\u5230\u5e27\u95f4\u9884\u6d4b\u7684\u538b\u7f29\u6548\u7387\u4f18\u5316 - \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\/86991.html","og_locale":"zh_CN","og_type":"article","og_title":"H.265\/HEVC \u7f16\u7801\u6df1\u5ea6\u89e3\u6790\uff1a\u4ece CTU \u5212\u5206\u5230\u5e27\u95f4\u9884\u6d4b\u7684\u538b\u7f29\u6548\u7387\u4f18\u5316 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"H.265\/HEVC \u4f5c\u4e3a\u5f53\u524d\u6d41\u5a92\u4f53\u884c\u4e1a\u4e3b\u6d41\u7f16\u7801\u6807\u51c6&#xff0c;\u627f\u8bfa\u5728\u76f8\u540c\u753b\u8d28\u4e0b\u6bd4 H.264 \u8282\u7701\u7ea6 50% \u7801\u7387\u3002\u672c\u6587\u4ece\u7f16\u7801\u5355\u5143 (CTU) \u5212\u5206\u3001\u5e27\u5185\u9884\u6d4b\u3001\u5e27\u95f4\u9884\u6d4b\u3001\u7801\u7387\u63a7\u5236\u56db\u4e2a\u5c42\u9762&#xff0c;\u62c6\u89e3 H.265\/HEVC \u63d0\u5347\u538b\u7f29\u6548\u7387\u7684\u6838\u5fc3\u673a\u5236&#xff0c;\u5e76\u57fa\u4e8e FFmpeg \u5b9e\u6d4b\u6570\u636e&#xff0c;\u5bf9\u6bd4 H.264\/H.265\/AV1 \u5728\u4e0d\u540c\u5206\u8fa8\u7387\u4e0e\u5185\u5bb9\u4e0b\u7684\u7801\u7387-\u753b\u8d28\u8868\u73b0\u3002 \u4e00\u3001H.265\/HEVC \u7f16\u7801\u539f\u7406\u6982\u89c8 H.265\/HEVC&#xff08;Hig","og_url":"https:\/\/www.wsisp.com\/helps\/86991.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-29T08:08:28+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/86991.html","url":"https:\/\/www.wsisp.com\/helps\/86991.html","name":"H.265\/HEVC \u7f16\u7801\u6df1\u5ea6\u89e3\u6790\uff1a\u4ece CTU \u5212\u5206\u5230\u5e27\u95f4\u9884\u6d4b\u7684\u538b\u7f29\u6548\u7387\u4f18\u5316 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-29T08:08:28+00:00","dateModified":"2026-07-29T08:08:28+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/86991.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/86991.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/86991.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"H.265\/HEVC \u7f16\u7801\u6df1\u5ea6\u89e3\u6790\uff1a\u4ece CTU \u5212\u5206\u5230\u5e27\u95f4\u9884\u6d4b\u7684\u538b\u7f29\u6548\u7387\u4f18\u5316"}]},{"@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\/86991","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=86991"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/86991\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=86991"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=86991"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=86991"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=86991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}