bilibili

From ArchWiki
Jump to navigation Jump to search

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

Currently bilibili already supports HTML5 playback.

Use you-get and mpv

Install you-get and mpv.

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

mpv --no-ytdl --http-header-fields="referer: https://www.bilibili.com" video_url --audio-file audio_url

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

Tip: After configuring Hardware video acceleration , you can realize the hard solution to play the video of bilibili, reducing the CPU usage.

Other methods

Download

Use you-get

Use this command to download:

you-get [url]  # url is the URL of the video playback page

Other methods