rendered paste body#########################################
# RAW file to encode, without sound #
#########################################
v = avisource( "[Q-R]_HANOKA_ep_02_(WMV9_640x360_30fps_CBR).avi" ).killaudio # Load RAW and kill sound (add muxed sound in avs)
#########################################
# Extras (clips and so on) #
#########################################
op_logo( v , 284 ) # Call method op_logo for logo input
#########################################
# Filters (pre) #
#########################################
#########################################
# Subtitles #
#########################################
# [a]vi synth ( this file)
textsub( "Hanoka_02_cred_01_pichus.ass" ) # [c]redits
# [e]ending karaoke
textsub( "Hanoka_02_op_01_AnimeFan.ass" ) # [o]pening karaoke
textsub( "Hanoka_02_rev_08_spinal.ass" ) # [r]evisions (a.k.a. main subs)
textsub( "Hanoka_02_signs_01_pichus.ass") # [s]igns
#########################################
# Filters (post) #
#########################################
#########################################
# Methods #
#########################################
# Opening Logo
function op_logo( clip c , last_frame )
{
l = avisource( "..\Hanoka Logo - Lossless.avi" ).assumefps( c ) # Load the AVI file
frames = l.framecount # Count frames in the clip
l = c.trim( last_frame - frames + 1 , last_frame ).overlay( l , 0 , 0 , mask=showalpha( l ) ) # Trim (Read up on this)
return c.trim( 0 , last_frame - frames ) + l + c.trim( last_frame + 1 , 0 ) # Trim (Read up on this)
}
# Ending Logo ( Not used ! )
function ed_logo( clip c , last_frame )
{
# Not inserted
}