AnimeSuki Forums

Register Forum Rules FAQ Members List Social Groups Search Today's Posts Mark Forums Read

Go Back   AnimeSuki Forum > Anime Related Topics > Fansub Groups

Reply
 
Thread Tools
Old 2010-05-05, 07:54   Link #1041
jfs
Aegisub dev
 
 
Join Date: Sep 2004
Location: Stockholm, Sweden
Age: 29
Quote:
Originally Posted by jofori89 View Post
Sorry i wrong, I dont know how to call this.

Code:
code once: code_a = {"a", "b", "c"}
!code_a[math.random(3)]!
That's table-lookup with a randomly generated index. But code_a has indexes 1, 2 and 3, but math.random(3) returns 0, 1 or 2, so that snippet is buggy.

Quote:
Originally Posted by jofori89 View Post
And i have a other question, how to set fx group for some syllables in once line
Stop right there.
For that you don't generally use fxgroups but inline-fx.
__________________

Aegisub developer [ Forum | Manual | Feature requests | Bug reports | IRC ]
Don't ask for: More VSFilter changes (I won't), karaoke effects, help in PM's
jfs is offline   Reply With Quote
Old 2010-05-05, 08:02   Link #1042
jofori89
Member
 
 
Join Date: Feb 2009
Location: Vietnam
Age: 24
Send a message via MSN to jofori89 Send a message via Yahoo to jofori89
No no, i want to apply template to syllables have index are 3, 5, 9, of all line. If using inline fx, i'm not sure if i count right to insert syl tag
jofori89 is offline   Reply With Quote
Old 2010-05-05, 11:33   Link #1043
LelouchVII
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..
__________________
All round subber~.-.~ Karaoke , Typessetting ,AFX , ASS ,SSA~._.~

If you are reading this guess what! Its my sig!

Last edited by LelouchVII; 2010-05-05 at 12:09.
LelouchVII is offline   Reply With Quote
Old 2010-05-05, 13:02   Link #1044
buttobi
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.

Im 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
buttobi is offline   Reply With Quote
Old 2010-05-05, 14:39   Link #1045
jfs
Aegisub dev
 
 
Join Date: Sep 2004
Location: Stockholm, Sweden
Age: 29
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.)
__________________

Aegisub developer [ Forum | Manual | Feature requests | Bug reports | IRC ]
Don't ask for: More VSFilter changes (I won't), karaoke effects, help in PM's
jfs is offline   Reply With Quote
Old 2010-05-05, 20:20   Link #1046
jofori89
Member
 
 
Join Date: Feb 2009
Location: Vietnam
Age: 24
Send a message via MSN to jofori89 Send a message via Yahoo to jofori89
Quote:
Originally Posted by LelouchVII View Post
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..
Code:
code syl: fxgroup.odd = ((syl.i%2)*2-1 == 1);
This will create a group for all odd syllables, but I only want #03, #05 or #01, #09 too, not all. How to expel other syls? Maybe make a table at the first then compare the syl.i with values in that table?

Code:
code once: index_s = {1, 3, 6, 9}
code syl: fxgroup.blur = (syl.i == index_s);
Some things like this? (Tested, not working)

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
And this is the result, all syls (ko, u, ki, gu, mo) after -odd tag were applyed FX, not only ko.

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
__________________
I'm onii-chan of my girls, hardcore is my body and ero is my blood.
I've reached thousand levels of lolicon.
Old hags are fail, just need loli.
Withstood pain to love many girl. Falling in all imouto
I have no regrets, this is the only path
My whole life was "Unlimited Lolicon"
jofori89 is offline   Reply With Quote
Old 2010-05-06, 04:50   Link #1047
jfs
Aegisub dev
 
 
Join Date: Sep 2004
Location: Stockholm, Sweden
Age: 29
Let's take a look at the text on the manual page about inline-fx again:
Quote:
Inline-fx tags are (otherwise invalid) ASS override tags of the form \-effectname, where effectname is the name of the inline-fx defined.

An inline-fx tag affects the syllable it is placed in and every following syllable, until the next syllable with an inline-fx tag in it.

At the start of each line the inline-fx is reset to nothing.
And once more, the middle paragraph has somehting important in it:
Quote:
An inline-fx tag affects the syllable it is placed in and every following syllable, until the next syllable with an inline-fx tag in it.
There's also a quite clear example on the page, showing a timed karaoke line with inline-fx tags, and a table of the syllables in that line along with what the inline-fx for each syllable is.
__________________

Aegisub developer [ Forum | Manual | Feature requests | Bug reports | IRC ]
Don't ask for: More VSFilter changes (I won't), karaoke effects, help in PM's
jfs is offline   Reply With Quote
Old 2010-05-06, 06:45   Link #1048
LelouchVII
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
__________________
All round subber~.-.~ Karaoke , Typessetting ,AFX , ASS ,SSA~._.~

If you are reading this guess what! Its my sig!
LelouchVII is offline   Reply With Quote
Old 2010-05-06, 07:06   Link #1049
jofori89
Member
 
 
Join Date: Feb 2009
Location: Vietnam
Age: 24
Send a message via MSN to jofori89 Send a message via Yahoo to jofori89
Quote:
Originally Posted by jfs View Post
Let's take a look at the text on the manual page about inline-fx again:

And once more, the middle paragraph has somehting important in it:


There's also a quite clear example on the page, showing a timed karaoke line with inline-fx tags, and a table of the syllables in that line along with what the inline-fx for each syllable is.
In other words, i want to know how to compare a value with some presetting values in the table?
---

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.
__________________
I'm onii-chan of my girls, hardcore is my body and ero is my blood.
I've reached thousand levels of lolicon.
Old hags are fail, just need loli.
Withstood pain to love many girl. Falling in all imouto
I have no regrets, this is the only path
My whole life was "Unlimited Lolicon"
jofori89 is offline   Reply With Quote
Old 2010-05-06, 12:42   Link #1050
jfs
Aegisub dev
 
 
Join Date: Sep 2004
Location: Stockholm, Sweden
Age: 29
{\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
I don't see what's so hard about it.
__________________

Aegisub developer [ Forum | Manual | Feature requests | Bug reports | IRC ]
Don't ask for: More VSFilter changes (I won't), karaoke effects, help in PM's
jfs is offline   Reply With Quote
Old 2010-05-06, 21:29   Link #1051
jofori89
Member
 
 
Join Date: Feb 2009
Location: Vietnam
Age: 24
Send a message via MSN to jofori89 Send a message via Yahoo to jofori89
Quote:
Originally Posted by jfs View Post
{\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
I don't see what's so hard about it.
Uhm thank, but it's not 1 or 2 lines, maybe over 13 or 20 lines I want something auto countting
---
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
__________________
I'm onii-chan of my girls, hardcore is my body and ero is my blood.
I've reached thousand levels of lolicon.
Old hags are fail, just need loli.
Withstood pain to love many girl. Falling in all imouto
I have no regrets, this is the only path
My whole life was "Unlimited Lolicon"

Last edited by jofori89; 2010-05-07 at 07:23.
jofori89 is offline   Reply With Quote
Old 2010-05-07, 06:39   Link #1052
buttobi
Junior Member
 
Join Date: May 2010
Is there someone who knows how to hardsub Karaoke in .mkv files ?
I've searched a long time, but I could only find information about hardsubs for .avi files :S
buttobi is offline   Reply With Quote
Old 2010-05-07, 09:59   Link #1053
LelouchVII
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
__________________
All round subber~.-.~ Karaoke , Typessetting ,AFX , ASS ,SSA~._.~

If you are reading this guess what! Its my sig!
LelouchVII is offline   Reply With Quote
Old 2010-05-07, 10:29   Link #1054
buttobi
Junior Member
 
Join Date: May 2010
okej thanks man! ^,^
buttobi is offline   Reply With Quote
Old 2010-05-15, 11:19   Link #1055
jofori89
Member
 
 
Join Date: Feb 2009
Location: Vietnam
Age: 24
Send a message via MSN to jofori89 Send a message via Yahoo to jofori89
Quote:
Originally Posted by jofori89 View Post
I see the scale effect of Ichigo Mashimaro OP by [r0r1p0p] very nice

Video
http://www.megavideo.com/?d=45QMS1IN
http://www.megaupload.com/?d=45QMS1IN

What code can i create the shape scale up and down following line.width for once line, similar that video. I dont know how to get any value of previous line or next line to current line I tryed, it's not working (certainly! ) but i dont know how to fix

Code:
!retime("line", 0, line.i+1.start_time-line.end_time)!{\an5\fscx100\fscy100\t(!line.end_time!, !line.i+1.start_time!, \fscx!100*(nextline.scale_x/line.scale_x)!)\c&H292ABC&\bord0\shad0\1a&H80\be2\pos($lcenter, $lmiddle)}{\p1}m 0 5 l 0 35 l 400 35 l 400 5 l 0 5
Yo, my friends, the question about scaling up and down following line.width for once line now it had the resolution, Yay. It's not by me, I found it when search something on Mediafire

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!
Now i can get it
jofori89 is offline   Reply With Quote
Old 2010-05-24, 06:27   Link #1056
[Kyuubi]Fansubs
For fans, by fans!
*Fansubber
 
 
Join Date: Jan 2009
Send a message via MSN to [Kyuubi]Fansubs
Hey guys,

Would it be possible in Aegisub to make this "presents" text be behind that cat instead of in front it?



If so, how?

Hope somebody can help me out here
__________________
[Kyuubi]Fansubs is offline   Reply With Quote
Old 2010-05-24, 06:55   Link #1057
jofori89
Member
 
 
Join Date: Feb 2009
Location: Vietnam
Age: 24
Send a message via MSN to jofori89 Send a message via Yahoo to jofori89
Quote:
Originally Posted by [Kyuubi]Fansubs View Post
Hey guys,

Would it be possible in Aegisub to make this "presents" text be behind that cat instead of in front it?



If so, how?

Hope somebody can help me out here
Clipping it, and that is not karaoke
__________________
I'm onii-chan of my girls, hardcore is my body and ero is my blood.
I've reached thousand levels of lolicon.
Old hags are fail, just need loli.
Withstood pain to love many girl. Falling in all imouto
I have no regrets, this is the only path
My whole life was "Unlimited Lolicon"
jofori89 is offline   Reply With Quote
Old 2010-05-24, 07:16   Link #1058
[Kyuubi]Fansubs
For fans, by fans!
*Fansubber
 
 
Join Date: Jan 2009
Send a message via MSN to [Kyuubi]Fansubs
Quote:
Originally Posted by jofori89 View Post
Clipping it, and that is not karaoke
Ah yeah, sorry.
I posted in the wrong thread.
__________________
[Kyuubi]Fansubs is offline   Reply With Quote
Old 2010-05-31, 04:46   Link #1059
fallenangelash
Misao-ISM
*Fansubber
 
 
Join Date: Mar 2007
Age: 24
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!
__________________
Currently Watching: BLEACH, Oreimo, Anagami SS, Index II, Arakawa Under The bridge x2, Bakuman
fallenangelash is offline   Reply With Quote
Old 2010-05-31, 04:50   Link #1060
LelouchVII
Hagane no Renkinjutsushi
 
 
Join Date: May 2009
Location: Greece
Here ya go.

http://docs.aegisub.org/manual/ASS_Tags
__________________
All round subber~.-.~ Karaoke , Typessetting ,AFX , ASS ,SSA~._.~

If you are reading this guess what! Its my sig!
LelouchVII is offline   Reply With Quote
Reply

Tags
fansubbing, karaoke, software, subbing

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 21:49.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
We use Silk.