Commit Graph

139 Commits

Author SHA1 Message Date
Star Brilliant
a18c90d7c3 Experimental rotation conversion 2014-04-30 20:36:09 +08:00
Star Brilliant
6abc7338e2 Calculate WrapAngle(angle) in advance 2014-04-29 21:56:48 +08:00
Star Brilliant
344ee7c867 Fix typo: a minus sign 2014-04-29 21:50:05 +08:00
Star Brilliant
996839a490 Add testdrive test-3drot.py 2014-04-29 21:08:22 +08:00
Star Brilliant
f598670da8 Experimental rotation conversion 2014-04-28 23:12:36 +08:00
Star Brilliant
83d23a8c99 Experimental rotation conversion 2014-04-28 21:37:59 +08:00
Star Brilliant
0b7415b561 Experimental rotation conversion 2014-04-28 19:53:23 +08:00
Star Brilliant
4f451da99b Pass rotation angles directly when rotY or rotZ equals to 0 or 180 degrees 2014-04-28 13:08:36 +08:00
Star Brilliant
f95697edd8 New ConvertFlashRotation algorithm
Algorithm based on https://github.com/m13253/danmaku2ass/issues/7#issuecomment-41489422
2014-04-27 20:29:49 +08:00
Star Brilliant
b509e0b35e Adjust Bilibili player size 2014-04-26 21:47:13 +08:00
Star Brilliant
9e723bb12e Experimental shear correction 2014-04-21 23:51:51 +08:00
Star Brilliant
9234349026 Fix ConvertFlashRotation 2014-04-19 00:09:52 +08:00
Star Brilliant
029f40c5c3 Add alternative resolution for Bilibili player version 2012 2014-04-12 19:04:42 +08:00
Star Brilliant
03434aa154 3D rotation adjustment for Acfun 2014-04-12 15:38:27 +08:00
Star Brilliant
e49b2e1bb7 3D rotation adjustment for Bilibili 2014-04-12 15:04:41 +08:00
Star Brilliant
5eff4eb19c Add function ConvertFlashRotation 2014-04-12 14:33:31 +08:00
Star Brilliant
0a6a50b7aa Not closing file if passing in a file instead of a filename 2014-04-06 23:01:02 +08:00
Star Brilliant
f6a7601fd7 PEP8-ize 2014-02-03 19:23:09 +08:00
Star Brilliant
14e17c8af3 text_opaque -> text_opacity 2014-02-03 19:22:00 +08:00
910JQK
c7a8cdeaab README and Help - "opaque" -> "opacity" 2014-02-03 18:54:40 +08:00
910JQK
0aad472e48 Solve rotate problem and re-add space line 2014-02-03 16:54:30 +08:00
910JQK
49b338b1f9 Add support for sH5V positioned comment 2014-02-02 19:22:15 +08:00
Star Brilliant
84cc08f7f3 Check isinstance(filename, bytes) in case the caller passed a bytes instead of a str 2013-12-21 23:51:02 +08:00
Star Brilliant
03e089ef4a Add ScaleBorderAndShadow: yes to the resulting ASS file 2013-12-20 20:52:08 +08:00
Star Brilliant
c4ce7ddcc8 Use true division
Getting prepared for Python 2.7 porting
2013-12-16 00:14:01 +08:00
Star Brilliant
6ae42a6e95 Replace non-UTF-8 characters with placeholder 2013-12-16 00:08:13 +08:00
Star Brilliant
6c48118535 Add declarations at the top of danmaku2ass.py 2013-12-15 15:20:42 +08:00
Star Brilliant
bd1e48eb34 Use UTF-8 BOM 2013-12-13 23:28:42 +08:00
Star Brilliant
2ad8d81ba9 Basic support for Acfun positioned comment
Text filters are not supported, because they are Adobe Flash things.
2013-12-09 00:24:17 +08:00
Star Brilliant
976ecd5044 Basic support for Acfun positioned comment 2013-12-08 00:31:03 +08:00
Star Brilliant
9a93af5e99 Basic support for Acfun positioned comment 2013-12-07 23:38:35 +08:00
Star Brilliant
6efd7a4987 Make GetZoomFactor a public function 2013-12-07 18:27:17 +08:00
Star Brilliant
65ca48d184 Boundary condition 2013-12-02 22:38:44 +08:00
Star Brilliant
b861fed666 Remove deprecated NeedWhiteBorder 2013-12-01 17:07:42 +08:00
Star Brilliant
7b1d3baad2 Adjust styles 2013-12-01 16:56:42 +08:00
Star Brilliant
c667567c01 Boundary condition 2013-12-01 16:48:28 +08:00
Star Brilliant
5b6d672690 Handle exception during opening output file 2013-12-01 00:28:38 +08:00
Star Brilliant
f27f9fe259 Fix 71776ba
Fix commit 71776baccc
2013-11-28 00:16:49 +08:00
Star Brilliant
71776baccc Optimize TestFreeRow
This commit has not fully tested yet. If you experience problems, please submit an issue.
2013-11-28 00:00:28 +08:00
Star Brilliant
1a344ed050 Print usage when no arguments are passed 2013-11-24 17:07:14 +08:00
Star Brilliant
5cad1dbe69 Show default values in help message 2013-11-24 15:38:52 +08:00
Star Brilliant
c2b96ff64b Reformat ASS tags 2013-11-24 14:08:22 +08:00
Star Brilliant
fbe2d8ac49 Fix TestFreeRows 2013-11-24 13:59:15 +08:00
Star Brilliant
32d2838527 Fix fade feature for bilibili positioned comments 2013-11-24 13:04:44 +08:00
Star Brilliant
2f8f4cf63f Fix Y-axis rotation 2013-11-24 12:59:09 +08:00
Star Brilliant
aefd39014c Add function ASSEscape 2013-11-17 15:06:15 +08:00
Star Brilliant
89037da921 Modify GetZoomFactor 2013-11-17 14:00:45 +08:00
Star Brilliant
1b3b33b493 Add support for reversed comments 2013-11-17 13:52:46 +08:00
Star Brilliant
160d173c19 Fix Y-axis rotation 2013-11-17 13:48:06 +08:00
Star Brilliant
fa0e3681bf PEP8-ize 2013-11-17 09:10:12 +08:00
Star Brilliant
a599141084 Set border size to fontsize/25 2013-11-17 09:09:13 +08:00
Star Brilliant
8102d3faaf Use list.extend instead of inserting one by one 2013-11-16 23:15:44 +08:00
Star Brilliant
665878fd72 Ignore Niconico advanced comments 2013-11-16 23:14:24 +08:00
Star Brilliant
cf8e1b3944 Modify NiconicoColorMap 2013-11-16 22:48:06 +08:00
Star Brilliant
5bf0a73189 Adjust styles 2013-11-16 22:37:58 +08:00
Star Brilliant
a80b5f2df3 Treat reversed comments as ordinary comments 2013-11-16 22:18:18 +08:00
Star Brilliant
42c2963bf0 Fix ConvertTimestamp 2013-11-16 22:11:31 +08:00
Star Brilliant
72b2e77414 Add support for Bilibili positioned comment 2013-11-16 22:06:10 +08:00
Star Brilliant
6ab57a45cd Basic support for Bilibili positioned comment 2013-11-16 13:51:32 +08:00
Star Brilliant
eb96cd2053 Fix \n issue 2013-11-09 18:56:00 +08:00
Star Brilliant
6889f26328 Fix ConvertTimestamp(1.995)=='0:00:01.100' issue 2013-11-08 19:54:14 +08:00
Star Brilliant
0ce582d53a Expose Danmaku2ASS, ReadComments, GetCommentProcessor functions 2013-11-08 19:47:11 +08:00
Star Brilliant
e5bf232253 Filter chars under \x20 2013-11-03 22:58:05 +08:00
Star Brilliant
6e7abd7406 Use enumerate for counting 2013-11-03 18:34:09 +08:00
Star Brilliant
4c3955a5cb Add progress callback 2013-11-03 18:31:54 +08:00
Star Brilliant
8ef9c8e790 Check Python version 2013-11-03 18:20:45 +08:00
Star Brilliant
d3d22c0ade Filter chars under \x20 2013-11-03 11:59:52 +08:00
Star Brilliant
0563194b82 Fix timestamp problem 2013-11-03 02:21:54 +08:00
Star Brilliant
da632631a2 Test whether input_files is a str 2013-11-03 00:35:09 +08:00
Star Brilliant
4a3669da64 Add comments in ass file 2013-11-03 00:29:32 +08:00
Star Brilliant
119576eae4 Add support for MioMio
http://www.miomio.tv/
2013-11-02 21:04:34 +08:00
Star Brilliant
4bcd19c054 Add unique style ID 2013-11-02 20:32:36 +08:00
Star Brilliant
a73be9f624 Expose a Danmaku2ASS function for other frontends to call 2013-11-02 20:26:01 +08:00
Star Brilliant
7e5091e28c Add docs 2013-11-02 20:11:38 +08:00
Star Brilliant
779d13d291 Rearrange source 2013-11-02 19:58:10 +08:00
Star Brilliant
d5da9698a1 Add support for Komica
http://komica.org
http://komica.yucie.net/video/
2013-11-02 19:40:30 +08:00
Star Brilliant
69cef99732 Add support for tucao.cc
http://www.tucao.cc/
2013-11-02 19:30:45 +08:00
Star Brilliant
b7184bbe91 Add support for Himawari Douga
http://himado.in/
2013-11-02 13:22:51 +08:00
Star Brilliant
26fe6fdfa0 Add Tudou DouPao support
http://dp.tudou.com/
2013-11-02 01:07:45 +08:00
Star Brilliant
cab81e36ea Reformat code 2013-10-13 15:03:36 +08:00
Star Brilliant
394fde905d Fix ConvertTimestamp bug 2013-10-13 15:03:36 +08:00
910JQK
f6d4e06c34 Add sH5V
sH5V project: https://github.com/910JQK/sH5V

This commit merges pull request #1
2013-10-13 15:02:37 +08:00
Star Brilliant
dbfed2c4ce Fix locale issues 2013-10-01 09:13:32 +08:00
Star Brilliant
beffb79613 Fix packaging 2013-10-01 09:07:54 +08:00
Star Brilliant
4701fc7cd3 Update translations 2013-09-30 23:27:33 +08:00
Star Brilliant
7e0b0cf2eb Fix FindAlternativeRow 2013-09-21 12:04:11 +08:00
Star Brilliant
0e4a20b2f0 Update translate 2013-09-20 18:27:33 +08:00
Star Brilliant
7e42f2bda8 I18n support 2013-09-20 17:37:24 +08:00
Star Brilliant
5cee2983bc convert.py => danmaku2ass.py 2013-09-20 16:36:16 +08:00