Bilibili Video Quality Keeps Dropping to 480p After Buffering? Here's the Fix

Bilibili keeps buffering and lagging, shows "Network lag", then drops your video quality to 480p? Why you need to log in for 1080p, why the lag is usually a slow CDN node rather than your internet, and how to switch to a fast one in one click.

發布於 4 min– 次觀看文章語言
作者John Hsieh

Easy. One trick: Log in > Quality > switch Auto to 1080p. The end!

Bilibili's quality menu: ① the bottom bar shows Auto, ② after logging in, pick 1080P FHD

Sorry, sorry.... nobody scrolled all the way here just for that. (Bad blogger!!)

I bet you're here because of this infuriating popup. The video keeps spinning, buffering, and then this shows up. Ignore it, and Bilibili quietly turns your video into a blurry mess.

A popup in the bottom-left of the Bilibili player: Network lag, try switching to 720P HD

First, how Bilibili drops your quality: two strategies

1. Forced drops in special cases

Hover previews in desktop search results, the non-fullscreen player in the app, and the mini player on both.

If you're logged in:

I tested this. It always drops to 480p or 720p, and you can't change it.

At that player size, even 720p is more than the screen can show. To keep bandwidth costs down, Bilibili just forces it lower.

If you're not logged in: you're stuck at 360p~480p no matter what. The problem above doesn't even apply to you. Bilibili is just being stingy.

You need to log in to get 1080p, and anything higher needs a Premium membership (大會員). (I remember you used to get higher quality without logging in. Not sure if they changed it?)

The quality menu when logged out: 1080P, 720P and 480P all say Log in to enjoy, so only 360P is available The Soup Nazi from Seinfeld pointing: NO 1080P FOR YOU!

2. Network lag, video won't play

The infamous combo: spinning > buffering > "Network lag, try switching to xxxx"

That "network lag" usually has nothing to do with your internet speed. (Exception: if you insist on watching Bilibili over 4G at a Taylor Swift concert, that one's on you.)

I've written two posts on what actually causes the lag:

But I know nobody's clicking those, so here's the short version:

IMPORTANT

  • The lag isn't caused by lots of people watching the same video. It's the opposite: the more people watch a video, the faster it loads.
  • The lag happens because Bilibili gives you too little bandwidth. The fix is switching to a different CDN node.
  • A fast Speedtest result doesn't help. In my tests from Taiwan, Bilibili's fastest CDN node only delivers 97 Mbps. And guess how much 4K needs? Just 25 Mbps.
Bar chart, median of 50 reports from one major Taiwanese ISP: home internet 642 Mbps, fastest Bilibili node only 97 Mbps, smooth 4K needs 25 Mbps

Fine! If Bilibili can do 97 Mbps and 4K needs 25, why is my 1080p stuttering??

The catch is that CDN node. Think of it like game servers: each server has a different ping and a different speed.

And Bilibili has.....300+ CDN nodes Bilibili's [smile] emote

Your speed is stuck behind three walls (Wall Sheena, Wall Rose, Wall Maria)

Wall #1

Out of those 300+ nodes, fewer than 10 can actually hit 97 Mbps, and more than half only manage 10-something Mbps.

Wall #2

Bilibili picks the CDN node for you. Get a bad one, and you can't control it or switch.

Wall #3

Even if you could switch, the same node's speed swings wildly depending on your ISP. On one Taiwanese ISP it might run at 97 Mbps, on another it drops to 8 Mbps. So you can switch. Now what? Which of the 300+ do you pick?

The Where's Wally beach scene, with the postcard in the top-left changed to: Where's the good CDN?

Ugh! Why doesn't YouTube have these problems? The answer is...

Eren from Attack on Titan: Well... I don't know.

Maybe Bilibili just doesn't think about users outside China. Or their dev team is amateur hour.

So how do you actually fix it?

Speaking of network lag, let me tell you about today's sponsor, Surfshark VP....

Just kidding. A VPN won't fix this. Who opens with a sponsor read?

There's a browser extension that breaks all three walls. I built it, after watching "Monga" (a Taiwanese gangster movie) late one night, sitting through 30 stalls, and smashing a phone.

(I hereby declare that, counting the buffering, Monga is now officially longer than Avengers: Endgame.)

It's sitting at 4.9 stars right now. Here are a few reviews (translated from Chinese):

Five-star review: Thank you!! Even 720p used to stutter. Now I watch whatever I want, love it Five-star review: Legend. I love you. Developer reply: Let's get married. Right here. Five-star review: Fixed the problem, and it was easy. I always watch at 2x speed, and without this it barely plays.

It force-switches the CDN in one click, and you can speed-test every node.

The built-in node list for each country comes from real people's speed tests: the good few out of 300+ nodes, picked so that every ISP is covered.

NOTE

Because the list has to cover every ISP, and the same node can be great on one ISP and terrible on another (see above), a speed test of the list will always show a few nodes that handle 4K easily and others that crawl or don't connect at all. Those are there for people on other ISPs.

If you'd rather have every node picked for your own connection, so they all test super fast, use the "Custom" node list together with this guide:

How to Join the BiBoost Speed Test

The extension's per-node speed test: each CDN node measured on the same 4K video; the fastest, a Wuhan node at 32.2 MB/s, is ticked and marked 8K stable

That's it! Hope this helps if Bilibili keeps dropping your video quality~

留言(–)

相關文章

「全世界只有三個人知道 台灣B站影片不卡頓的神祕設定」置頂
圖文教學3 min

一個神祕設定解決 Bilibili 影片卡頓

海外看 B 站卡頓,換 DNS、開 VPN 都是碰運氣,真正的原因是 B 站分給你慢的 CDN 節點。附台灣各家寬頻上百份實測,裝一個擴充把影片固定在最快的節點,順便附上 Android 與電視的做法。

繁體中文 / 廣東話 / 简体中文 / English / 日本語 / 한국어

嗶速 - 全伺服器測速工具:測速進行中的畫面
圖文教學6 min

BiBoost 測速 — 參加教學

圖文教學:下載「嗶速 - 全伺服器測速工具」(Windows/Mac),通過網路檢查後掃碼登入,自動測完並發送報告,協助擴充功能找出各國最快的 B 站節點。

繁體中文 / 廣東話 / 简体中文 / English / 日本語 / 한국어

同一支 4K 影片開啟擴充前後:開啟前緩衝中只有 9 KB/s,開啟後 8.8 MB/s
技術分享9 min

如何真正徹底解決 Bilibili 卡頓

海外看 B 站為什麼熱門片很順、冷門片卡死:CDN 快取與回源、最窄的那一段決定速度、換 DNS 和開 VPN 為什麼時靈時不靈,以及我的擴充怎麼用台灣 14 家網路業者的實測挑出預設節點。

繁體中文 / English

深色底的封面:大字「分區入口不見了?」,右邊上下兩條B站首頁頂部截圖,舊版有一排分區入口,新版沒有
技術分享5 min

B站首頁改版:分區入口、輪播全不見,BiBoost 讓你切回舊版

B站首頁的分區入口和輪播不見了?這個新版其實是海外版首頁。新舊差在哪、B站怎麼用兩個 cookie 判斷你看哪一版,以及 BiBoost 2.10.0 進階設定裡的新舊版切換開關。

繁體中文 / English

B 站播放器上方的提示:目前 CDN 速度不佳,已自動切換至備援節點
技術分享11 min

在 B 站擴充裡偵測 CDN 失敗並自動切換備援節點

擴充怎麼判斷 CDN 節點真的壞了:哪些狀態碼要排除、卡頓怎麼用 currentTime 與前方緩衝判斷、為什麼先靜默換一次備援、還不行才問使用者,以及怎麼避免在節點之間來回彈跳。直播的處理方式也一併說明。

繁體中文 / English

封面:Network 面板的網域從 upos-hz-mirrorakam.akamaized.net 換成 upos-sz-mirror08ct.bilivideo.com,下方是四個 hook 點:__playinfo__、playurl API、.m4s 分段請求、直播
技術分享10 min

在 Chrome 擴充的 MAIN world 用 hook 即時改寫 Bilibili 串流 CDN

B 站的播放網址會從 SSR 的 __playinfo__、playurl API、分段請求和直播 API 進來。這篇用 biboost 的程式碼說明每條路怎麼攔、改了什麼,以及 Response 只能讀一次、XHR responseText 唯讀、測速要繞過自己的 hook 這些坑。

繁體中文 / English

封面:越多人測,預設越準。循環四步:在家測速、拿到專屬節點、報告寄回給我、更新預設清單(cdn-list.json),再隨下一版擴充回到使用者
技術分享18 min

如何透過群眾測速自動迭代 B 站 CDN 選線品質

一支 Windows 測速程式怎麼在各地使用者家裡測 299 個 B 站節點、用分層影片和三段漏斗挑出最穩的 10 個當場寫進擴充,再把報告送回開發者,依業者市占加權改進各國預設節點,並照分析結果去補缺樣本的業者。

繁體中文 / English

封面:一份 src/ 經 build.mjs 打成 Chrome、Edge、Firefox 三個 zip(Chrome 和 Edge 是同一個 sha256),Safari 經 Xcode 工程上傳 App Store
技術分享16 min

在 B 站擴充裡用一份原始碼發佈到 Chrome、Edge、Firefox、Safari 四個商店

同一份 src/ 怎麼打包成四個商店的產物、為什麼 zip 要可重現(附實測 sha256 與換行踩坑)、5 語更新內容與 pre-push 卡點,以及一次 /release 哪些交給腳本、哪些一定自己來。

繁體中文 / English