2010-05-05, 07:54 | Link #1041 | ||
Aegisub dev
Join Date: Sep 2004
Location: Stockholm, Sweden
Age: 39
|
Quote:
Quote:
For that you don't generally use fxgroups but inline-fx.
__________________
|
||
2010-05-05, 11:33 | Link #1043 |
Hagane no Renkinjutsushi
Join Date: May 2009
Location: Greece
|
Couldn't u make a function that returns only odd numbers? Like :
Code Line : Start_val=1 Cur_val=Start_val+2 Start_val = Cur_Val EDIT : The code doesn't work correctly..Needs a better loop modifier..Just posted to provide the main idea.. Last edited by LelouchVII; 2010-05-05 at 12:09. |
2010-05-05, 13:02 | Link #1044 |
Junior Member
Join Date: May 2010
|
I've made a Karaoke line, but for some reason, I can't play it well with the video :S
I used the following Template syl: {\pos($sx, $sy)\t($sstart,!$sstart+500!,\fr220)\t($sstart,!$s end+500!,\1a&HFF&)} The text rotates 220 degrees and fade in the same time. Behind the text, there is the same text, but without karaoke and a different collor. the text rotates and fade away and the text behind it becomes visible. I muxed it with the video and audio file, but the video becomes very slow, like a old computer trying to play a 1080p file. I´m sure my computer is powerfull enough. I used Aegisubs to make the .ass file and I used mkvmerge Gui to mux it with the video and audio. The video resolution is 1920x1080. Is there something I did wrong? So far I know I used normal effects :P |
2010-05-05, 14:39 | Link #1045 |
Aegisub dev
Join Date: Sep 2004
Location: Stockholm, Sweden
Age: 39
|
VSFilter is horrible slow software and you can't count on it being fast enough to render slightly complex things in real-time. That's why it's still customary to hardsub karaoke effects. (Or be modern and scrap the karaoke entirely so the viewers can better enjoy the animation studio's art.)
__________________
|
2010-05-05, 20:20 | Link #1046 | |
Member
|
Quote:
Code:
code syl: fxgroup.odd = ((syl.i%2)*2-1 == 1); Code:
code once: index_s = {1, 3, 6, 9} code syl: fxgroup.blur = (syl.i == index_s); If i use inline-fx, the code doesn't work as I want, Code:
{\k22}A{\k25}o{\k43}i {\k33}so{\k24\-odd}ra {\kf69}ni{\kf65} {\k53}hi{\k54\-odd}ko{\k38}u{\k48}ki{\k39}gu{\kf70}mo Code:
{\an5\pos(268, 30)\fad(200,0)\bord2\c&H00DEF6FF&}ra {\an5\pos(297, 30)\fad(200,0)\bord2\c&H00DEF6FF&}ni {\an5\pos(323, 30)\fad(200,0)\bord2\c&H00DEF6FF&}hi {\an5\pos(347, 30)\fad(200,0)\bord2\c&H00DEF6FF&}ko {\an5\pos(367, 30)\fad(200,0)\bord2\c&H00DEF6FF&}u {\an5\pos(384, 30)\fad(200,0)\bord2\c&H00DEF6FF&}ki {\an5\pos(408, 30)\fad(200,0)\bord2\c&H00DEF6FF&}gu {\an5\pos(440, 30)\fad(200,0)\bord2\c&H00DEF6FF&}mo
__________________
|
|
2010-05-06, 04:50 | Link #1047 | ||
Aegisub dev
Join Date: Sep 2004
Location: Stockholm, Sweden
Age: 39
|
Let's take a look at the text on the manual page about inline-fx again:
Quote:
Quote:
__________________
|
||
2010-05-06, 06:45 | Link #1048 |
Hagane no Renkinjutsushi
Join Date: May 2009
Location: Greece
|
Creating this function seems so much easier in .lua than .ass... U could use inline fx and then disable it for the next syl, I think..But that would take too much time..We need something automated here, or there is no sense in using automation4 xD
Something like {\k22}A{\k25}o{\k43}i {\k33}so{\k24\-odd}ra {\kf69\-odd}ni{\kf65} {\k53}hi{\k54\-odd}ko{\k38}u{\k48}ki{\k39}gu{\kf70}mo |
2010-05-06, 07:06 | Link #1049 | |
Member
|
Quote:
--- So Every following syllable will be applied too, that inline-fx's not the best solution It needs a disable syl_tag for the next syl, so the index maybe not correct but I have to do that no have other solution if no other way.
__________________
|
|
2010-05-06, 12:42 | Link #1050 |
Aegisub dev
Join Date: Sep 2004
Location: Stockholm, Sweden
Age: 39
|
{\k5\-normal}syl1 {\k5}syl2 {\k5\-special}syl3 {\k5\-normal}syl4 {\k5}syl5 {\k5}syl6 {\k5\-special}syl7 {\k5\-normal}syl8 {\k5}syl9 {\k5}syl10
Code:
Syllable fx-override active fx syl1 normal normal syl2 normal syl3 special special syl4 normal normal syl5 normal syl6 normal syl7 special special syl8 normal normal syl9 normal syl10 normal
__________________
|
2010-05-06, 21:29 | Link #1051 | |
Member
|
Quote:
--- Maybe when kara timing, I'll change some \k tag to \kf tag, then use fxgroup.kf and fxgroup.k. It's still like inline-fx, no need add more syl tag
__________________
Last edited by jofori89; 2010-05-07 at 07:23. |
|
2010-05-07, 09:59 | Link #1053 |
Hagane no Renkinjutsushi
Join Date: May 2009
Location: Greece
|
Its the same thing..Only the output contaier is matroska and not avi..I think ur question should go at the encoding thread though. Quick solution : Use the same script (avisynth) as for the avi and choose from meguis output menu .mkv container
|
2010-05-15, 11:19 | Link #1055 | |
Member
|
Quote:
Code:
code once: temp = {} temp.score_width = 100 code once: function set_temp(ref,val) temp[ref] = val; return val; end code line: score_size = math.floor(line.styleref.fontsize/2.5) code line: shape = string.format("m 0 0 l 100 0 l 100 -1 l 0 -1 m 0 %d l 100 %d l 100 %d l 0 %d m 0 %d l 100 %d l 100 %d l 0 %d m 0 %d l 100 %d l 100 %d l 0 %d m 0 %d l 100 %d l 100 %d l 0 %d",score_size,score_size,score_size+1,score_size+1,score_size*2,score_size*2,score_size*2+1,score_size*2+1,score_size*3,score_size*3,score_size*3+1,score_size*3+1,score_size*4,score_size*4,score_size*4+1,score_size*4+1) template pre-line notext noblank: !retime("line",-1000,-500)!{\an5\bord0.5\shad0\pos($lcenter,$lmiddle)\fscx!temp.score_width!\t(0,300,\fscx!130*$lwidth/100!)\t(300,600,\fscx!set_temp("score_width",110*$lwidth/100)!)\3c&HFFFFFF&\t(0,100,\bord2\blur3)\t(100,1200,\bord0.5\blur0)\p1}!shape! |
|
2010-05-31, 04:46 | Link #1059 |
Misao-ISM
Fansubber
Join Date: Mar 2007
Age: 34
|
hey guys.
i'm new at timing and kara, but i've gotten the hang of the simple stuff, and now want to challange myself. A quick search on google led me no where, but is there a list of karaoke effect tags/code? thanks!
__________________
|
Tags |
fansubbing, karaoke, software |
Thread Tools | |
|
|