如何在 Arch-Based Distros 上观看 AceStream 视频
Ace Stream 是一款基於 P2P(點對點)技術的 媒體串流平台,研發始於 2010 年,其靈感來自 BitTorrent 的技術,目標是將 BitTorrent 的 P2P 優勢應用於即時串流媒體,尤其是直播內容如體育賽事等。
Ace Stream 的核心技術使用了 TorrentStream(TS)引擎,這是一個基於 BitTorrent 的開源框架,專為即時串流優化。
特色包括:
低延遲:優化的 P2P 協議減少直播延遲。
高畫質:支援 HD 和 4K 串流,視節點數量而定。
跨平台:支援 Windows、Linux、Android、macOS,
Ace Stream 最初版本主要針對 Windows 平台,後來才擴展到 Linux、Android 和 macOS。
2012-2013 年,Ace Stream 推出了 Ace Stream Engine 和 Ace Player HD(基於 VLC 的播放器),形成完整的串流生態系統。用戶透過輸入 內容 ID (Content ID) 來完成。內容 ID 格式例子: acestream://abc123def456,或是 abc123def456,類似 Torrent 的磁力連結。
在 Arch-Based Distros 上观看 AceStream 视频,可以通过以下幾種方法來实现。
方法一
使用 AceStream Engine + acestream-launcher+ 播放器 (MPV、Smplayer、Celluloid 、VLC)
安装 acestream-engine 和 acestream-launcher 可以利用以下指令:
yay -S acestream-engine
yay -S acestream-launcher
如果 Distro 沒有預裝好 yay 指令,可以用以下步驟來安裝:
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
之後就可以安裝所需的播放器 (MPV、Smplayer、Celluloid 、VLC),例如
sudo pacman -S mpv
開始观看步驟
打开一个终端 (terminal),在终端上輸入以下命令来启动引擎:
acestream-engine
並让它一直在后台运行。
跟著尋找你想觀看的 AceStream 链接 (内容 ID)。通常我會透過 ”Ace Stream Broadcasts Search” 這個網站來尋找: https://acestreamsearch.net/en/?q=bein 。
例如當我想觀看 Bien Sports 視頻時,我只要輸入 Bien 便會得出上圖結果。又假如我想看 Bien Sports 3 台的節目,我只需 Right Click on Bien Sports 3 台,然後按 Copy Link便可以取得其 Content ID : acestream://ed81c333815247536edfcdb2755147e8c4144d62,然後再在 Terminal 上輸入以下指令,便可裝視頻在 MPV Player 上播放出來。
acestream-launcher “acestream://ed81c333815247536edfcdb2755147e8c4144d62” –player=mpv
acestream-launcher 會將 Ace Stream 連結轉換為 HTTP 串流 URL,然後將其在 mpv 中開啟,播放。
如果想在其他播放器上播放,則可以改為:
acestream-launcher “acestream://ed81c333815247536edfcdb2755147e8c4144d62” –player=smplayer
acestream-launcher “acestream://ed81c333815247536edfcdb2755147e8c4144d62” –player=celluloid
acestream-launcher “acestream://ed81c333815247536edfcdb2755147e8c4144d62” –player=vlc
方法二
另一個方法便是 Double Click on the link, 下圖便會出現:
點擊 'Open Link' ,稍允等一會,視頻就會開始播出。這個方法相當簡單,但只會在 mpv 上播出。
方法三
使用 Snap 套件: Ace Stream Player
Ace Player 是基於 VLC 開發的播放器,支援直接播放 Ace Stream 連結。
安裝 Ace Stream Player:
git clone https://aur.archlinux.org/snapd.git
cd snapd
makepkg -si
sudo systemctl enable --now snapd.socket
sudo
snap install acestreamplayer
我們只需將 Ace Stream 連結,Drag & Drop 到 Ace Stream Player 上便可以觀看。