Play videos on Bilibili.com with MPV and Danmaku2ASS
OTHER License
Play videos on Bilibili.com with MPV and Danmaku2ASS
Note: This project is not maintained anymore, and is not guaranteed to work. I will not add new features in predictable future. For any need of improving or fixing, please send me a pull request for me to merge your code in. Thank you for your long-time support.
Pull Request
Pull Request
Pull Request
Note that Libav does not work. See why FFmpeg is preferred.
./bilidan.py http://www.bilibili.com/video/av899574/
./bilidan.py http://www.bilibili.com/video/av314/ # High density comments!
./bilidan.py http://www.bilibili.com/video/av332732/index_7.html # Extreme density!
./bilidan.py http://www.bilibili.com/video/av297197/ # Even Toukome (advanced comments)!
Use option --source overseas
if your are outside China. And --source html5
to use the the experimental HTML5 API.
Use --fakeip
if you can't get valid media URLs due to ip restrictions.
--cookie
option.--overseas
.--mpvflags '--framedrop yes'
.--d2aflags 'duration_marquee=5'
to set comment flow speed.--d2aflags 'text_opacity=0.8'
to set comment opacity.Like the original Biligrab, Biligrab-Danmaku2ASS is licensed under MIT license as well. This program is provided as is, with absolutely no warranty.