Commit Graph

205 Commits

Author SHA1 Message Date
Star Brilliant
238d76d1da Replace round with %.0f 2014-06-14 22:55:57 +08:00
Star Brilliant
c5443f6f55 Add logging.basicConfig 2014-06-14 20:30:11 +08:00
Star Brilliant
f20f92e3bd Round the result in ConvertColor 2014-06-11 19:12:57 +08:00
Star Brilliant
d0e5fd8b90 Handle the situation that rotation makes object behind the camera 2014-06-11 00:01:45 +08:00
Star Brilliant
eca0f7403d Fix mistype
... in commit a145947772
2014-06-10 22:25:02 +08:00
Star Brilliant
ac5968bf61 Merge branch 'dev-bt709' 2014-06-10 22:23:03 +08:00
Star Brilliant
a145947772 Revert "Correct ASS focal length to width*4/3"
This reverts commit 4fa2a01e1e.
2014-06-10 22:22:40 +08:00
Star Brilliant
5733e62589 Manual BT.709 conversion 2014-06-10 22:16:56 +08:00
Star Brilliant
4fa2a01e1e Correct ASS focal length to width*4/3 2014-06-10 20:32:14 +08:00
Star Brilliant
4eac91de37 Merge branch 'dev-noround' 2014-06-10 20:12:56 +08:00
Star Brilliant
757412a954 Fix mistype
... in commit 2fe749bb23
2014-06-10 20:09:49 +08:00
Star Brilliant
24e2277c80 Replace round with %.0f 2014-06-10 20:09:24 +08:00
Star Brilliant
752bf2ac39 jpgcrush screenshot.jpg 2014-06-10 19:52:55 +08:00
Star Brilliant
2fe749bb23 ZeroDivisionError handling in ConvertFlashRotation 2014-06-10 19:46:48 +08:00
Star Brilliant
7b185020c7 Merge branch 'exp-3drot' 2014-06-08 21:16:04 +08:00
Star Brilliant
f1f30bfa19 Replace leading space with "\u2007" 2014-06-08 21:13:36 +08:00
Star Brilliant
05d4adfae4 Experimental 3D rotation handling 2014-06-08 20:59:22 +08:00
Star Brilliant
e0624b3b54 Experimental 3D rotation handling 2014-06-08 20:53:53 +08:00
Star Brilliant
60022a62f1 test-3drot.py 2014-06-08 20:48:43 +08:00
Star Brilliant
83808e3f8d test-3drot.py 2014-06-08 20:46:24 +08:00
Star Brilliant
f5901c751e Experimental 3D rotation handling 2014-06-08 20:35:32 +08:00
Star Brilliant
e1efa02113 Experimental 3D rotation handling 2014-06-08 19:13:25 +08:00
Star Brilliant
6adac57087 New experimental rotation handling 2014-06-05 21:50:00 +08:00
Star Brilliant
12fa6bf48b Experimental: temporary disable Y axis perspective correction 2014-05-01 11:09:11 +08:00
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
Star Brilliant
a50e421aaa Merge pull request #5 from 910JQK/master
Add support for sH5V positioned comment
2014-02-03 03:19:25 -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