bilibili - ArchWiki

Jump to content

# bilibili

From ArchWiki

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: 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, bilibili videos can be played using hardware decoding, thus reducing the CPU usage.

### Other methods

- moonplayerAUR, you need to download the plug-in, see [1].
- bilidan-gitAUR, GitHub address: BiliDan.
- bilibili player developed by microcai.

## Download

### Using you-get

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

    $ you-get url

### Other methods

- GitHub project Iscript
- Browser plugins, such as DownloadHelper

Category:

- Multimedia