<?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/ssim/</link><description>多元化原創文章，內容包羅萬象，有程式語言、網站應用、軟體介紹、硬體介紹、作業系統、旅行遊記、專題採訪、益智問題、文學創作，以及作者們的知識分享和作品分享。</description><language>zh-TW</language><lastBuildDate>Sun, 6 Dec 2026 01:14:27 +0800</lastBuildDate><atom:link href="https://magiclen.org/tag/ssim/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>x265 的 preset 與編碼速度、影片畫質以及位元率的關聯</title><link>https://magiclen.org/x265-preset/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2020/01/crf-time-1-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2020/01/crf-time-1-220x162.png 1x, https://magiclen.org/wp-content/uploads/2020/01/crf-time-1-440x324.png 2x, https://magiclen.org/wp-content/uploads/2020/01/crf-time-1-660x486.png 3x" alt>
H.265 是由 JCT-VC 在 2010 年代所制定的標準，在 MPEG-H 之下(MPEG-H Part 2)，也稱為 MPEG-H HEVC( High Efficiency Video Coding)，可在相同畫質下提供比 MPEG-4 AVC 標準更低的位元率。代表的編碼器為 x265。x265 有個很方便的編碼參數─preset，它可以幫助我們快速設定 x265 編碼時所用的眾多參數...]]></description><category>研究分享</category><category>軟體介紹</category><category>FFmpeg</category><category>HEVC</category><category>x265</category><category>SSIM</category><category>影音</category><guid>https://magiclen.org/x265-preset</guid><pubDate>Thu, 9 Apr 2020 12:00:18 +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><item><title>如何使用 FFmpeg 來比對兩個影片的畫質差異程度？</title><link>https://magiclen.org/ffmpeg-psnr-ssim/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2019/04/shot-23-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2019/04/shot-23-220x162.png 1x, https://magiclen.org/wp-content/uploads/2019/04/shot-23-440x324.png 2x, https://magiclen.org/wp-content/uploads/2019/04/shot-23-660x486.png 3x" alt>
PSNR 和 SSIM 是常用來判斷兩個影像差異程度的指標，透過 FFmpeg 就能計算出兩個影片的 PSNR 和 SSIM，比對它們的畫質差異程度。這篇文章會說明這兩種指標的意義與參考標準、計算用的 FFmpeg 指令，以及計算結果不準確時的解決辦法。]]></description><category>研究分享</category><category>軟體介紹</category><category>Android</category><category>FFmpeg</category><category>Linux</category><category>Windows</category><category>macOS</category><category>SSIM</category><category>PSNR</category><category>影音</category><guid>https://magiclen.org/ffmpeg-psnr-ssim</guid><pubDate>Thu, 4 Apr 2019 12:00:11 +0800</pubDate><dc:creator>Magic Len</dc:creator></item></channel></rss>