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 2008-05-23, 02:01   Link #401
_Anakyn_
poopoo
 
 
Join Date: Jun 2006
Location: Home
Sure, pichus, I'd like to try that. I'm looking forward to testing it
__________________
Look out! AFX karaokes in this web! :O o.O ту

http://www.4shared.com/account/dir/4...ng.html?rnd=22
_Anakyn_ is offline   Reply With Quote
Old 2008-05-23, 05:24   Link #402
pichu
Senior Member
*Fansubber
 
 
Join Date: Jul 2004
well, i got the script coded, but i need to test it soon -- and I've decided to create text selectors based on Karaoke style2 (hold keyframes are more reasonable to parse from there)

I'm not sure how do you use multiple range selectors in karaoke. The only time I used multiple range selectors is when I want the syllables to overlap each other on one layer... i.e. \k-negative timings (something that's not parsed here) [and because of this, I'm quite hesitant to furnishing one]. The multiple range selectors will have names like: Karaoke selector1, Karaoke selector2... each selector represents only one syllable to be safe. Do tell, if this will work?

So it might be a bit more challenging to get this to work correctly. :/

Commentary Draft:
Code:
/*

	Karaoke Auxillary Selector Generator based on Shinjinpierre's script
	
	Input explanations: [name]=[value]; [name2]=[value2]
	
	[name] Explanations:
	
	name = Keyframe style Name (default: Keyframe stylen, where n is an unused number)
	in = lead-in times
	on = Syllable ON times
	out = lead-out times
	[Notes] on the times:
		negative values are normalized to the syllable timing
		positive values are absolute timings
		Multiple times can be inputted, separating by spaces.
		You can define the percent values fpr the start and end at the keyframe using ^ and $ after the timings.
			Without these values, linear interpolation will be set for these values.
			Example: -0.5^50$75 says that at 50% of the normalized time, set the start to 50% distance and end to 75% of the distance.
	[Example]:
	name = Keyframe Cool Style; in = 0.5; on = 0^0$100 -0.5^50$100; out = 0.5
	In the example above, the syllable will have a lead-in of 0.5s with relative syllable effect at 0%, 50% syllable time, and lead-out of 0.5s.
*/
It's about a hundred lines of codes.
__________________
A small tool I made, and Learn how to make fansub karaoke in After-Effects: AFXKRK

Last edited by pichu; 2008-05-23 at 05:37.
pichu is offline   Reply With Quote
Old 2008-05-23, 06:36   Link #403
shinjipierre
Computer graphist
 
 
Join Date: Dec 2005
Location: Paris, France
Age: 31
Quote:
You can't just copy that animator to every other layer, because then the timing is way off..
It would be used the same way as the usual karaoke text animators...
What I meant is to add that text animator within my script, you would only have to copy the properties, not the selectors, or make an expression.

That's why I said it has to be coded...
__________________
http://www.remipierre.fr - Some of my computer graphics work
shinjipierre is offline   Reply With Quote
Old 2008-05-23, 07:52   Link #404
pichu
Senior Member
*Fansubber
 
 
Join Date: Jul 2004
Ok, I wrote a script ... I never tested it, because I'm not sure how you guys really did this....

But, using them in expressions is possible, since you can just go through while loops starting from 1. The timing should be accurate, but overlapped effects may not work, and I have a feeling that using range selectors alone isn't enough, maybe I have to use text selectors instead? But, that's easy to take care of. Just want to know if this is feasible.

http://pichu.org/afx/SSA_aux_0.1.jsx

But I doubt this will work; it's just a draft.

Edit: Okay, I tested it just now with basic blurring; it works just fine with a basic text animator effect; I had to fix some parts that are wrong. The "Effect Selector" isn't needed, so I commented that out. Feel free to check if this script is of any use.
__________________
A small tool I made, and Learn how to make fansub karaoke in After-Effects: AFXKRK

Last edited by pichu; 2008-05-23 at 08:50.
pichu is offline   Reply With Quote
Old 2008-05-23, 11:06   Link #405
dj_tjerk
Ana-chan~
 
 
Join Date: May 2006
Location: Netherlands
Quote:
Originally Posted by shinjipierre View Post
It would be used the same way as the usual karaoke text animators...
What I meant is to add that text animator within my script, you would only have to copy the properties, not the selectors, or make an expression.

That's why I said it has to be coded...
I usually copy animators, not properties.. copying properties and pasting it into the right animator is more work then copying an animator and pasting it into every other layer you want it to have.
dj_tjerk is offline   Reply With Quote
Old 2008-05-23, 18:16   Link #406
shinjipierre
Computer graphist
 
 
Join Date: Dec 2005
Location: Paris, France
Age: 31
Quote:
I usually copy animators, not properties.. copying properties and pasting it into the right animator is more work then copying an animator and pasting it into every other layer you want it to have.
well, make an animator, link it to the previous text animator with an expression and that's it ^^. anyway...
__________________
http://www.remipierre.fr - Some of my computer graphics work
shinjipierre is offline   Reply With Quote
Old 2008-05-24, 05:40   Link #407
dj_tjerk
Ana-chan~
 
 
Join Date: May 2006
Location: Netherlands
And then you get exactly what I already made with keyframe style 5 (that expression selector) in my script; I also link the values of the properties in the animator for that one because I have to..
dj_tjerk is offline   Reply With Quote
Old 2008-05-24, 07:45   Link #408
pichu
Senior Member
*Fansubber
 
 
Join Date: Jul 2004
so no one bothers checking my jsx script if it's of any use? :/
oh well, i guess i'm just wasting my time here.
__________________
A small tool I made, and Learn how to make fansub karaoke in After-Effects: AFXKRK
pichu is offline   Reply With Quote
Old 2008-05-24, 08:15   Link #409
_Anakyn_
poopoo
 
 
Join Date: Jun 2006
Location: Home
I checked it a while ago and it seems to do the trick... partially, because, considering I apply a position property, syllables don't start at the same position. You'll understand it better here:

http://img365.imageshack.us/img365/1...sscriptbi7.jpg

Why does that happen? D: Or is it me?

This is what I do: I load Shinji's script, I select one layer, I load pichus' script and a brand new 'Keyframe style 7' pops up. I add a position property and turn off the Effect selector to see the changes. Then all the characters are displaced. However, the characters (why characters instead of syllables?) start moving 0.5 sec before the effect starts. The script gets the fixed length, but it messes up the whole line D:
__________________
Look out! AFX karaokes in this web! :O o.O ту

http://www.4shared.com/account/dir/4...ng.html?rnd=22
_Anakyn_ is offline   Reply With Quote
Old 2008-05-24, 12:11   Link #410
pichu
Senior Member
*Fansubber
 
 
Join Date: Jul 2004
Quote:
Originally Posted by _Anakyn_ View Post
I checked it a while ago and it seems to do the trick... partially, because, considering I apply a position property, syllables don't start at the same position. You'll understand it better here:
That's the thing... I wasn't too sure what kind of effects you're trying to apply. If you need positional properties, you may need to create many text layers for each syllable, since the positions will be correlated if you use only one text animator. Then again, it could be part of your effects, who knows


Quote:
http://img365.imageshack.us/img365/1...sscriptbi7.jpg

Why does that happen? D: Or is it me?

This is what I do: I load Shinji's script, I select one layer, I load pichus' script and a brand new 'Keyframe style 7' pops up. I add a position property and turn off the Effect selector to see the changes. Then all the characters are displaced. However, the characters (why characters instead of syllables?) start moving 0.5 sec before the effect starts. The script gets the fixed length, but it messes up the whole line D:
I noticed I made a fatal mistake in my codes after I posted that first post. I assumed you didn't get the updated one. It should be based on 'word' instead of 'character.'

http://pichu.org/afx/SSA_aux_0.1.jsx

Thanks for the reply.

---

Edit: you might also want to modify the input parameters. I just made those numbers up as an example.

---

Edit #2:

Try this parameter:

on=0^0$0 0.25^0$100 0.5^100$100

This will reach a full stop at 0.5s, and full syllable at 0.25s (required)

If you want the positions to stay after 0.5s, you can use the following:

on=0^0$0 0.5^0$100

(I could make a GUI out of this, but I'm a command-line person, so I'm used to this way :/)
__________________
A small tool I made, and Learn how to make fansub karaoke in After-Effects: AFXKRK

Last edited by pichu; 2008-05-24 at 12:53.
pichu is offline   Reply With Quote
Old 2008-05-24, 13:09   Link #411
_Anakyn_
poopoo
 
 
Join Date: Jun 2006
Location: Home
Gomen, I didn't see your edit in the previous post. I think it works fairly well now. I only have to spend some time to unlock its misteries. Thanks to you, I'll be able to play quite a bit with karaokes. Thanks dude ;D Keep the hard work!
__________________
Look out! AFX karaokes in this web! :O o.O ту

http://www.4shared.com/account/dir/4...ng.html?rnd=22
_Anakyn_ is offline   Reply With Quote
Old 2008-08-07, 05:01   Link #412
shinjipierre
Computer graphist
 
 
Join Date: Dec 2005
Location: Paris, France
Age: 31
Hi,

I've created a new version of my ssa -> after effects script.

1. There shouldn't be any problems with {\k0} anymore.
2. I've added fixed length text animators for the ones who want to add an effect before or after the syllable is sung.

You can find the new version on my portfolio : www.remipierre.fr

Tell me if there are problems with it or if there's something missing, I haven't made a karaoke for a long time anyway... I didn't really test it.

Shinjipierre
__________________
http://www.remipierre.fr - Some of my computer graphics work
shinjipierre is offline   Reply With Quote
Old 2008-08-07, 14:30   Link #413
FAiM
Junior Member
 
Join Date: Jun 2008
Hey,

I typesetting Soul Eater and I stuck on logo effect...
so, if someone could me help I will be grateful...
SE-logo.mkv
FAiM is offline   Reply With Quote
Old 2008-08-07, 15:27   Link #414
Yuudai-kun
Junior Member
 
Join Date: Dec 2006
Where are you stuck?

I don't know what problems you have, but it seems fairly simple. (At least if you compare it to other signs).

For the "fire", i think Fractal Noise+Displacement Map+Color Correction+some Glow should be all you need.

As for the last seconds use a Radial Blur effect and be sure to change the method.

Most of After Effects is trial and error, so if you have any problems try playing around with plugins
Yuudai-kun is offline   Reply With Quote
Old 2008-08-07, 17:30   Link #415
pichu
Senior Member
*Fansubber
 
 
Join Date: Jul 2004
Quote:
Originally Posted by shinjipierre View Post
Hi,

I've created a new version of my ssa -> after effects script.

1. There shouldn't be any problems with {\k0} anymore.
2. I've added fixed length text animators for the ones who want to add an effect before or after the syllable is sung.

You can find the new version on my portfolio : www.remipierre.fr

Tell me if there are problems with it or if there's something missing, I haven't made a karaoke for a long time anyway... I didn't really test it.

Shinjipierre
Also, does it work with negative timings? like \k-10... it's been used to time in aegisub to overlap the singing.
__________________
A small tool I made, and Learn how to make fansub karaoke in After-Effects: AFXKRK
pichu is offline   Reply With Quote
Old 2008-08-07, 18:15   Link #416
jfs
Aegisub dev
 
 
Join Date: Sep 2004
Location: Stockholm, Sweden
Age: 29
Actually the correct way (according to Gabest, if we should take his code for his word) is not to use negative \k timings, but to use the \kt tag. It explicitly sets the start time (in centiseconds) of the next syllable that starts.
__________________

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 2008-08-08, 03:06   Link #417
shinjipierre
Computer graphist
 
 
Join Date: Dec 2005
Location: Paris, France
Age: 31
What the heck ? negative timings ??? overlap the singing ??? never seen aegisub

I don't really work for fansubs anymore... I don't quite follow the news...

I didn't understand the fucking use of a {\k0} already.... but a {\k-10}, *erm*....
I've just corrected the {\k0} problem since a lot of people were coming in my channel saying their script couldn't load, it probably doesn't work with negative things... don't even understand the use....
__________________
http://www.remipierre.fr - Some of my computer graphics work
shinjipierre is offline   Reply With Quote
Old 2008-08-08, 04:36   Link #418
getfresh
done
*Fansubber
 
 
Join Date: Nov 2003
Location: Yokosuka, JP
Age: 33
Quote:
Originally Posted by shinjipierre View Post
What the heck ? negative timings ??? overlap the singing ??? never seen aegisub

I don't really work for fansubs anymore... I don't quite follow the news...

I didn't understand the fucking use of a {\k0} already.... but a {\k-10}, *erm*....
I've just corrected the {\k0} problem since a lot of people were coming in my channel saying their script couldn't load, it probably doesn't work with negative things... don't even understand the use....
{\k0} is useful what you have lines that through scene timing start after the actual start, or depending on the version of textsub you are using or if you are using {\K} only effects you do not always want non-alpha characters getting effected, like " ", ".", "?", etc... so you set a \k0 to them. Otherwise all you need to do is a {\r}. This is of course unless there is some new trick with aegis I have no clue about which is possible.

The diff between

{\K50}yo {\K50}man

and

{\K50}yo{\k0} {\K50}man

is quite noticable
getfresh is offline   Reply With Quote
Old 2008-08-08, 05:09   Link #419
pichu
Senior Member
*Fansubber
 
 
Join Date: Jul 2004
Quote:
Originally Posted by shinjipierre View Post
What the heck ? negative timings ??? overlap the singing ??? never seen aegisub

I don't really work for fansubs anymore... I don't quite follow the news...

I didn't understand the fucking use of a {\k0} already.... but a {\k-10}, *erm*....
I've just corrected the {\k0} problem since a lot of people were coming in my channel saying their script couldn't load, it probably doesn't work with negative things... don't even understand the use....
Yeah I had to use negative timings in Macross Frontier First opening karaoke for Menclave. It's quite interesting how it was timed... But then I wrote my own script that handles it. It basically uses two range selectors for that, so I asked you that question since fixed timings also used multiple range selectors.

Example:

Quote:
Dialogue: 0,0:01:43.78,0:01:48.47,Romaji,,0000,0000,0000,,{\ k32}i{\k166}ma {\k-75}{\k45}su{\k168}gu {\k-66}{\k35}TOUCH {\k164}ME

Dialogue: 0,0:01:43.78,0:01:48.47,Kanji,,0000,0000,0000,,{\k 198}今{\k-75}{\k45}す{\k168}ぐ {\k-66}{\k35}タッチ{\k164}ミー
so she sings "ima" first, and then the second voice singing "sugu" overlaps with "ima", and then another voice sings "touch me" while "sugu" is sung. It's two ranges, because "touch me" never overlaps with "ima." Then again, it can be done with ease if the script does multiple range selectors: one selector per syllable. But, you get the idea.

Quote:
Originally Posted by jfs View Post
Actually the correct way (according to Gabest, if we should take his code for his word) is not to use negative \k timings, but to use the \kt tag. It explicitly sets the start time (in centiseconds) of the next syllable that starts.
Well, jfs -- silverfire actually is the one wanting to use negative timings (he's the one timing it); I wasn't told about the \kt tag. I know you can time negative timings in aegisub.... So, is it possible to time \kt in aegisub? Or it's a WIP?
__________________
A small tool I made, and Learn how to make fansub karaoke in After-Effects: AFXKRK

Last edited by pichu; 2008-08-08 at 05:38. Reason: aegisub
pichu is offline   Reply With Quote
Old 2008-08-08, 14:55   Link #420
jfs
Aegisub dev
 
 
Join Date: Sep 2004
Location: Stockholm, Sweden
Age: 29
Uh... I've never been able to use Aegisub's karaoke mode to produce negative timings and I'm pretty sure it's explicitly impossible. At least using mouse dragging on the audio view...
Also it'd be hard to represent in a sensible way in the audio view I think. Maybe as a kind of Gantt chart but... eww.

Aegisub doesn't support \kt at all, and (at least officially) doesn't support negative \k timings either.
__________________

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
Reply

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 14:04.


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