TCAX 字幕特效制作工具官方论坛 | ASS | TCAS | Python | Aegisub | Lua

标题: 预览avs出错! [打印本页]

作者: 5231251    时间: 2011-10-15 18:00:06     标题: 预览avs出错!

tcax.jpg



LoadPlugin("G:\tcax\tcasFilter.dll")  # 路径请自行设置
LoadPlugin("G:\tcax\VSFilter.dll")  # 路径请自行设置

v = DirectShowSource("op.mp4", convertfps=true)
v1 = v.ChangeFPS(23.976)
v2 = BlankClip(length=10, width=1280, height=720, fps=23.976, pixel_type="YV12", color=$000000, audio_rate=48000, channels=2)
v3 = v2 + v1
v4 = v3.tcasSub("working_II_op.tcas").TextSub("working_II_op.ass").tcasSub("working_II_op_cn.tcas").TextSub("working_II_op_cn.ass")

return v4


图片附件: tcax.jpg (2011-10-15 17:59:16, 29.33 KB) / 下载次数 718
http://tcax.org/forum.php?mod=attachment&aid=ODl8MzE1OGY4ZGJ8MTcxNDg4NzQ5M3wwfDA%3D


作者: milkyjing    时间: 2011-10-15 18:32:57

出错提示信息说是音频频道数不匹配, 你看下op.mp4的媒体信息吧.

I:\RIXE\examples\FXs\Working\OP\op.mp4
   General
      Complete name : I:\RIXE\examples\FXs\Working\OP\op.mp4
      Format : MPEG-4
      Format profile : Base Media
      Codec ID : isom
      File size : 21.9 MiB
      Duration : 1mn 30s
      Overall bit rate : 2 037 Kbps
      Encoded date : UTC 2011-10-06 06:04:44
      Tagged date : UTC 2011-10-06 06:04:44
   Video #1
      ID : 1
      Format : AVC
      Format/Info : Advanced Video Codec
      Format profile : High@L3.1
      Format settings, CABAC : Yes
      Format settings, ReFrames : 4 frames
      Codec ID : avc1
      Codec ID/Info : Advanced Video Coding
      Duration : 1mn 30s
      Bit rate mode : Variable
      Bit rate : 1 870 Kbps
      Maximum bit rate : 4 262 Kbps
      Width : 1 280 pixels
      Height : 720 pixels
      Display aspect ratio : 16:9
      Frame rate mode : Constant
      Frame rate : 23.976 fps
      Resolution : 8 bits
      Colorimetry : 4:2:0
      Scan type : Progressive
      Bits/(Pixel*Frame) : 0.085
      Stream size : 20.1 MiB (92%)
      Writing library : x264 core 116 r2074 2641b9e
      Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=tesa / subme=10 / psy=1 / psy_rd=0.00:0.00 / mixed_ref=1 / me_range=64 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=0 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=250 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.50 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=2:1.00
      Encoded date : UTC 2011-10-06 05:52:27
      Tagged date : UTC 2011-10-06 06:04:44
   Audio #2
      ID : 2
      Format : AAC
      Format/Info : Advanced Audio Codec
      Format version : Version 4
      Format profile : LC
      Format settings, SBR : No
      Codec ID : 40
      Duration : 1mn 30s
      Bit rate mode : Variable
      Bit rate : 164 Kbps
      Maximum bit rate : 179 Kbps
      Channel(s) : 2 channels
      Channel positions : L R
      Sampling rate : 48.0 KHz
      Resolution : 16 bits
      Stream size : 1.76 MiB (8%)
      Encoded date : UTC 2011-10-06 06:04:44
      Tagged date : UTC 2011-10-06 06:04:44

我这边预览正常的, 莫非是Avisynth版本问题? (我用的是2.5.8)



作者: 5231251    时间: 2011-10-15 19:31:40

我的貌似是2.5的
作者: 5231251    时间: 2011-10-15 19:34:27

貌似出错的是v3 = v2 + v1这行?


未命名12.jpg


图片附件: 未命名12.jpg (2011-10-15 19:34:24, 57.05 KB) / 下载次数 729
http://tcax.org/forum.php?mod=attachment&aid=OTB8ZGFiZmQ3N2N8MTcxNDg4NzQ5M3wwfDA%3D


作者: milkyjing    时间: 2011-10-15 20:11:15

5231251 发表于 2011-10-15 19:34
貌似出错的是v3 = v2 + v1这行?

恩, 如果两个clip的格式有不一致的地方就无法相加...

如果是版本不对的话, http://www.tcax.org/forum.php?mo ... id=11&fromuid=2
作者: ひまり    时间: 2011-11-17 16:10:24

我的是Video don't match.....怎么回事啊。。。




欢迎光临 TCAX 字幕特效制作工具官方论坛 | ASS | TCAS | Python | Aegisub | Lua (http://tcax.org/) Powered by Discuz! X2