Quantcast Subtitles: Trying to do Perm Subtitles for SKVCD - digitalFAQ.com Forums [Archives]
  #1  
03-20-2004, 03:17 AM
KYUSS KYUSS is offline
Free Member
 
Join Date: Dec 2002
Location: UK
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts
hi guys here's my script

Code:
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL")
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\AVISYN~2.DLL")
mpeg2source("D:\DVD2SV~1\DVD2AV~1.D2V")
nf=0
GripCrop(352, 360+60+60, overscan=1, source_anamorphic=true, dest_anamorphic=false)
GripSize(resizer="BiCubicResize")
Undot()
Asharp(1, 4)
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(1.58))
MergeLuma(blur(0.1))
SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
ScriptClip("nf = round(YDifferenceToNext())"+chr(13)+ "((nf >= SwitchThreshold) && (nf < 30)) ? unfilter(-(fmin(nf*2,100)),-(fmin(nf*2,100))) : TemporalCleaner(6+nf,11+nf) ")
GripBorders()
function fmin(int f1, int f2) { return (f1<f2) ? f1 : f2 }
function ConvertToYUY2(clip c){ return isYV12(c) ? c : convertToYV12(c) }
ConvertToYUY2()
AvisynthSubtitler("D:\DVD2SV~1\Subs\","permsubs.txt")
does this look ok?

encode came out excellent only no subs?!!!!

the proggy i used was dvd2svcd with the dvd2kvcd plugin

is the subs line in the right place?

cheers
KYUSS
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
03-20-2004, 09:00 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Your problem is that AvisynthSubtitler, the line that provides the subtitles, needs to work in YUY2 (that is why there is also the line ConvertToYUY2)

The problem is that you (or azel, who made the plugin) took a line from a script of mine that need to work in YV12. That's why you find the line "function ConvertToYUY2" that in fact, force a convert in YV12 !

Just remove this line ("function ConvertToYUY2(clip c){ return isYV12(c) ? c : convertToYV12(c) } ") and I think all will be ok !
Reply With Quote
  #3  
03-21-2004, 09:02 AM
KYUSS KYUSS is offline
Free Member
 
Join Date: Dec 2002
Location: UK
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts
cheers m8
i will give that a try tonight

thanks
KYUSS
Reply With Quote
  #4  
03-22-2004, 10:14 AM
KYUSS KYUSS is offline
Free Member
 
Join Date: Dec 2002
Location: UK
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts
that worked a treat m8

thank you

KYUSS
Reply With Quote
  #5  
03-22-2004, 10:17 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by KYUSS
that worked a treat m8
Great . Just keep in mind that YUY2 mode is 30% slower than YV12 and a little bit less performant. So do not use this mode for all your jobs but just the ones where you need tu use permsubs.
Reply With Quote
  #6  
03-22-2004, 06:38 PM
KYUSS KYUSS is offline
Free Member
 
Join Date: Dec 2002
Location: UK
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts
will do m8..........

i do most of my conversions overnight now so time aint really a problem

but i will heed your warning about the script not performing as well with that line removed

for now i need perm subs so i'll just take the 30% speed hit whilst i am in slumber

thanks again for the help m8

KYUSS
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Subtitles: How do I add subs in DVD-Lab Pro? Zyphon Subtitles 6 07-21-2004 07:51 AM
Subtitles: How to resize subs? raptor2000 Subtitles 1 01-18-2004 01:11 AM
Subtitles: Adding subs with acp rafa Subtitles 0 10-07-2003 04:37 PM
DVD2SVCD: Perm subs + DVD2SVCD + Avi/Divx conversion Paulus Video Encoding and Conversion 3 09-13-2003 05:41 AM
Subtitles: Cannot find any subs on this DVD audioslave Subtitles 8 07-15-2003 12:51 PM

Thread Tools



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