Damaku2ASS用来将来自Nicoico/Acfu/Bilibili的评论转成ASS格式,这样就可以在任意支持ASS字母的媒体播放器中使用弹幕。
使用方法:
usage: damaku2ass.py [-h] [-f FORMAT] [-o OUTPUT] -s WIDTHxHEIGHT [-f FONT] [-fs SIZE] [-a ALPHA] [-dm SECONDS] [-ds SECONDS] [-fl FILTER] [-p HEIGHT] [-r] FILE [FILE ...]positioal argumets: FILE Commet file to be processedoptioal argumets: -h, --help show this help message ad exit -f FORMAT, --format FORMAT Format of iput file (autodetect|Bilibili|Tudou2|MioMi o|Acfu|Nicoico|Tudou) [default: autodetect] -o OUTPUT, --output OUTPUT Output file -s WIDTHxHEIGHT, --size WIDTHxHEIGHT Stage size i pixels -f FONT, --fot FONT Specify fot face [default: sas-serif] -fs SIZE, --fotsize SIZE Default fot size [default: 25] -a ALPHA, --alpha ALPHA Text opacity -dm SECONDS, --duratio-marquee SECONDS Duratio of scrollig commet display [default: 5] -ds SECONDS, --duratio-still SECONDS Duratio of still commet display [default: 5] -fl FILTER, --filter FILTER Regular expressio to filter commets -p HEIGHT, --protect HEIGHT Reserve blak o the bottom of the stage -r, --reduce Reduce the amout of commets if stage is full







评论