From ArchWiki

Tango-edit-cut.pngThis section is being considered for removal.Tango-edit-cut.png

Reason: This page covers how to interact with a streaming website : this is irrelevant to Arch Linux. (Discuss in Talk:Bilibili)

bilibili, also known as "哔哩哔哩" or simply "B 站", is a barrage video website in mainland China, the website of Shanghai Oriental Media (Group) Co., Ltd., its predecessor is the video sharing website Mikufans.

Play method

HTML5 play

bilibili already supports HTML5 playback.

Using you-get and mpv

Install you-get and mpv.

First use you-get -u url to get the streaming video address, where url for the video playback page URL, and then use the following command to play the video:

$ mpv --no-ytdl --http-header-fields="referer:" video_url --audio-file audio_url

stream_url is the streaming media address obtained using you-get.

Tip: After configuring hardware video acceleration, bilibili videos can be played using hardware decoding, thus reducing the CPU usage.

Other methods


Using you-get

Use this command to download (where url is the URL of the video playback page):

$ you-get url

Other methods