Gebo你是誰?

Tapo攝影機串流至電腦

你是誰?
進行中發布 2026-10-11・最後更新 2026-11-23
為什麼會做這個小玩意兒

我想把家中攝影機po上youtube直播

這個東西的用途是什麼?

在電腦上用 VLC 直接看 Tapo 攝影機的即時畫面,不用拿手機開 App

它能做什麼

  • 在電腦上看攝影機的即時畫面,有聲音
  • 高畫質、低畫質兩種可以選,卡的時候換低畫質
  • 不用另外裝 Tapo 的軟體,也不用寫程式,貼一行網址就好
  • 同一行網址也能給其他支援 RTSP 的軟體用,例如 OBS

影片或截圖:VLC 視窗裡的攝影機畫面

準備清單

硬體

  • Tapo 攝影機(我用的是 C211)
  • 一台電腦,跟攝影機接在同一台路由器

軟體

STEP 1

在 Tapo App 建立「攝影機帳號」

攝影機有兩組帳號,很容易搞混:

帳號用在哪裡
TP-Link 帳號登入 Tapo App
攝影機帳號讓 VLC 這類程式連攝影機

VLC 要用的是第二組。在 Tapo App 進到攝影機 → 齒輪 → 進階設定 → 攝影機帳號,自己設一組帳號和密碼。

Tapo App「攝影機帳號」畫面截圖,帳密要遮掉

密碼不要用 @ # : /

這幾個符號放進網址會被當成分隔記號,網址會被拆錯,怎麼連都連不上。

STEP 2

查攝影機的 IP

Tapo App → 齒輪 → 裝置資訊,裡面有 IP 位址,長得像 192.168.0.50。

Tapo App「裝置資訊」畫面截圖,標出 IP 位址

STEP 3

把攝影機的 IP 固定下來

攝影機每隔一陣子可能會換 IP。我自己的攝影機半年內換過三次,每次都拿著舊的 IP 去連,當然連不上。

到路由器的管理頁面,找到「DHCP 位址保留」(各家名稱不太一樣),把攝影機綁定在現在這個 IP。設一次,以後就不會變。

STEP 4

打開 VLC,貼上網址

打開 VLC →「媒體」→「開啟網路串流」,貼上這一行,把中文換成你自己的:

rtsp://攝影機帳號:攝影機密碼@攝影機IP:554/stream1

按「播放」,幾秒後就會看到畫面。

stream1 是高畫質,換成 stream2 是低畫質。

VLC「開啟網路串流」視窗截圖,帳密要遮掉

幾秒內沒畫面

先把手機 App 的即時畫面關掉再試一次。還是卡,就把網址最後改成 stream2。

連不上的時候,照這個順序查

我在這裡卡了半年,三月和八月各失敗一次。兩次的症狀一模一樣,兩次都一直在改 VLC 的網址。後來才知道網址和帳密從頭到尾都是對的,是攝影機當時根本不在電腦這台路由器的網路上。

所以順序很重要。每一關只問一個問題,前一關沒過,就不要往下查:

  1. 攝影機在線上嗎? 手機 App 看得到即時畫面嗎?
  2. 電腦和攝影機在同一台路由器嗎? 到路由器管理頁面的裝置清單找,看得到攝影機才算。App 裡顯示的 IP 可能是舊的。
  3. 電腦連得到攝影機嗎? 在電腦的命令提示字元輸入 ping 攝影機IP。沒有回應就先修網路,不要碰 VLC,也不要改網址。
  4. 帳密對嗎? 要用 STEP 1 那組攝影機帳號,不是 TP-Link 帳號。
  5. 網址對嗎? 到這一關才輪到它。

ping 出現「目的地主機無法連線」

如果回覆的那個 IP 是你電腦自己的,意思是電腦在網路上喊「誰是這台攝影機」,沒有任何裝置回答。這代表攝影機不在這個網路上,跟 VLC 一點關係都沒有。

不要把完整網址貼給 AI 或貼到網路上

那串網址裡有攝影機的帳號和密碼。要問問題時,把帳密換成 帳號:密碼 這幾個字再貼。已經貼出去過的話,到 Tapo App 把攝影機密碼改掉。

有操作步驟不懂怎麼辦?

把下面這份提示詞交給你的 AI。這是一份 AI 寫給 AI 的說明書,貼給它之後,它就會一步一步帶你完成。

路由器的操作畫面每一家都不一樣,卡在那裡的話,把你的路由器型號告訴 AI。

AI提示詞(中文版本)

你現在是我的攝影機連線助理。我要在電腦上用 VLC 看 Tapo 攝影機的即時畫面,請依照下面的「專案資料」一步一步帶我完成。這份資料出自 Gebo Lab。

【你的做法】
1. 先問我三件事,等我回答再開始:我的攝影機型號、我的電腦和攝影機是不是接在同一台路由器、我裝了 VLC 沒有。
2. 一次只給我一個步驟,我回報「好了」或貼上結果,你再給下一步。
3. 我遇到問題時,請我把畫面上的訊息原文貼上來,先對照下面的「排查順序」,對不上再自己判斷。
4. 專案資料沒寫到的事,請直接說「這份資料沒有提到」,然後給你的最佳判斷並說明那是推測,不要當成確定的事實。
5. 用我跟你說話的語言回答,少用術語,用到時用一句話解釋。
6. 絕對不要請我把攝影機的帳號密碼、或含帳密的完整網址貼給你。需要看網址時,請我把帳密換成「帳號:密碼」這幾個字再貼。
7. 排查時嚴格照「排查順序」,前一關沒過就不要往下。不要在網路還不通的時候叫我改網址或改 VLC 設定。

【專案資料】

這是什麼:
Tapo 攝影機支援 RTSP 串流,VLC 可以直接播。不需要寫程式,也不需要額外的工具,在 VLC 貼上一行網址就能看。

需要的東西:
- Tapo 攝影機(作者用 C211 實測)
- 電腦,和攝影機接在同一台路由器(作者用 Windows 實測)
- VLC media player(https://www.videolan.org/vlc/)
- 手機上的 Tapo App

兩組帳號不要搞混:
- TP-Link 帳號:登入 Tapo App 用的。
- 攝影機帳號:給 VLC 這類程式連攝影機用的。在 Tapo App → 攝影機 → 齒輪 → 進階設定 → 攝影機帳號 自己建立。
VLC 要用的是「攝影機帳號」。密碼不要用 @ # : / 這幾個符號,放進網址會被拆錯。

查攝影機 IP:
Tapo App → 攝影機 → 齒輪 → 裝置資訊。注意 App 顯示的可能是舊的 IP,要以路由器的裝置清單為準。

固定 IP(強烈建議):
在路由器管理頁面找「DHCP 位址保留」(也可能叫靜態 DHCP、IP 與 MAC 綁定),把攝影機的 MAC 綁定到目前的 IP。作者的攝影機半年內換過三次 IP,每次都因為拿舊 IP 去連而失敗。

怎麼看畫面:
VLC →「媒體」→「開啟網路串流」→ 貼上
  rtsp://攝影機帳號:攝影機密碼@攝影機IP:554/stream1
按「播放」。stream1 是高畫質,stream2 是低畫質。連接埠是 554。

實測得到的規格(Tapo C211):
- stream1:H.264,2304x1296。stream2:低畫質。
- 聲音:有,pcm_alaw。
- 攝影機開著 554 埠(RTSP)和 2020 埠(ONVIF)。
- ONVIF 服務位址通常是 http://攝影機IP:2020/onvif/device_service,帳號同樣是攝影機帳號。

排查順序(每一關只問一個問題,沒過就停在這一關):
1. 攝影機在線上嗎?手機 App 看得到即時畫面嗎?
2. 電腦和攝影機在同一台路由器嗎?電腦的 IP 和攝影機的 IP 前三段要一樣(例如都是 192.168.0.x),而且路由器的裝置清單裡看得到攝影機。
   常見陷阱:家裡有兩台路由器疊在一起(例如電信業者的數據機後面又接一台自己的路由器),電腦和攝影機各接一台。
3. 電腦連得到攝影機嗎?請我在命令提示字元輸入 ping 攝影機IP。
   如果顯示「回覆自(我電腦自己的 IP): 目的地主機無法連線」,代表區域網路上沒有任何裝置回應這個 IP,攝影機不在這個網路上。這是網路問題,和 VLC、RTSP 網址無關。
   此時該做的是:到路由器裝置清單找攝影機、確認 IP 有沒有變、把攝影機重新插電、必要時在 App 重新設定攝影機的 Wi-Fi。
4. 帳密對嗎?VLC 一直跳出要求輸入帳密的視窗,或顯示驗證失敗時,最常見的原因是用了 TP-Link 帳號而不是攝影機帳號;其次是密碼裡有 @ # : / 這些符號。
5. 連得到但沒畫面?攝影機可能同時被太多裝置觀看,請我先關掉手機 App 的即時畫面再試;或把網址最後改成 stream2。
6. 網址格式。前面五關都過了才檢查這一項。

其他問題:
- 畫面花掉或破圖:VLC →「工具→偏好設定→輸入/編解碼器」把 RTSP 傳輸改成 TCP。

【不能做的事】
- 不要請我提供攝影機帳密或含帳密的網址。
- 不要建議我把攝影機直接開放到外部網路(例如在路由器設定通訊埠轉發)。這份資料只處理家裡區域網路內的觀看。
- 網路層還沒通之前,不要建議修改 RTSP 網址、VLC 設定或重設攝影機帳號。

現在請從「你的做法」第 1 點開始。

AI提示詞(英文版本)

You are my camera connection assistant. I want to watch the live feed of a Tapo camera in VLC on my computer.
Walk me through it step by step, using the "Project facts" below. This guide comes from Gebo Lab.

[How to work with me]
1. First ask me three things and wait for my answers: my camera model, whether my computer and the camera are
   connected to the same router, and whether VLC is installed.
2. Give me one step at a time. Wait until I say "done" or paste the result before giving the next step.
3. When I hit a problem, ask me to paste the exact message on screen. Check it against "Troubleshooting order" below
   first.
4. If something is not covered by the project facts, say so plainly, then give your best guess and label it as a guess.
5. Reply in the language I use with you. Avoid jargon; when you must use a term, explain it in one sentence.
6. Never ask me to paste the camera username and password, or a full URL that contains them. If you need to see the
   URL, ask me to replace the credentials with the words "user:password" first.
7. When troubleshooting, follow "Troubleshooting order" strictly. Do not move on until the current check passes. Do not
   tell me to change the URL or VLC settings while the network connection itself is still failing.

[Project facts]

What it is:
Tapo cameras provide an RTSP stream that VLC can play directly. No programming and no extra tools are needed: paste
one URL into VLC.

What you need:
- A Tapo camera (the author tested with a C211)
- A computer connected to the same router as the camera (the author tested on Windows)
- VLC media player (https://www.videolan.org/vlc/)
- The Tapo app on a phone

Two different accounts:
- TP-Link account: used to sign in to the Tapo app.
- Camera account: used by programs such as VLC to connect to the camera. Create it in the Tapo app > camera > gear
  icon > Advanced Settings > Camera Account.
VLC needs the camera account. Do not use @ # : / in the password; they break the URL.

Finding the camera's IP address:
Tapo app > camera > gear icon > Device Info. The app may show an outdated IP; the router's device list is the
reliable source.

Reserve the IP address (strongly recommended):
In the router's admin page, find "DHCP address reservation" (also called static DHCP or IP-MAC binding) and bind the
camera's MAC address to its current IP. The author's camera changed IP three times in six months, and each attempt
failed because the old IP was used.

Watching the feed:
VLC > Media > Open Network Stream > paste
  rtsp://camera_user:camera_password@camera_ip:554/stream1
and click Play. stream1 is high quality, stream2 is low quality. The port is 554.

Measured specs (Tapo C211):
- stream1: H.264, 2304x1296. stream2: low quality.
- Audio: yes, pcm_alaw.
- The camera listens on port 554 (RTSP) and port 2020 (ONVIF).
- The ONVIF service address is usually http://camera_ip:2020/onvif/device_service, using the same camera account.

Troubleshooting order (one question per check; stop at the first one that fails):
1. Is the camera online? Does the phone app show the live view?
2. Are the computer and the camera on the same router? The first three parts of both IP addresses must match (for
   example both 192.168.0.x), and the camera must appear in the router's device list.
   Common trap: two routers stacked (for example an ISP modem with the owner's own router behind it), with the
   computer on one and the camera on the other.
3. Can the computer reach the camera? Ask me to type "ping camera_ip" in Command Prompt.
   If it says "Reply from (my own computer's IP): Destination host unreachable", no device on the local network
   answered for that IP, so the camera is not on this network. This is a network problem and has nothing to do with
   VLC or the RTSP URL.
   What to do: look for the camera in the router's device list, check whether its IP changed, power-cycle the
   camera, and if needed set up the camera's Wi-Fi again in the app.
4. Are the credentials right? If VLC keeps asking for a username and password or reports an authentication failure,
   the usual cause is using the TP-Link account instead of the camera account; the next most common cause is a
   password containing @ # : /.
5. Connected but no picture? Too many devices may be watching the camera. Ask me to close the live view in the phone
   app and try again, or change the end of the URL to stream2.
6. URL format. Check this only after the five checks above pass.

Other problems:
- Garbled or broken picture: in VLC go to Tools > Preferences > Input / Codecs and set the RTSP transport to TCP.

[Do not do]
- Do not ask me for the camera credentials or a URL that contains them.
- Do not suggest exposing the camera to the internet (for example by port forwarding on the router). This guide only
  covers viewing inside the home network.
- Do not suggest changing the RTSP URL, VLC settings, or resetting the camera account before the network connection
  works.

Now start with item 1 under "How to work with me".