<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"><channel><title>MagicLen</title><link>https://magiclen.org/tag/x264/</link><description>多元化原創文章，內容包羅萬象，有程式語言、網站應用、軟體介紹、硬體介紹、作業系統、旅行遊記、專題採訪、益智問題、文學創作，以及作者們的知識分享和作品分享。</description><language>zh-TW</language><lastBuildDate>Thu, 3 Dec 2026 00:29:30 +0800</lastBuildDate><atom:link href="https://magiclen.org/tag/x264/feed/" rel="self" type="application/rss+xml"/><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>8</sy:updateFrequency><sy:updateBase>1970-01-01T00:00+00:00</sy:updateBase><item><title>如何用 FFmpeg 將影像轉成 H.264/MPEG-4 AVC 格式？</title><link>https://magiclen.org/ffmpeg-h264/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2016/01/shot-06-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2016/01/shot-06-220x162.png 1x, https://magiclen.org/wp-content/uploads/2016/01/shot-06-440x324.png 2x, https://magiclen.org/wp-content/uploads/2016/01/shot-06-660x486.png 3x" alt>
x264 是一款高品質的開源 H.264 編碼器，透過 FFmpeg 使用時，可以用「-crf」參數控制畫質，並用「-preset」參數調整壓縮效果。這篇文章也會介紹 10-bit 編碼、CVBR、二次編碼(2-pass)、無損壓縮和「-tune」參數的用法。]]></description><category>研究分享</category><category>軟體介紹</category><category>AVC</category><category>FFmpeg</category><category>x264</category><category>影音</category><guid>https://magiclen.org/ffmpeg-h264</guid><pubDate>Tue, 9 Jun 2020 12:00:38 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>H.264(x264)、H.265(x265)、VP9、AV1 等 10-bit 影片編碼格式的比較</title><link>https://magiclen.org/vcodec-10-bit/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2019/02/ref-mp4-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2019/02/ref-mp4-220x162.png 1x, https://magiclen.org/wp-content/uploads/2019/02/ref-mp4-440x324.png 2x, https://magiclen.org/wp-content/uploads/2019/02/ref-mp4-660x486.png 3x" alt>
以 10-bit 的色彩深度來說，常見的有損壓縮格式為 H.264、H.265、VP9 和較新的 AV1。這篇文章會實際對相同檔案做不同格式的轉檔，以 SSIM 指標為準比較它們的位元率，並和 8-bit 影片的比較結果做對照。]]></description><category>研究分享</category><category>軟體介紹</category><category>AVC</category><category>FFmpeg</category><category>HEVC</category><category>x265</category><category>SSIM</category><category>VP8</category><category>VP9</category><category>AV1</category><category>Xvid</category><category>PSNR</category><category>x264</category><category>影音</category><guid>https://magiclen.org/vcodec-10-bit</guid><pubDate>Thu, 2 Apr 2020 12:00:01 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>x264 的 preset 與編碼速度、影片畫質以及位元率的關聯</title><link>https://magiclen.org/x264-preset/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2020/01/crf-time-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2020/01/crf-time-220x162.png 1x, https://magiclen.org/wp-content/uploads/2020/01/crf-time-440x324.png 2x, https://magiclen.org/wp-content/uploads/2020/01/crf-time-660x486.png 3x" alt>
H.264 是由多個組織組成的 JVT (Joint Video Team)在 2000 年代所制定的標準，也被分類在 MPEG-4 之下(MPEG-4 Part 10)，也稱為 MPEG-4 AVC，可以寫成 H.264/AVC。H.264 可在相同畫質下提供比過去 MPEG-4 標準更低的位元率。代表的編碼器為 x264。x264 有個很方便的編碼參數─preset，它可以幫助我們快速設定 x...]]></description><category>研究分享</category><category>軟體介紹</category><category>AVC</category><category>FFmpeg</category><category>SSIM</category><category>x264</category><category>影音</category><guid>https://magiclen.org/x264-preset</guid><pubDate>Tue, 31 Mar 2020 12:00:55 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>MPEG-4(Xvid)、H.264(x264)、H.265(x265)、VP8、VP9、AV1 等 8-bit 影片編碼格式的比較</title><link>https://magiclen.org/vcodec/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2019/02/ref-mp4-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2019/02/ref-mp4-220x162.png 1x, https://magiclen.org/wp-content/uploads/2019/02/ref-mp4-440x324.png 2x, https://magiclen.org/wp-content/uploads/2019/02/ref-mp4-660x486.png 3x" alt>
8-bit 影片常見的有損壓縮格式有 MPEG-4、H.264、VP8，以及比較後來才出現的 H.265、VP9、AV1。筆者用 FFmpeg 將同一段影片轉成這些格式，並以 SSIM 指標為準比較在幾乎相同畫質下的位元率，結果在各種畫質等級下，x265 和 AV1 都是不錯的選擇。]]></description><category>研究分享</category><category>軟體介紹</category><category>Android</category><category>AVC</category><category>FFmpeg</category><category>HEVC</category><category>Linux</category><category>Windows</category><category>x265</category><category>macOS</category><category>SSIM</category><category>VP8</category><category>VP9</category><category>AV1</category><category>Xvid</category><category>PSNR</category><category>x264</category><category>影音</category><guid>https://magiclen.org/vcodec</guid><pubDate>Wed, 10 Apr 2019 12:00:22 +0800</pubDate><dc:creator>Magic Len</dc:creator></item></channel></rss>