2006-03-31, 10:01 | Link #42 |
Excessively jovial fellow
Join Date: Dec 2005
Location: ISDB-T
Age: 38
|
I don't know about the exporting stuff, since I don't use AFX, but the Avisynth stuff is fairly simple. What you need to export from AFX is a 32-bit RGB AVI (also known as RGBA, RGB with alpha channel) video clip. Preferably one .AVI file for each sign (or karaoke or whatever). You will need to note at which frames the signs start and end.
Then, create an avisynth script that looks something like this (assuming that the sign starts on frame 1000 and ends on frame 1500): Code:
avisource("X:/someanime/someepisoderaw.avi") sign01 = avisource("X:/someanime/afx sign 01.avi") # do filtering and resizing here trim(0,999)+trim(1000,1500).overlay(last, sign01, mask=sign01.showalpha())+trim(1501,0) # replace + with ++ if you're including the audio in avisynth textsub("x:/someanime/somescript.ssa") So, to make it simpler, you can make a custom function, put it in a .avsi and put that into your Avisynth plugins folder, and then just call that function instead. Put something like this in the .avsi: Code:
function insertsign(clip mainclip, clip overlayclip, int startframe, int endframe) { # make the endframe parameter optional (defaulting to where the overlay clip ends) endframe = default(endframe,startframe+overlayclip.framecount-1) # make sure the special case startframe=1 is dealt with correctly # (needed because trim(0,0) returns the entire clip, which is obviously not what we want) # note that the first frame of the clip is ZER0, _not_ one! begin = (startframe == 1) ? mainclip.trim(0,-1) : mainclip.trim(0,startframe-1) middle = mainclip.trim(startframe,endframe) end = mainclip.trim(endframe+1,0) # BUG: setting endframe=0 doesn't do what you think it does. middleoverlay = Overlay(middle, overlayclip, mask=overlayclip.showalpha()) # deal with the special case startframe=0 (in which case we don't have anything before the overlay) # note that trim(-1,0) does nothing (it returns the same as trim(0,0)...) final = (startframe == 0) ? middleoverlay ++ end : begin ++ middleoverlay ++ end return final } Code:
avisource("X:/someanime/someepisoderaw.avi") sign01 = avisource("X:/someanime/afx sign 01.avi") sign02 = avisource("X:/someanime/afx sign 02.avi") (...) # do filtering and resizing here insertsign(last, sign01, 1000, 1500) insertsign(last, sign02, 1700, 2000) (...) textsub("x:/someanime/somescript.ssa") Another thing that speaks for a filtered lossless is that it might be a good idea to filter and resize first, encode that to lossless, and then encode a quick workraw from that to work on in AFX - that way you can be sure that all frame numbers, colors, details, positions etc. will be the same as in the final encode. Hope that helped.
__________________
Last edited by TheFluff; 2006-10-19 at 09:05. Reason: made the endframe parameter optional (thanks Kintaro) |
2006-04-16, 12:19 | Link #44 |
Junior Member
Join Date: Apr 2006
|
Two quick question. I was wondering how one would set a karaoke line on a motion path..say a wavy path or whatever.
And.. How do you have your karaoke lines transition to the next line (fade, wipe out, etc.)? Thanks to those who help me out in advance. |
2006-04-16, 14:42 | Link #46 |
Computer graphist
Join Date: Dec 2005
Location: Paris, France
Age: 41
|
The fact is : "why don't you just learn how to use after effects ?"
What you're asking is the basics of basics... I suggest you get some tutorials and learn it from scratch. http://forums.cgsociety.org/showthread.php?t=6834 You should find a lot of tutorials in here
__________________
|
2006-04-16, 15:31 | Link #47 | |
Junior Member
Join Date: Apr 2006
|
Quote:
|
|
2006-04-20, 15:10 | Link #49 |
Junior Member
Join Date: Dec 2005
|
Hi
Im a Super Newbie of using the after effect for the kara-makin and i have some - stupid - quistions for the experts of Usin AFx 1):: I want to create an effect usin it , but i cant control the effects F.E : I need the text to Glow (each syllep alone ) then to move and have a zero Opicity . But I dont now How to control the order . So Please If some one can help me . 2):: Do I need speciel Filters to make some Effect that the text explode or to change to ather form like what shinjipierre did in R-M-Traumend kareoke In his site , or its all in AFX Thanks >>> |
2006-04-21, 07:24 | Link #50 | |
Junior Member
Join Date: Mar 2006
|
Quote:
The same quistions |
|
2006-04-21, 13:18 | Link #51 | |
Ayu/Eclipse Semi-Slave
|
Quote:
http://www.aenhancers.com/viewtopic.php?t=247 http://www.aenhancers.com/viewtopic.php?t=380 I have used the first script for most of the Karaokes I've attempted in AFX. The newer version requires 7.0 and it has a nice GUI interface for working on effects. Shinjipiere also released his script for importing SSA=>AFX. He also has a tutorial video created that explains how it all works. http://shinjipierre.be/ |
|
2006-04-22, 12:24 | Link #54 |
what was it i put here?
Join Date: Feb 2006
Location: The Boondocks
Age: 36
|
He does make a point though...starting small first and have an understanding of the program before you get into making karaoke is a good thing. If you get this, as you hear, a hi-tech script to make super advanced effects and don't know how to use the program it goes with then you're pretty much screw'd.
|
2006-04-29, 22:25 | Link #55 |
Anime Madness
Join Date: Apr 2006
Age: 39
|
Hi ppl. I used shijipierre's script for creating my karaoke. And finally i've finish it. But now i'm in serious trouble. I'm not an expert encoder, so i don't know how to proceed.
I have my composition on AE with my Opening video (wich i obtained it via "direct stream copy" in virtual dub) and the karaoke. but now, how I add my op movie with karaoke to the rest of the video?? I tried to render the OP in AE with a lossless codec and then use the "append Avi segment" option in VD, but I get an error message about diferent video streams and data. So, AE gods, please help me. I'm not asking you to telling me your great encoding secrets in AE, but just a Standard way to make the final episode without having to load the entire raw episode in AE. A more extensive version of just "Filter (AviSynth, etc.) --> AE (render karaoke/signage) --> VitualDub/AviSynth (add .ssa/.ass script) --> Done!" <---- I understand the process but i don't know how to do it. Please Help. Another Question: It is posible to load an AviSynth file on AE ??? I tried once but i just keep getting error messages. Thanks in advance. PS: sorry about my bad english |
2006-04-29, 23:50 | Link #56 | |
Junior Member
Join Date: Mar 2006
|
Quote:
render it as ALPHA file! and then overlay it. see the "TheFluff" replay, it will help you. I was like you, but more time for reading and searching may help you |
|
2006-05-03, 09:23 | Link #57 |
Ana-chan~
Join Date: May 2006
Location: Netherlands
|
Again a problem with overlay I timed everything exactly to the first frame of the ED, and then i use the overlay function with HuffYUV video and HuffYUV karaoke ( of course.. RGBA).
The problem is, it is in sync with the video, but somehow the video slows down and audio keeps on playing at the normal speed. Note that this is with playing realtime and when encoded to something like divx. I think I had other problems with overlay before, but didnt really look at video speed vs audio speed. |
|
|