{"id":1179,"date":"2022-11-18T00:36:00","date_gmt":"2022-11-18T00:36:00","guid":{"rendered":"https:\/\/262235.xyz\/?p=1179"},"modified":"2022-11-18T00:36:00","modified_gmt":"2022-11-18T00:36:00","slug":"1179","status":"publish","type":"post","link":"https:\/\/lyvba.com\/index.php\/2022\/11\/18\/1179\/","title":{"rendered":"\u5b89\u88c5FFMPEG\u628a\u89c6\u9891\u6587\u4ef6\u538b\u7f29\u51cf\u5c0f"},"content":{"rendered":"<p><a href=\"https:\/\/lyvba.com\/wp-content\/uploads\/2022\/11\/2782884364.mp4\">\u5b89\u88c5FFMPEG\u628a\u89c6\u9891\u6587\u4ef6\u538b\u7f29\u51cf\u5c0f.mp4<\/a><\/p>\n<h2><code>hevc.sh<\/code> \u590d\u5236\u4e00\u4e0b\u4ee3\u7801\uff0c\u4fdd\u5b58\u6210 hevc.sh \u5728 <code>git-bash<\/code> \u4e2d\u4f7f\u7528<\/h2>\n<pre><code># ffmpeg -i input.mp4 -c:v libx265 -crf 30  output.mp4\n\n# Usage:  hevc.sh input.mp4\n\nif [[ $# &gt; 0 ]]; then\n  ffmpeg -y -i $1 -c:v libx265 -crf 30 output.mp4\nfi\n\necho \"Usage:  hevc.sh input.mp4\"\n\n### --------------------------- ###\n#  https:\/\/hub.docker.com\/r\/linuxserver\/ffmpeg\n#  Nvidia Hardware accelerated\n#  -c:v h264_nvenc<\/code><\/pre>\n<h2>H265\u89c6\u9891\u538b\u7f29\uff0c\u4e3a\u4ec0\u4e48GPU\u538b\u7f29\u6587\u4ef6\u5927\uff0c\u800c\u7528CPU\u538b\u7f29\u5c0f\u7684\u591a<\/h2>\n<p>AMD_GPU_\u7f16\u7801\u89c6\u9891_hevc_amf<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">ffmpeg.exe -i \/r\/Select.mp4  -c:v hevc_amf -crf 30 output.mp4&lt;\/p&gt;&lt;p&gt;Select_hevc_amf.mp4      47.2 MB (49,572,259 \u5b57\u8282)<\/pre>\n<\/p>\n<p>AMD CPU\u538b\u7f29<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">ffmpeg -i input.mp4 -c:v libx265 -crf 30  output.mp4 &lt;\/p&gt;&lt;p&gt;GS\u8f6f\u4ef6\u9009\u62e9_Select_Hevc.mp4    12.8 MB (13,432,043 \u5b57\u8282)<\/pre>\n<\/p>\n<p>\u539f\u59cb\u6587\u4ef6   Select.mp4     73.0 MB (76,650,293 \u5b57\u8282)<\/p>\n<p>[\u6ee4\u955c\u4f7f\u7528\u5217\u8868]<br \/>  (1) Built-in MP4 Source<br \/>  (2) Built-in Video Codec\/Transform<br \/>  (3) Enhanced Video Renderer(Custom Present)<\/p>\n<p>[\u89c6\u9891\u4fe1\u606f]<br \/>  \u89c6\u9891\u7f16\u7801\uff1a AVC1 - Native D3D9 DXVA Decoder(VLD) - AMD Radeon(TM) Graphics<br \/>  \u8f93\u5165\u683c\u5f0f\uff1a AVC1(24 bits)<br \/>  \u8f93\u5165\u5c3a\u5bf8\uff1a 1610 \u00d7 902(1.78:1)<br \/>  \u8f93\u51fa\u683c\u5f0f\uff1a dxva<br \/>  \u8f93\u51fa\u5c3a\u5bf8\uff1a 1610 \u00d7 902(1.78:1)<br \/>  \u5e27\u7387\uff1a 59.99<br \/>  BitRate: \u672a\u77e5<\/p>\n<p>hevc_amf -crf 50  \u7801\u7387\u8fd8\u662f\u6bd4 CPU  -crf 30 \u9ad8<br \/>\u5c4f\u5e55\u5f55\u5236\u7684\u89c6\u9891\uff0c GPU \u538b\u7f29\u6587\u4ef6\u5c0f\u4e0d\u4e0b\u53bb GPU \u538b\u7f29 hevc \u6bd4\u8f83\u9e21\u808b\u4e86<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b89\u88c5FFMPEG\u628a\u89c6\u9891\u6587\u4ef6\u538b\u7f29\u51cf\u5c0f.mp4 hevc.sh \u590d\u5236\u4e00\u4e0b\u4ee3\u7801\uff0c\u4fdd\u5b58\u6210 hevc.sh \u5728 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[39],"class_list":["post-1179","post","type-post","status-publish","format-standard","hentry","category-learn","tag-ffmpeg"],"_links":{"self":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/1179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/comments?post=1179"}],"version-history":[{"count":0,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/1179\/revisions"}],"wp:attachment":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/media?parent=1179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/categories?post=1179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/tags?post=1179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}