• R/O
  • HTTP
  • SSH
  • HTTPS

kosys-ep02: 提交


Commit MetaInfo

修訂46908288e6d853bc79ec856e0771a3b75a6b1c99 (tree)
時間2016-11-28 21:08:23
作者butameron <butameron@opap...>
Commiterbutaman

Log Message

AVS修正。EDをコンテ撮に差替え。タイムコードをゼロベースに変更。

Change Summary

差異

--- a/common.avs
+++ b/common.avs
@@ -106,6 +106,7 @@ function ShowSceneTimeCodeIfPreview(clip clip, string scene)
106106
107107 function _MainTimeCode(clip clip, int index)
108108 {
109+ index = index - 1 #ゼロベースに変換
109110 current_time = 1.0 * index / FPS
110111 h = Int(current_time / 3600) + 1 #1Hスタート
111112 m = Int(Int(current_time) % 3600 / 60)
@@ -126,6 +127,7 @@ function _MainTimeCode(clip clip, int index)
126127
127128 function _SubTimeCode(clip clip, int index, int x, int y, int size)
128129 {
130+ index = index - 1 #ゼロベースに変換
129131 current_time = 1.0 * index / FPS
130132 h = Int(current_time / 3600)
131133 m = Int(Int(current_time) % 3600 / 60)
--- a/doga/ED.avs
+++ b/doga/ED.avs
@@ -1,7 +1,10 @@
11
22 Import("..\common.avs")
33
4-video = ImageSource("ED/EDkari.png", 0, 100 * FPS - 1, FPS, true, false, "RGB32").Subtitle("ED", size=80).BilinearResize(WIDTH, HEIGHT)
4+#video = ImageSource("ED/EDkari.png", 0, 100 * FPS - 1, FPS, true, false, "RGB32").Subtitle("ED", size=80).BilinearResize(WIDTH, HEIGHT)
5+
6+video = LWLibavVideoSource("..\conte\EDconte\ED2conte.mp4").BilinearResize(WIDTH, HEIGHT).ChangeFPS(FPS).ConvertToRGB32()
7+video = video + video.BlankClip(length=2 * FPS + 14)
58
69 video = video.ShowSceneTimeCodeIfPreview("ED")
710
Show on old repository browser