weizhenye / ASS

A lightweight JavaScript ASS subtitle renderer
https://ass.js.org
MIT License
523 stars 79 forks source link

MarginV计算有问题 #43

Closed jetamie closed 3 months ago

jetamie commented 10 months ago
[Script Info]
; Script generated by tangzhiqin
ScripType: v4.00+
PlayResX: 1080
PlayResY: 1920
ScaledBorderAndShadow: yes

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Title,Arial,70,&HFFFFFF,&HFFFFFF,&H0,&H0,1,0,0,0,100,100,0,0,1,10,2,8,0,0,320,1
Style: Default,Arial,75,&HFFFFFF,&HFFFFFF,&H0,&H0,1,0,0,0,100,100,0,0,1,10,2,8,0,0,0,1

[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:00.00,0:00:00.72,Default,,0,0,1280,,另外的话呢,
Dialogue: 0,0:00:00.00,0:00:00.72,Title,,0,0,320,,优惠活动信息
Dialogue: 0,0:00:00.72,0:00:01.88,Default,,0,0,1280,,刚才我们的小伙伴,
Dialogue: 0,0:00:00.72,0:00:01.88,Title,,0,0,320,,优惠活动信息
Dialogue: 0,0:00:01.88,0:00:03.44,Default,,0,0,1280,,我们的同事正在提醒我
Dialogue: 0,0:00:01.88,0:00:03.44,Title,,0,0,320,,优惠活动信息
Dialogue: 0,0:00:03.44,0:00:03.72,Default,,0,0,1280,,们哦,
Dialogue: 0,0:00:03.72,0:00:05.32,Default,,0,0,1280,,在我们的这个后台的话,
Dialogue: 0,0:00:05.32,0:00:05.44,Default,,0,0,1280,,呢,
Dialogue: 0,0:00:05.44,0:00:07.12,Default,,0,0,1280,,我们现在看到有很多代支付
Dialogue: 0,0:00:07.12,0:00:07.64,Default,,0,0,1280,,的订单,
Dialogue: 0,0:00:07.64,0:00:09.96,Default,,0,0,1280,,因为我们今天是这个,
Dialogue: 0,0:00:09.96,0:00:10.48,Default,,0,0,1280,,呃,
Dialogue: 0,0:00:10.48,0:00:11.56,Default,,0,0,1280,,我们今天的话呢,
Dialogue: 0,0:00:11.56,0:00:12.84,Default,,0,0,1280,,我们所有的名额都是限
Dialogue: 0,0:00:12.84,0:00:13.12,Default,,0,0,1280,,量的,
Dialogue: 0,0:00:13.12,0:00:14.56,Default,,0,0,1280,,因为我们是涉及到小波
Dialogue: 0,0:00:14.56,0:00:16.44,Default,,0,0,1280,,老师会今天笔签名的书签
Dialogue: 0,0:00:16.44,0:00:17.52,Default,,0,0,1280,,要赠送给大家。

MarginV = 1280 显示不了 视频大小是1080x1920的,这个用FFmpeg合并时没问题的