- UID
- 1626
- 积分
- 134
- 帖子
- 11
- 主题
- 5
- 论坛币
- 309
- 威望
- 0
- EP值
- 206
- MP值
- 0
- 阅读权限
- 50
- 注册时间
- 2013-12-11
- 在线时间
- 10 小时
- 最后登录
- 2015-9-26
|
新手下载论坛的 test_built_in 试验,把test_k.ass 换成自己用Aegisub的文件,解释TCC后,右键 "play" preview.avs 文件,出来的是Windows Media Player ,然后播放只有9秒,后来听人说把trim删掉,删后也只显示20秒,歌词是从38秒开始的,2分钟左右,可是Windows Media Player 只显示20秒就结束了,不知道什么问题呢?
test.TCC
# tcc file version
< tcc file version = 1.0 >
# mode configuration
< inherit ass header = false >
< k mode = syllable >
< text layout = horizontal >
< tcaxpy init = true >
< tcaxpy user = false >
< tcaxpy fin = true >
# py settings
< py file = !in_009.py > < beg line = 1 > < end line = 0 >
< py file = !main_003.py > < beg line = 1 > < end line = 0 >
< py file = !eft_002.py > < beg line = 1 > < end line = 0 >
< py file = !eft_003.py > < beg line = 1 > < end line = 0 >
< py file = !ext_001.py > < beg line = 1 > < end line = 0 >
< py file = !out_009.py > < beg line = 1 > < end line = 0 >
# main settings
< k-timed ass file = test_k.ass >
< font file = simsun.ttc > < font face id = 2 > < font size = 40 >
< fx width = 1280 > < fx height = 720 > < fx fps = 23.976 >
< alignment = 2 >
< x offset = 0 > < y offset = 15 >
< spacing = 0 > < space scale = 1.0 >
# style settings
< font face name = "" >
< bord = 1 > < shad = 0 >
< primary color = FF0000 > < secondary color = 00AAFF > < outline color = FFFF00 > < back color = 000000 >
< primary alpha = 0 > < secondary alpha = 0 > < outline alpha = 0 > < back alpha = 100 >
# additional settings
test_k.ass
[Script Info]
; Script generated by Aegisub 3.1.3
; http://www.aegisub.org/
Title: Default Aegisub file
ScriptType: v4.00+
WrapStyle: 0
ScaledBorderAndShadow: yes
YCbCr Matrix: None
PlayResX: 640
PlayResY: 480
Aegisub Scroll Position: 0
Aegisub Active Line: 0
Audio URI: 爱江山/爱江山更爱美人S650.mp3
Aegisub Video Zoom Percent: 0.625000
Last Style Storage: Default
Video File: ?dummy:23.976000:40000:640:480:47:163:254:
Aegisub Video Aspect Ratio: 0
Aegisub Video Position: 925
Export Encoding: Unicode (UTF-8)
Export filters: 卡拉OK模板|帧率转换|清除脚本信息|Clean Tags(整理特效标签)|修正样式
[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: Default,Arial,20,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,2,2,2,10,10,10,1
Style: ajs,宋体,50,&H0000FFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,2,2,2,10,10,10,1
[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:38.58,0:00:41.29,ajs,,0,0,0,,{\k0}{\k41}道{\k32}不{\k40}尽{\k42}红{\k39}尘{\k38}奢{\k39}恋
Dialogue: 0,0:00:41.47,0:00:44.75,ajs,,0,0,0,,{\k43}诉{\k39}不{\k36}完{\k39}人{\k40}间{\k39}恩{\k92}怨
Dialogue: 0,0:00:45.30,0:00:50.20,ajs,,0,0,0,,{\k40}世{\k41}世{\k37}代{\k39}代{\k120}都{\k37}是{\k176}缘
Dialogue: 0,0:00:50.57,0:00:53.70,ajs,,0,0,0,,{\k0}{\k50}流{\k43}着{\k56}相{\k56}同{\k43}的{\k65}血
Dialogue: 0,0:00:53.82,0:00:57.02,ajs,,0,0,0,,{\k38}喝{\k38}着{\k55}相{\k56}同{\k44}的{\k89}水
Dialogue: 0,0:00:57.57,0:01:02.25,ajs,,0,0,0,,{\k41}这{\k41}条{\k42}路{\k52}漫{\k52}漫{\k52}又{\k40}长{\k148}远
Dialogue: 0,0:00:00.00,0:00:05.00,ajs,,0,0,0,,
preview.avs
LoadPlugin("c:\tcax\VSFilter.dll") # 路径请自行设置
BlankClip(length=500, width=1280, height=720, fps=23.976, pixel_type="RGB32")
textsub("test.ass")
|
|