PDA

View Full Version : Please Help Me With This Watermark! Logo Video Not Showing


hypnoticpimp
29th January 2007, 05:20
Heres my code avs file, i load that file on tmpgenc, then the wav for the sound, and load up kvcd template, and click start! when done, it never shows the video, just sound

Before it used to show the video and sound, it worked before, i dont know what happened, video does not show up no more,


I used this plugin, watermark plugin for virtual dub
You can try this filter for virtualdub:
http://neuron2.net/logo/logo17b2.zip


Code:
loadvirtualdubplugin("C:\Documents and Settings\iItz Thrillz\Desktop\Video Editing\virtualdub\plugins\Logo.vdf","logo")
LoadPlugin("C:\Documents and Settings\iItz Thrillz\Desktop\Video Editing\DGMPGDEC\DGDecode.dll")
video = MPEG2Source("C:\Documents and Settings\iItz Thrillz\Desktop\VTS_01_2 001DOUG.d2v")
video = converttorgb32(video)
video = logo(video,412,373, 200, 1, 0,0,0,0, "C:\wshh2.bmp", 0, 0, 0, 0, 0,0, 0)
return video
Lanczos4Resize(688,416,0,1,576,318)
Addborders(16,80,16,80)


On the VOB FILE, what i did was i used a program called MPEG VIDEO WIZARD, TO EDIT THE CLIP of 1 video file, like delete some pars from the clip, once i got my , i loaded uop DGINDEX to get my d2v file, aand used the avs file on tmpgenc

, I NOTICED when i remove the watermark code and logo from avs file, tmpgenc shows the video, but when i add the watermark code backo on, it wont show video

Like i said before used to work, show watermark, now for some reason it stopped working, please help


yea i loaded it up on virtualdub and clicked on preview, and it worked, i even saved it as an avi file and video showed, but was like 726 MB

for 7 minutes

and yes it worked before, with the same size bmp file, and settings, jsut all of a siudden dotn work anymore

Posted: Sun Jan 28, 2007 10:18 pm Post subject:

--------------------------------------------------------------------------------

i was playing with the code, and i noticed, even if i took out the 2 logo codes, , tmpgen would still not show the video


SO I took the 2 logo codes, and this code
video = converttorgb32(video)

and tmpgeng finally showed the video

so it has to do with the code
video = converttorgb32(video)

maybe, im not sure, know how to fix it


ill pay!! my aim is hypnotic2pimp

neuron2
31st January 2007, 01:22
My understanding is that you need RGB24 for TMPGEnc if you want to stay in RGB space (I think it will accept YV12 and YUY2 also). But your script is wrong, too. You are returning before you do the resize and add borders operations.

You may try this:

loadvirtualdubplugin("C:\Documents and Settings\iItz Thrillz\Desktop\Video Editing\virtualdub\plugins\Logo.vdf","logo")
LoadPlugin("C:\Documents and Settings\iItz Thrillz\Desktop\Video Editing\DGMPGDEC\DGDecode.dll")
video=MPEG2Source("C:\Documents and Settings\iItz Thrillz\Desktop\VTS_01_2 001DOUG.d2v")
video=converttorgb32(video)
logo(video,412,373, 200, 1, 0,0,0,0, "C:\wshh2.bmp", 0, 0, 0, 0, 0,0, 0)
Lanczos4Resize(688,416,0,1,576,318)
Addborders(16,80,16,80)
converttorgb24()