Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Subtitles

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd February 2002, 20:32   #1  |  Link
midi
Registered User
 
Join Date: Feb 2002
Posts: 31
MaskedMix and .ssa subtitling in HUV

I've been trying to perma-sub my DVD source from a Sub Station Alpha file without converting it to RGB and need a little scripting help with the mpeg2dec MaskedMix function or some other way to mask them in. I'm not particularly after speed here but rather trying to save the source colors from that nasty double conversion:

***Test.avs***
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
Import("C:\PROGRA~1\GORDIA~1\vdfilters.avs")
mpeg2source("C:\My Documents\excel\excel23.d2v")

#gives subs on a white background
subs = Blackness(last).Levels(0,1,255,255,255).ConvertToRGB().VD_Subtitler("C:\download\subrip\excel_23.ssa").ConvertToYUY2()

#quick levels hack, colored subs->blackish
mask = subs.Levels(0,0.001,255,0,255).Levels(0,0.001,255,0,255).Levels(0,0.001,255,0,255)

MaskedMix(last,subs,mask)
#return last, subs, or mask here to check inputs
***End of File***

None of the subs show, however. Reversing subs and last shows only the subs. I actually tried making mask using a black font ssa file for a clear cut black/white mask and same results. Can anyone shed some light on this, please?
midi is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:19.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.