2009-05-04, 09:03 | Link #881 |
done
Fansubber
Join Date: Nov 2003
Location: Yokosuka, JP
Age: 43
|
Your best friend when you start is the "quick assref.txt" that comes with vobsub 2.23. Once you have an understanding of .ass and how it works, understanding aegis will become much easier. Also there are many scripts online that can show you automation code examples and I have heard there are video tutorials on youtube you prob just have to search for "aegisub tutorial".
|
2009-05-04, 09:48 | Link #882 | |
Aegisub dev
Join Date: Sep 2004
Location: Stockholm, Sweden
Age: 39
|
Quote:
Please tell me in what way ass-quickref.txt is better than that page, so I can fix it.
__________________
|
|
2009-05-04, 11:26 | Link #883 | |
done
Fansubber
Join Date: Nov 2003
Location: Yokosuka, JP
Age: 43
|
Quote:
|
|
2009-05-04, 16:48 | Link #885 |
Senior Member
Author
Join Date: Jul 2007
Location: Virginia Tech
|
I use aegisub automation, not lua.
In code lines on top, I defined the function stuff() to be a random number between 0 and 2pi Then in the actual automation line, I have the particles move from $smiddle+5*math.sin(stuff()), $scenter+5*math.sin(stuff()) to the same thin, just change 5 to 10. Loop this line about 60 times to get random particles in a circle, and then the effect I want is made. However, the stuff() function randomizes every time it is called. Is there a way to make it so the stuff() will stay the same for the entire line and change on each iteration? So that on loop=1 it'll be the same for the entire line, and then it'll change for loop=2, loop=3, etc.
__________________
|
2009-05-04, 17:06 | Link #886 |
Aegisub dev
Join Date: Sep 2004
Location: Stockholm, Sweden
Age: 39
|
You'll need a memoising function for that...
code once,whatever_vals = {}, function whatever() if not whatever_vals[line] then whatever_vals[orgline] = {}; end; if not whatever_vals[line][j] then whatever_vals[line][j] = math.random()*2*math.pi(); end; return whatever_vals[line][j]; end; How it works: First an empty table is created, outside the function definition so it stays around. Then the function first checks whether there is any sub-table indexed by the input line, so each input line gets its own set of values per iteration. Then those sub-tables per line are indexed by the iteration number. If there is no value for an iteration number, one is created. Then the function returns the stored value for the iteration on the line. I didn't test it, there might be errors.
__________________
|
2009-05-04, 17:09 | Link #887 |
Excessively jovial fellow
Join Date: Dec 2005
Location: ISDB-T
Age: 37
|
One way would be to declare a global variable with the random value you want and define a function that updates it when you so desire (maybe parametrize it on the input line number and keep another variable that keeps track on the line number).
e: jfs already posted a similar solution, probably simpler and cleaner too
__________________
|
2009-05-14, 07:10 | Link #888 |
Junior Member
Join Date: Apr 2009
Location: Netherlands
|
Okey so this may sound like a noob question but is it possible to load frame date from a MP3 audio file? (without video)
If this question isn't clear enough i'll explain my situation here. I was asked to k-time a project for witch i got a audio file + translations, they also told me to scene time it. So thats when i thought that maybe the frame-data was in the audio file itself. |
2009-05-14, 08:33 | Link #889 |
Excessively jovial fellow
Join Date: Dec 2005
Location: ISDB-T
Age: 37
|
why would audio files store video information
(answer: there is no reason to do that, so they don't) if you have the video on the other hand you can export the keyframe data to a text file and load that in aegisub (both options are available under the video menu) or just keep the video loaded I guess
__________________
|
2009-06-20, 18:32 | Link #891 | |
Junior Member
Join Date: Jun 2009
|
Add effects to opening subs?
I figured out how to do basic karaoke thanks to this guide.
http://www.kasshin.net/karaoke_guide.swf It just says the text as the lyrics is going in the video. But I want to make it like real fan subs groups. Where whenever each word is said, the word in japanese and english is "lit up" or "bolded" as the person is singing Quote:
can someone please help me? any help is appreciated. |
|
2009-06-20, 22:42 | Link #893 |
Junior Member
Join Date: Jun 2009
|
ohh really? It seemed though becuase I knew how to use Aegisub and I though you cant kareoke with Aegisub. Is there an updated guide? On how to kareoke with Aegisub?
I know how to add subs with Aegisub, but can you add the kaeroke effects with Aegisub, if you can, how? Can you please tell me? |
2009-06-21, 05:50 | Link #895 |
Junior Member
Join Date: Oct 2008
Age: 32
|
Alright, well I'm trying to figure out how particles work. I read the guide so I can make the particles themselves! =D
However, I'm not sure why the particles are not at the middle of the syllables. :\ Spoiler for code:
Also, I made this separate from the other "template". Is this recommended? Or should I just merge them together? (because I don't know where to put the {\p1}stuff{\p0} part) |
2009-06-21, 07:15 | Link #896 | |
done
Fansubber
Join Date: Nov 2003
Location: Yokosuka, JP
Age: 43
|
Quote:
|
|
2009-06-21, 10:14 | Link #897 | |
Hagane no Renkinjutsushi
Join Date: May 2009
Location: Greece
|
Quote:
Write it like this : {\an2\pos($center,$middle)\alpha&HFF&\p2}m 0 0 b 10 0 10 15 0 15 b -10 15 -10 0 0 0 Though I can't understand why you have set the particles to totaly NOT visible (\alpha&HFF&). Maybe you have confused the way particles work. Use the template modifier "notext".Cause with your current code the letters AND the particles will be showing (well not since you set alpha at HFF...:P) Last edited by LelouchVII; 2009-06-21 at 11:56. |
|
2009-06-21, 11:59 | Link #899 |
Junior Member
Join Date: Jun 2009
|
I dont know where to start exactly, I went here and my "Apply karaoke template" is blanked out. And the Aegisub I am using is:
Aegisub v2.6.1 RELEASE PREVIEW (SVN r2494 amz) is that the correct one? I re-instaled Aegisub and I still cant get the Apply karaoke template to work. |
Tags |
fansubbing, karaoke, software |
|
|