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. |
12th September 2015, 11:48 | #1 | Link |
Registered User
Join Date: Jul 2003
Location: India
Posts: 890
|
Usage of Subtitle
I tried to use Subtitle. My script is for a video ret:
Code:
frmt = vs.YUV444P8 subs= core.assvapour.Subtitle(ret, "Accord") subs[0] = core.resize.Bicubic(subs[0], frmt) acrd = core.std.MaskedMerge(ret,subs[0], subs[1]) acrd.set_output() I am on windows 8.1 32 bit version of vapoursynth r26 Am I doing something wrong? |
12th September 2015, 12:18 | #2 | Link |
Registered User
Join Date: Jun 2012
Location: Ibiza, Spain
Posts: 321
|
Yes.
Code:
frmt = vs.YUV444P8 subs= core.assvapour.Subtitle(ret, "Accord") subs[0] = core.resize.Bicubic(subs[0], format=frmt) subs[1] = core.resize.Bicubic(subs[1], format=frmt) acrd = core.std.MaskedMerge(ret, subs[0], subs[1]) acrd.set_output() |
12th September 2015, 12:53 | #3 | Link | |
unsigned int
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
|
Quote:
Can you explain what "tizzy" means exactly? The r27 installer contains a newer assvapour with some bug fixes, though I don't recall any crash bugs. Finally, if you don't care about Unicode or fancy formatting, text.Text is a more reliable alternative to assvapour.Subtitle. Are_: subs[1] is GRAY8, which is perfectly fine as a mask for MaskedMerge. Actually, scratch everything above. The problem is here: Code:
subs[0] = core.resize.Bicubic(subs[0], frmt) This should work: Code:
subs[0] = core.resize.Bicubic(subs[0], format=frmt)
__________________
Buy me a "coffee" and/or hire me to write code! |
|
13th September 2015, 07:46 | #4 | Link |
Registered User
Join Date: Jul 2003
Location: India
Posts: 890
|
Even the first line it self causes problem
subs= core.assvapour.Subtitle(ret, "Accord"). Tizzy meaning probably endless loop or something which requires me to close program by system. text.Text looks will work and I will use it. Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|