Home
Name Modified Size Downloads / Week Status
Totals: 14 Items   144.4 MB 11
ABPlayerHTML5-Py--nix1082.zip 2014-08-08 8.0 MB 11 weekly downloads
README.md 2014-08-08 5.2 kB 11 weekly downloads
ABPlayerHTML5-Py-Mac-1081.zip 2014-07-24 9.0 MB 11 weekly downloads
ABPlayerHTML5-Py-Mac-108.zip 2014-07-23 9.0 MB 11 weekly downloads
ABPlayerHTML5-Py-Mac-1073.zip 2014-07-01 8.9 MB 11 weekly downloads
ABPlayerHTML5-Py-Mac-1072.zip 2014-05-11 8.9 MB 11 weekly downloads
ABPlayerHTML5-Py-Mac-1071.zip 2014-04-27 40.9 kB 11 weekly downloads
ABPlayerHTML5-Py-Mac-107.zip 2014-04-02 16.8 MB 0
ABPlayerHTML5-Py-Mac-106.zip 2014-04-01 16.8 MB 11 weekly downloads
ABPlayerHTML5-Py-Mac-105.zip 2014-03-31 16.7 MB 0
ABPlayerHTML5-Py-Mac-104.zip 2013-12-20 16.7 MB 11 weekly downloads
ABPlayerHTML5-Py-Mac-103.zip 2013-12-19 16.7 MB 11 weekly downloads
ABPlayerHTML5-Py-Mac-102.zip 2013-12-13 16.7 MB 11 weekly downloads
ABPlayerHTML5-Py-Mac-101.zip 2013-12-13 166.1 kB 0

ABPlayerHTML5-Py--nix

A HTML5 solution of comment playing on *nix.

This is another solution of the damn fact that Mac, one of the best OS in human history, does not have a reliable and nice video commit software.

Written in Python, based on ABPlayerHTML5, this is a quick way to enjoy comment(DanMu) on Mac and *nix(To-Do) like systems.

Also check https://github.com/cnbeining/Mukioplayer-Py-Mac , this is the one with flash and MukioplayerPlus.

Download

I will upload every version here: https://sourceforge.net/projects/abplayerhtml5pynix/

However, feel free to download here via the ZIP file. I just want to provide you a way to download all the old versions.

Also, when it comes to other *nix systems, SF would be much better than Github...

Usage

Download all the files, extract into one folder. Personally I do not suggest you go anywhere above ‘~’, for you would meet all kinds of privilege problems, which I suppose would drive you mad.

Make sure you have a web browser which can play Flash.

Make sure you use Python 2.7 (this is provided along with OSX), and run ‘python abp.py’.

After “Vid”, drag in the video file you would like to play. Since 1.02, you should can use any file with H.264 and AAC, as long as ffmpeg can convert it.

For XML, drag in the XML file. Comment files from Bilibili would be OK, which had beed tested, while those from other sites are pending test. Please tell me the test result you have, this would be very helpful, and hereby I thank you in advance for your help. If the video name and the comment filename are the same, just press ENTER, and it will get the comment by itself. Enter.

For the first you run it, OSX may ask you for approving the connections. Does not matter whether you allow or not.

Now the browser would open by herself, enjoy it!

After you use it, BE SURE to input Ctrl+C in the bash window! Though I have made some improvement to enhance the security, better safe than sorry.

Things you should know

Please do not include anything besides characters or numbers in your folder or filename. There ’s no guarantee that symbols would be cool. However, since the ways that video and danmaku files are called are different between Mukioplayer-Py-Mac and this programme, some file/folder name that would work there may fail here.

Only Chrome or Safari will work. Firefox or Opera on *nix cannot read MP4. No why, they just can't.

Make sure you use Python 2.7, 3.3 won’t work for it doesn’t have some important network modules.

This software is not made for playing anything above the folder “~”. Don’t get surprised if it gives you funny results. (Update: Now it should can play things regardless the original location.)

If you don't have FFmpeg, copy the ffmpeg here to /usr/bin/, or the auto transcode will fail.

If somehow the player failed to load, try refreshing the page, for the programme has to copy the original file first before you can visit.

I am completely new to Python and programming, so do please help me to improve this, and I would appreciate it very much.

Looking for quick way to download videos and comments from Bilibili under OSX? Try this:http://www.cnbeining.com/?s=Biligrab , or https://github.com/cnbeining/Biligrab .

About me

Beining, CDC of ACI-CFG, CS student of UToronto.

Get in touch with me via cnbeining[at]gmail.com , or at http://www.cnbeining.com

Copyleft

A number of opensource codes are used in this little project, especially the main programme, ABPlayerHTML5. The website of ABPlayerHTML5 is https://github.com/jabbany/ABPlayerHTML5 , MIT License, used under authorization of original developer.

The part of web server is from http://xiaket.org/ , author:Xia Kai xiaket@corp.netease.com/xiaket@gmail.com .

This project uses MIT licence.

Update history

.08.2: Fix #3, use ~ as root.

.08.1: Fix cannot read danmaku in different, due to failed to do tests.

.08: Add full screen support, pull update from upstream, make it possible to read JSON files. NOT SUPPORTED FOR NOW

.07.3: Merge the upstream update by 02:12 EDT, Jul.1.2014. Change the scale of comment speed. JSON files are currently NOT supported.

.07.2: Merge the upstream update by 01:17 EDT, May.11.2014. Change the scale of comment speed. Change the font in CSS file for better look under OSX.

.07.1: Merge the upstream update by 15:30 EDT, Apr.27.2014. Stop distributing ffmpeg binary with this programme.

.07: Use raw_input, now you do not need to input " ' "_ before files.

.06: Update from the mainstream, merge all the updates since Dec.15.2013. Also reduce the speed of comments, thanks to @yao.ot's report and pull request #5 of ABPlayerHTML5 : https://github.com/jabbany/ABPlayerHTML5/pull/5 . Redo the Readme.

.05: Fix the problem that if ~/.cache does not exist, it will return a 404. Also fix the version number problem.

.04: Fix Issue #1 in a way, now Chrome and Safari are both good to play with more stable backbone.

.03:Update as the original programme updates, willing to fix the navigation problem. Chrome is having unknown problem, and is pending review.

.02: Able to convert files by itself.

.01: First version

Source: README.md, updated 2014-08-08