digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KVCD: Subtitles not showing ? (http://www.digitalfaq.com/archives/encode/4223-kvcd-subtitles-showing.html)

andybno1 06-28-2003 09:34 AM

KVCD: Subtitles not showing ?
 
first here is the script:
Code:

##DLL Section ##
#
LoadPlugin("C:\Program Files\MovieStacker\Filters\MPEG2Dec3.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\STMedianFilter.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\asharp.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\undot.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\blockbuster.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\Avisynth Subtitler.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\Avisynth BMP Loader.dll")
#

##Defined Variables and Constants ##
#
MaxTreshold = 1.55
scd_trigger = 30 #Scene change trigger value.
nf =  0 #Current frame.
#
####

Mpeg2Source("C:\LOTR\LOTR.d2v")

Undot()
Limiter()
asharp(1.5,4)

BilinearResize(352,288,0,0,720,576)
STMedianFilter(8, 32, 0, 0 )

MergeChroma(blur(1.55))
MergeLuma(blur(0.025))
AvisynthSubtitler("C:\LOTR\Subs\","permsubs.txt")

##Dynamic Linear Adaptive Filtering and Scene Change Detection ##
#
#( Portions from AviSynth's manual )- This will apply temporalsoften to
#very static scenes, and apply variable blur on moving scenes.
#We also assign a variable - and this is why a line break is inserted:

ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2.5 ? asharp( -(fmin((nf/30), 1)), 0 ): \
TemporalSoften(2,7,7,5,2)")

#
#Scene change detection ( kwag )- If a scene change is detected, we
#blur heavily. This affects the scene before and the one after the
#scene change, thus providing a softer transition for the encoder instead
#of a sharp "spike".
#If it's not a scene change, then we just blur dynamically, depending on
#the action.

ScriptClip("nf > scd_trigger ? asharp( -2,0): asharp(0,0)")

#
#
#
BlockBuster(method="noise", detail_min=1, detail_max=10, variance=0.6, seed=5823 )

Letterbox(0,0,14,14)
AddBorders(0, 32, 0, 32)#Depends on situation. Use MovieStacker!

Limiter()

#
#
##Functions ###

function fmin(float f1, float f2){
  return (f1<f2)? f1 : f2
}

#
####

everything is linked right, but for some reason I am not getting subtitles showin when encoding, anyone see from the script if anything is wrong?

kwag 06-28-2003 01:40 PM

Did you try to put the line AvisynthSubtitler("C:\LOTR\Subs\","permsubs.txt") after the AddBorders line :?:

-kwag

andybno1 06-28-2003 02:20 PM

just tried it and still no subs showin.


All times are GMT -5. The time now is 08:48 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.