PDA

View Full Version : PicSubU (by unmei) - unable to preview the script


dr.Prozac
26th February 2005, 23:12
Recently I tried to use this PicSubU filter. I wanted to burn a little logo into my video stream. I created the following avs script:

LoadPlugin("C:\PROGRA~1\GORDIA~1\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\DGMPGDec\picsubu.dll")

mpeg2source("D:\My documents\My video\Gladiator\movie.d2v", idct=3)

crop(16,78,688,428)

LanczosResize(640,272)

PicSubU("C:\Program Files\GordianKnot\VirtualDubMod\plugins\logo.bmp",strength=130,align=3,offset_x=20,offset_y=20)

Media Player Classic closes immediately after I try to open such a script. The same VDMod crashes. Did anyone use this filter ? What could be the reason ?

maomao333
27th February 2005, 04:36
try:
try{
ColorBars(640,480)
ConvertToYV12()
LoadPlugin("C:\PROGRA~1\GORDIA~1\DGMPGDec\picsubu.dll"))
PicSubU("C:\Program Files\GordianKnot\VirtualDubMod\plugins\logo.bmp",strength=130,align=3,offset_x=20,offset_y=20)
}
catch(err_msg) {
BlankClip().Subtitle(err_msg)
}
PicSubU works both in RGB32 and YV12 colorspace (but not in RGB24 and YUV!)
I have my own problem that PicSubU can't read almost 24 bit PNG or 16,24,32 bit BMP file except the sample picture moo-ring.soft1.png?

dr.Prozac
27th February 2005, 20:49
Thx for your reply maomao333.
Unfortunately nothing can be done - I tried to follow your advice but it didn't solve the problem.
I had 24 b picture indeed so I changed it to 8 b but it also did not help.