<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>瀏覽器 on 凱凱的技術筆記</title><link>https://kaikai365.com/tags/%E7%80%8F%E8%A6%BD%E5%99%A8/</link><description>Recent content in 瀏覽器 on 凱凱的技術筆記</description><generator>Hugo</generator><language>zh-TW</language><lastBuildDate>Fri, 05 Jun 2026 18:16:43 +0800</lastBuildDate><atom:link href="https://kaikai365.com/tags/%E7%80%8F%E8%A6%BD%E5%99%A8/index.xml" rel="self" type="application/rss+xml"/><item><title>瀏覽器裡的 FFmpeg：零上傳、離線跑的影片編輯器，30 種操作一次看完</title><link>https://kaikai365.com/posts/ffmpeg-webcli-browser-editor/</link><pubDate>Fri, 05 Jun 2026 18:16:43 +0800</pubDate><guid>https://kaikai365.com/posts/ffmpeg-webcli-browser-editor/</guid><description>&lt;h2 id="前言">前言&lt;/h2>
&lt;p>每次要剪個影片、轉個格式，第一個浮現的畫面是什麼？&lt;/p>
&lt;p>打開 DaVinci Resolve 等三分鐘、開啟 Premiere 等五分鐘、或者打開某個線上工具、上傳檔案、等進度條、等伺服器處理、然後下載——整套流程下來，一杯咖啡都涼了。&lt;/p>
&lt;p>如果你曾經受夠了這種流程，這篇文章就是為你寫的。&lt;/p>
&lt;p>今天介紹一個叫 &lt;strong>ffmpeg-webCLI&lt;/strong> 的開源專案，它把整個 FFmpeg 塞進你的瀏覽器裡。沒有伺服器上傳、不需要安裝軟體、甚至離線也能跑。30 多種影片操作，從格式轉換到浮水印疊加，全部在本地完成。&lt;/p>
&lt;p>重點是：你看完這篇文章的時候，應該已經會用了。&lt;/p>
&lt;div class="adsense-container" style="margin: 20px 0; text-align: center;">
&lt;span style="font-size: 12px; color: #888; display: block; margin-bottom: 5px;">- 廣告 -&lt;/span>
&lt;ins class="adsbygoogle"
style="display:block; text-align:center;"
data-ad-layout="in-article"
data-ad-format="fluid"
data-ad-client="ca-pub-7490556205068980"
data-ad-slot="YYYYYYYYYY">&lt;/ins>
&lt;script>
(adsbygoogle = window.adsbygoogle || []).push({});
&lt;/script>
&lt;/div>
&lt;h2 id="先搞懂一個問題ffmpeg-怎麼跑在瀏覽器裡">先搞懂一個問題：FFmpeg 怎麼跑在瀏覽器裡？&lt;/h2>
&lt;p>FFmpeg 原本是命令列工具，Linux 伺服器上的常客。但 FFmpeg 團隊做了件很酷的事——把核心編譯成 &lt;strong>WebAssembly（WASM）&lt;/strong>，讓它能在瀏覽器裡跑。&lt;/p>
&lt;p>ffmpeg-webCLI 的背後就是 &lt;code>ffmpeg.wasm&lt;/code> 這個庫。簡單說，你第一次打開網頁時，會下載約 31 MB 的 WASM 檔案（之後瀏覽器會快取，下次幾乎秒開）。之後所有影片處理都在你的裝置上完成，檔案不離開你的電腦。&lt;/p>
&lt;p>這意味著什麼？&lt;/p>
&lt;ul>
&lt;li>&lt;strong>隱私&lt;/strong>：你的影片不會上傳到任何伺服器&lt;/li>
&lt;li>&lt;strong>速度&lt;/strong>：不走網路傳輸，直接處理本地檔案&lt;/li>
&lt;li>&lt;strong>離線&lt;/strong>：首次載入後，關掉網路照樣能用&lt;/li>
&lt;/ul>
&lt;h2 id="第一步打開它花-30-秒上手">第一步：打開它，花 30 秒上手&lt;/h2>
&lt;p>直接到 &lt;a href="https://tejaswigowda.com/ffmpeg-webCLI/">ffmpeg-webCLI 的官方網站&lt;/a>（或把原始碼 clone 下來用 &lt;code>npx serve docs&lt;/code> 在本機跑）。&lt;/p></description></item></channel></rss>