2009-06-21, 20:19 | Link #901 |
Junior Member
Join Date: Oct 2008
Age: 32
|
Sorry, but what did you mean by using math functions for offsets? Is this Lua or some other code?
Right now, I have merged my 2 templates into 1: Spoiler for code:
Can someone please tell me if I'm doing it right? (the particles are shifted to the left of the middle of each syllable right now)
__________________
|
2009-06-22, 03:28 | Link #902 |
Hagane no Renkinjutsushi
Join Date: May 2009
Location: Greece
|
Well you probably want to use retime (http://aegisub.cellosoft.com/docs/Ka...on_environment)
also your third tag is wrong (\c--> input number between 1 and 4).Also forget about $ variables in retime since you change your lines timings. Also don't put timed transformations. Use a retime using math.random for offsets and transform over time your effects. Code : template syl noblank notext !retime("syl",0,math.random(200,400))!{\an2\move($ scenter,63,!$scenter+math.random(input two numbers for what to add , use negative to reduce)!,same goes for y axis)\t(\fscx200)\rest of transformation tags here.} If you want your particles to move (something that I assume you want) use the move tag. At the moment whatever timings you use your particles are fixed at the position you inputed. Also lua functions like the math functions go in blocks , aka !! |
2009-06-23, 22:37 | Link #904 |
Senior Member
Fansubber
Join Date: Jul 2004
|
Hmmm I've decided to post this thought here... because I think it's unimportant.
I've been thinking whether I should make a muxer in SWF (flash 10) using AS3 or not. Flash is just superior than vsfilter in every way. For example, its own MovieClip class can contain just about anything including TextField and Sprite objects... They can be from videos to text to vector sprites. Unlke After-Effects, flash can run in real-time. It will be very easy for me to make a script (compiled to .swf) enabling you to mux .ass as well as video overlays on any raw videos. Or, it can compile to .swf using flash, combining all of these necessary imports as long as you have the base swc's... It will be BETTER for web videos where you can stream in your subtitles with video overlays (aka signs: using H264 with alpha channel) -- beating what CrunchyRoll and many other sites have to offer -- it will be completely softsubbed. I think the performance hit for adobe flash is somewhat high, compared to what most conventional codecs and players have to offer. So, I'm hesitate to work on this idea. I don't know if anyone would like this idea.... Plus the .ass timings from aegisub is somewhat trial-and-error. |
2009-06-24, 04:20 | Link #906 |
Hagane no Renkinjutsushi
Join Date: May 2009
Location: Greece
|
Check the aegisub manual for the basics. Also the aegisub forums have plenty of examples. Also try experimenting alot. If you get stuck you can always ask here , or pm me (IRC : LelouchVII) . I will be happy to help if I can. There is also a karaoke channel #karaoke . Join .
|
2009-06-24, 05:06 | Link #907 |
Senior Member
Fansubber
Join Date: Jul 2004
|
I haven't really tested this... But all I know is that when you compile to swf, the videos will be compressed (aka re-encoded), as you probably know that you can import video clips into flash... That includes MovieClip with both composite and alpha channels. They might just be sequence of jpegs... without using the actual flash encoder.
|
2009-07-11, 21:04 | Link #911 |
Forever Espada
Fansubber
Join Date: Oct 2007
Location: Conn
|
I need some ideas. My plan is to do some karaoke in .ass. I already have a highlighting effect for the syl, but the problem is, I need some ideas do to some move() on the entire line. Something like, if it was on After Effects, doing the Wiggle expression on position: Some random and short "shaking" all over it.
Since only one move() is possible per line, I wonder how could I do something like that. I wanna work, but I really need to know where to start. I've been searching, but found nothing. Could anybody with more experience in karaoke making just give me some direction to go? |
2009-07-19, 10:46 | Link #912 | |
Hagane no Renkinjutsushi
Join Date: May 2009
Location: Greece
|
Quote:
|
|
2009-08-20, 22:19 | Link #913 |
Junior Member
Join Date: Oct 2008
Age: 32
|
Hiya! I'm still having troubles with my karaoke effect. jfs helped me (when i accidentally posted in the aegisub help) but i get a strange effect now. I would like it so that the particles begin fading when 80% of the syllable's time has passed. But when I try this out, the particles appear to be already partially faded. Please help!
Spoiler for code:
__________________
|
2009-08-21, 01:00 | Link #914 |
Aegisub dev
Join Date: Sep 2004
Location: Stockholm, Sweden
Age: 39
|
Okay let's say the original timed karaoke line starts at time 0:01:00.00 (one minute, 60000 milliseconds) and that this particular syllable starts at time 20 (200 milliseconds after the line begun) and has duration 5 (50 milliseconds). Both of the random calls in your retiming yield the smallest number in the allowed range.
Before the retiming, things had these values: line.start_time = 60000 line.duration = <some number that doesn't matter> syl.start_time ($sstart) = 200 syl.duration ($sdur) = 50 syl.end_time ($send) = 250 Then retiming occurs: line.start_time = line.start_time + syl.start_time + math.random(-70,-25) = 60000 + 200 - 70 = 60130 line.end_time = line.start_time + syl.end_time + math.random(150,300) = 60000 + 250 + 150 = 60400 line.duration = line.end_time - line.start_time = 270 syl.start_time = 200 (unchaned) syl.duration = 50 (unchanged) syl.end_time = 250 (unchanged) Then inserting values into your \t happens and you get: \t(60216,60400,\alpha&HFF&) So 60216 milliseconds (just over a minute) after the particle was displayed on screen, long after it disappeared again due to the line's end time, that \t would kick in.
__________________
|
2009-09-30, 01:31 | Link #916 |
Junior Member
Join Date: Nov 2007
Location: Wherever Rain Falls
Age: 38
|
hey everybody! Its been a while but I'm back for some more help. lol. So any and all help will be greatly appreciated. So I finally made the move to Aegisub (yay me but I'm still learning).
Neway...here's my lil template {\pos(317,27)}{\fscx0\fscy0\t(0,500,\fscx100\fscy1 00)} What I don't like is that it stays only one color and doesn't use any of the kf or k functions i plugged in like {\kf20}Fu{\k20}ta{\k29}ri It doesn't do that lighting up effect as the syllable is sung. So what I'm I doing wrong? |
2009-09-30, 11:40 | Link #917 |
Aegisub dev
Join Date: Sep 2004
Location: Stockholm, Sweden
Age: 39
|
There's nothing in your template producing any highlight effects. There's an entry effect (why are the coordinates in the \pos fixed?) but nothing that produces a highlight effect.
Take a look at what output the template produces.
__________________
|
2009-09-30, 20:29 | Link #918 |
Junior Member
Join Date: Nov 2007
Location: Wherever Rain Falls
Age: 38
|
I made the pos fixed because it was supposed to be a vertical kanji line. But I kept looking up different posts on forums and found this
{\fn@DFPGothic-EB\fs26\shad0\fe128\bord3\3c&H25485A&\c&HDEEBF1&\p os(456,184)\frz-90}Sign text I'm not exactly sure how it did it but it got the result I wanted. I know frz-90 worked and I can identify everything else (kinda) in that but I have no idea what that fn@ thing is. (but if it works i'll use it and ask no questions. lol) Neway...back to my original question. I ended up using this template {\r\k$kdur\t($start,$end,\t($start,!$end+200!,\alp ha&HFF&)\t(\fscx115)} the first line of my karaoke is {\kf150}Stay {\kf113}here {\k21}na{\k23}tsu {\k34}no {\k18}hi{\k40}ka{\k17}ri {\K105}ga Am I supposed to plug in something in the template to make the highlight effects? 'Cause so far I only put highlight effects in each individual line. (Am I making sense?) I apologize profusely if I'm only confusing everyone. |
2009-09-30, 22:20 | Link #919 |
Senior Member
Fansubber
|
\fn is the font name override tag. It lets you change what font is used from the one defined in the line's style setting.
The @ in front of the font name flips the characters on their side so that you can use \frz-90 to make a vertical line of characters while still being able to use \fsp. If you just put \N breaks between each character, you can't control the vertical spacing between the characters very well. Note that only certain fonts support the @ flipping (you should be able to see them listed in the font selection drop-down) and it usually only applies to the Japanese characters in them. |
Tags |
fansubbing, karaoke, software |
|
|