2008-05-23, 05:24 | Link #402 |
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. */ Last edited by pichu; 2008-05-23 at 05:37. |
2008-05-23, 06:36 | Link #403 | |
Computer graphist
Join Date: Dec 2005
Location: Paris, France
Age: 41
|
Quote:
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...
__________________
|
|
2008-05-23, 07:52 | Link #404 |
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. Last edited by pichu; 2008-05-23 at 08:50. |
2008-05-23, 18:16 | Link #406 | |
Computer graphist
Join Date: Dec 2005
Location: Paris, France
Age: 41
|
Quote:
__________________
|
|
2008-05-24, 08:15 | Link #409 |
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: |
2008-05-24, 12:11 | Link #410 | ||
Senior Member
Fansubber
Join Date: Jul 2004
|
Quote:
Quote:
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 :/) Last edited by pichu; 2008-05-24 at 12:53. |
||
2008-05-24, 13:09 | Link #411 |
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!
|
2008-08-07, 05:01 | Link #412 |
Computer graphist
Join Date: Dec 2005
Location: Paris, France
Age: 41
|
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
__________________
|
2008-08-07, 14:30 | Link #413 |
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 |
2008-08-07, 15:27 | Link #414 |
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 |
2008-08-07, 17:30 | Link #415 | |
Senior Member
Fansubber
Join Date: Jul 2004
|
Quote:
|
|
2008-08-07, 18:15 | Link #416 |
Aegisub dev
Join Date: Sep 2004
Location: Stockholm, Sweden
Age: 39
|
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.
__________________
|
2008-08-08, 03:06 | Link #417 |
Computer graphist
Join Date: Dec 2005
Location: Paris, France
Age: 41
|
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....
__________________
|
2008-08-08, 04:36 | Link #418 | |
done
Fansubber
Join Date: Nov 2003
Location: Yokosuka, JP
Age: 43
|
Quote:
The diff between {\K50}yo {\K50}man and {\K50}yo{\k0} {\K50}man is quite noticable |
|
2008-08-08, 05:09 | Link #419 | ||
Senior Member
Fansubber
Join Date: Jul 2004
|
Quote:
Example: Quote:
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? Last edited by pichu; 2008-08-08 at 05:38. Reason: aegisub |
||
2008-08-08, 14:55 | Link #420 |
Aegisub dev
Join Date: Sep 2004
Location: Stockholm, Sweden
Age: 39
|
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.
__________________
|
|
|