# Video Info Inspector

> 在瀏覽器中檢視任何影片：容器與軌道細節、翻成白話的編解碼器、位元率時間軸、旋轉與 HDR 中繼資料、faststart 檢查與各瀏覽器可播放性對照表。免上傳。

- URL: https://bytescope.dev/zh-Hant/video-info/
- Locale: zh-Hant · Also: [en](https://bytescope.dev/en/video-info.md) · [ja](https://bytescope.dev/ja/video-info.md)
- Runs: 檔案不會離開你的瀏覽器 — 全部在本機處理。
- Requires: Any modern browser (Chrome, Edge, Firefox, Safari), desktop and mobile.
- Updated: 2026-09-08

## What it does

拖入一個 MP4、MOV、WebM、MKV、MP3 或 WAV 檔，這個檢視器能在幾秒內讀出它的中繼資料 — 只解析結構，不解碼整個檔案，所以即使是數 GB 的檔案也能立即回應，而且什麼都不會上傳。你會得到容器層面的資訊（格式、時長、整體位元率、軌道清單），以及每個視訊軌翻成白話的編解碼器字串 — `avc1.640028` 會變成「H.264 High Profile, Level 4.0」— 再加上解析度、影格率（宣告值與取樣值）、位元深度、旋轉中繼資料（手機影片會側躺顯示的隱形原因）與 HDR 色彩資訊。

它的殺手級功能回答了把大家帶來這裡的問題：「我的影片為什麼無法播放？」。每個軌道都會對照你目前瀏覽器實際的解碼支援做檢查，產生一個可播放性判定 — 而一張涵蓋 Chrome、Safari 與 Firefox 典型支援情況的對照表，會凸顯像「HEVC 只有 Safari 支援」這類狀況。faststart 檢查會讀出 MP4 的 moov box 位於檔案的頭部還是尾端：中繼資料停在尾端正是網頁影片開始前老是無止盡緩衝的經典原因，而幾乎沒有線上工具會檢查它。

位元率時間軸圖表會在整段時長中取樣封包大小 — 尖峰處就是卡頓的嫌疑犯 — 旁邊還有首格縮圖與關鍵影格間隔（GOP）統計，這些對串流延遲很重要。整份報告可以純文字複製到剪貼簿，方便貼到論壇、issue tracker 或客服工單。

兩個額外功能讓它從唯讀報告變成真正的工具。載入第二個檔案，就能把兩部影片並排在對齊的欄位中比較，所有不同的欄位 — 編解碼器、解析度、影格率、位元率、HDR、faststart、GOP — 都會被凸顯，讓重新編碼的實際效果一目了然。關鍵影格分佈條會把每個關鍵影格畫在時間軸上，並標出長度偏離中位數的 GOP，把會拖累搜尋的場景切換與可變位元率關鍵影格視覺化。檢查完後，情境連結會把同一個檔案直接交給我們的 GIF 與 PNG 影格轉檔工具。

## Limits

Does not play, convert or repair the video; it reads container and codec metadata.

## Machine output

Copy JSON copies an envelope `{ tool, url, generatedAt, userAgentHint, result }`. `tool` is `"video-info"`; `result` is the on-screen container and track probe below. This tool does not parse or display container metadata tags, so shooting location (GPS), device model, and creator names are omitted even when the file contains them. The dropped file name, encoded media bytes, thumbnail, bitrate-timeline buckets, and keyframe timestamp lists are omitted.

- `formatName` (string | null) — Container format as shown (e.g. `"MP4"`). `null` = metadata was not supplied.
- `mimeType` (string | null) — Container MIME. `null` = empty or not supplied (the MIME row is hidden then).
- `durationSec` (number | null) — Duration in seconds. `null` = metadata was not supplied.
- `fileSize` (number | null) — File size in bytes. `null` = metadata was not supplied.
- `overallBitrate` (number | null) — Overall bits per second. `null` = not computed (zero duration) or metadata missing.
- `trackCount` (number | null) — Total tracks in the container. `null` = metadata was not supplied.
- `video` (object) — Video tracks in on-screen order, capped at 200. `tracks` (array), `truncated` (boolean), `totalCount` (real count, not the copied length). Each track: `index`, `rawCodec` (or `null`), `codecLabel`, coded/display width and height, `rotation`, `nominalFps` (or `null` if undeclared), `measuredFps` (`null` = packet pass not finished), `bitrate`, `bitrateSampled` (`null` = packet pass not finished), `bitDepth` (or `null` if not shown), `colorLabel`, `isHdr`, `language` (`null` if absent or `"und"`), `playability` (`webCodecs` boolean or `null`; `mediaCapabilities` object or `null`), `gop` (keyframe count and intervals, or `null` if packet pass not finished), `peakKbps` (or `null` if packet pass not finished).
- `audio` (object) — Audio tracks in on-screen order, capped at 200. Same `truncated` / `totalCount` shape. Each track: `index`, `rawCodec`, `codecLabel`, `sampleRate`, `channels`, `bitrate`, `language`, `playability`.
- `faststartApplicable` (boolean | null) — `null` = metadata missing; `false` = not MP4/MOV (N/A on screen); `true` = MP4/MOV box walk applies.
- `faststart` (object | null) — `null` = not applicable, or applicable but the box layout could not be determined. When present: `boxOrder` (top-level fourccs in file order), `faststart` (boolean; `true` = moov before mdat).

## FAQ

### 分析我的影片時它會被上傳嗎？

不會。檔案是在你的瀏覽器中以結構方式解析的 — 標頭、軌道表與封包索引透過隨機存取讀取，媒體本身原封不動留在磁碟上。這正是為什麼一個 4 GB 的檔案約一秒就能開啟，也是為什麼沒有大小限制。

### 為什麼我的影片在我電腦上能播，在網站／手機上卻不行？

通常是編解碼器的問題：HEVC/H.265（iPhone 和空拍機常見）Firefox 完全不支援、Chrome 支援也不穩定，而桌面播放器幾乎什麼都能解。可播放性對照表會顯示你檔案的各軌道分別能被哪些瀏覽器家族解碼，把「就是不能用」變成具體的編解碼器判定 — 而解法通常是重新編碼成 H.264，或在我們的影片工具中轉檔。

### 什麼是 faststart／moov 檢查？

MP4 的中繼資料放在一個「moov」box 裡，它可以位於檔案的頭部或尾端。編碼器預設把它寫在尾端；瀏覽器在播放前需要它，所以尾端的 moov 會強迫整個檔案下載完才讓網頁播放器開始播。這項檢查會讀出你的位在哪裡，並在做一次 remux（快速、無損）就能修好緩慢的網頁開播時告訴你。

### 為什麼我的手機影片在某些地方方向顯示錯誤？

手機常常錄下感光元件原生方向的影片，並在中繼資料裡存一個旋轉旗標，而不是實際旋轉像素。尊重該旗標的播放器會正確顯示；忽略它的處理流程則會顯示側躺的影片。檢視器會把旋轉值呈現出來，讓你知道要修的是那個旗標 — 而不是像素。

### 位元率時間軸能告訴我什麼？

整段影片中每秒的資料率。平坦的線代表串流可預測；大的尖峰（動作場面、彩帶、鏡頭橫搖）正是頻寬不足的連線或播放器會卡頓的地方。它也能驗證一個號稱「10 Mbps」的輸出是否真的平均達到 10 Mbps。

### 我可以把兩部影片並排比較嗎？

可以 — 按下「與另一個檔案比較」，拖入第二部影片，兩份分析就會排進同一張表，所有不同的欄位（編解碼器、解析度、影格率、位元率、HDR、faststart、GOP）都會被凸顯。這是確認重新編碼到底改了什麼、或找出兩個幾乎一樣的輸出為何只有一個能播放的最快方法。

### 關鍵影格分佈條顯示什麼？

沿著影片時間軸，每個關鍵影格對應一根刻度。等距的刻度代表固定 GOP，搜尋可預測、串流也能快速開始；橘色刻度標出間隔偏離中位數的關鍵影格 — 那些會讓拖曳感覺不均勻、並拉長串流開播延遲的場景切換或可變位元率關鍵影格。
