最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

Reaper視頻文件添加時間軸腳本

2022-09-23 16:16 作者:一杯_Sound  | 我要投稿


貼個筆記,日后方便查找

以下是腳本

// Timecode overlay


font="Arial";


//@param1:size 'text height' 0.1 0.01 0.5 0.25 0.01

//@param2:ypos 'y position' 0.90 0 1 0.5 0.01

//@param3:xpos 'x position' 0.5 0 1 0.5 0.01

//@param4:border 'border' 0.03 0 1 0.5 0.01

//@param5:fgc 'text bright' 1.0 0 1 0.5 0.01

//@param6:fga 'text alpha' 1.0 0 1 0.5 0.01

//@param7:bgc 'bg bright' 0 0 1 0.5 0.01

//@param8:bga 'bg alpha' 0.5 0 1 0.5 0.01

//@param9:h_off 'hours offset' 0 -23 23 0 1

//@param10:m_off 'minutes offset' 0 -59 59 0 1

//@param11:s_off 'seconds offset' 0 -59 59 0 1

//@param12:f_off 'frames offset' 0 -29 29 0 1

?


offset = 3600*h_off + 60*m_off + s_off + f_off/framerate;


time_value = time / (ceil(framerate)/framerate) + offset;


hours = time_value/3600;

minutes = (time_value / 60) % 60;

seconds = time_value % 60;

frames = (time_value - floor(time_value))*framerate;


#timecode = sprintf(#, "%02d:", hours);

#timecode += sprintf(#, "%02d:", minutes);

#timecode += sprintf(#, "%02d:", seconds);

#timecode += sprintf(#, "%02d", frames);

// #timecode += sprintf(#, "? %.3f s", time); // abs. time

// #timecode += sprintf(#, "%10d f", (time*framerate)); // abs. frames


gfx_blit(0,1);

gfx_setfont(size*project_h,font,'B');

gfx_str_measure(#timecode,txtw,txth);

yt = (project_h- txth*(1+border*2))*ypos;

gfx_set(bgc,bgc,bgc,bga);

gfx_fillrect(xpos * (project_w-txtw*(1+border*2)), yt, txtw*(1+border*2), txth*(1+border*2));

gfx_set(fgc,fgc,fgc,fga);

gfx_str_draw(#timecode,xpos * (project_w-txtw),yt+txth*border);


Reaper視頻文件添加時間軸腳本的評論 (共 條)

分享到微博請遵守國家法律
韩城市| 邵武市| 昌图县| 定州市| 商都县| 抚宁县| 南木林县| 方城县| 英山县| 彰武县| 额敏县| 繁峙县| 武功县| 平远县| 南安市| 抚顺市| 奇台县| 桂阳县| 乌拉特后旗| 武威市| 城口县| 大庆市| 靖边县| 镇平县| 那坡县| 滁州市| 卓尼县| 华安县| 株洲市| 加查县| 鄱阳县| 曲麻莱县| 黄石市| 区。| 延寿县| 涪陵区| 文化| 上杭县| 罗定市| 神木县| 县级市|