Log in

View Full Version : Logo version 1.6 beta 4


Guest
27th September 2005, 06:15
I made a new version of my Logo filter that works right with random access. I'd appreciate it if y'all could beat the crud out of it and report any bugs you find. The code is much simpler now and it'll be easier to add new features. Also, the sliders were changed to support HD picture sizes.

http://neuron2.net/logo/logo16b4.zip

xara
15th October 2005, 00:11
Cool :cool:

I'm leaving my mark :p

http://www.duna-design.com.br/p2p/logo.jpg

Thank you!

Guest
15th October 2005, 04:53
I wouldn't have been able to find the logo without that red arrow. :)

That's quite stylish -- much more presentable than any of my lame attempts at logos.

Now you need LogoAway to ditch the HBO logo.

And, oh! It's at beta 4 by now. I've updated the link in the first post.

Thanks for the feedback.

xara
15th October 2005, 12:29
I just finded out that I need to use "Full Processing Mode" in VD.
When using "Fast Recompress" on XviD 2nd pass the filter are not enable. Me numb http://www.duna-design.com.br/Baboo/icon_av-413.gif

Thanks for the upgrade.

unskinnyboy
15th October 2005, 14:11
That's not just for this filter. If you need to use ANY VirtualDub filters, you need to use Full Processing to be able to work in RGB colorspace. This is because VirtualDub filters work in the RGB colorspace and Fast Recompress works in the YUV colorspace.

xara
20th November 2005, 18:34
Hi!

Is there a way to process this filter into AviSynth ?

tks

Guest
21st November 2005, 05:27
Yes. Read about how to import VirtualDub plugins: LoadVirtualDubPlugin().

sarpanch
21st November 2005, 19:54
Hi
Thanks for the fantastic tool. The new logo filter works great as ever.

I have inserted a logo many times using virtual dub & works perfectly.
Now am trying to do the same while converting a DVD to x264.

This is what I've made of it.

1. Gordian Knot maks an avs file.
2. VirtualDubMod loads the avs file and the appropriate plugins.
3. VirtualDubMod muxes the video & audio to give the final clip.

Using the logo tool with GUI was easy but with avs, am clueless. :(
I have searched the forum but couldn't grab any info.

Could anyone help me make an avs script with the following:
Source: C:\logo.bmp
Start Frame 50
End Frame 150
Fade in 10
Fade out 10
Transparent Colour RGB all 0

Wilbert
21st November 2005, 21:38
http://www.avisynth.org/VirtualDub_II (and http://www.avisynth.org/VirtualDub_I).

Let me know if it doesn't work with 1.6 beta 4.

xara
21st November 2005, 22:01
1.6 beta 5 works fine.

This is my call:

ConvertToRGB()
VD_logo(579, 9, 200, true, 0, 0, 255, 0, "D:\Program Files\VirtualDub\plugins\xara24.bmp", false, 770, 0, 0, 100, 1270, 100)
ConvertToYUY2()

Thank you all. Especially neuron2
I really appreciate this.

sarpanch
22nd November 2005, 15:59
Thanks dude.
Exactly what I was looking for..

@xara, the snippet of code you posted worked after adding this line in the avs file
Import("C:\Program Files\GordianKnot\VirtualDubMod\plugins\vdub_filters.avsi")

Sergejack
14th December 2005, 03:29
It happens to crash.

Here is the bug repport of VDUB :

VirtualDub crash report -- build 23604 (release)
--------------------------------------

Disassembly:
02631600: 33d2 xor edx, edx
02631602: eb0e jmp 02631612
02631604: 2bc1 sub eax, ecx
02631606: 33d2 xor edx, edx
02631608: f7f7 div eax, edi
0263160a: 33d2 xor edx, edx
0263160c: f7b644040000 div eax, dword ptr [esi+444]
02631612: 52 push edx
02631613: 56 push esi
02631614: e8a7fbffff call 026311c0
02631619: 8b4618 mov eax, [esi+18h]
0263161c: 83c408 add esp, 08h
0263161f: 83f818 cmp eax, 18h
02631622: 0f85d7020000 jnz 026318ff
02631628: 8b4e0c mov ecx, [esi+0ch]
0263162b: 8b442430 mov eax, [esp+30h]
0263162f: 2bc1 sub eax, ecx
02631631: 8b4c240c mov ecx, [esp+0ch]
02631635: 3bc8 cmp ecx, eax
02631637: 7e04 jle 0263163d
02631639: 8944240c mov [esp+0ch], eax
0263163d: 8b5610 mov edx, [esi+10h]
02631640: 8b442420 mov eax, [esp+20h]
02631644: 8b4c2414 mov ecx, [esp+14h]
02631648: 2bc2 sub eax, edx
0263164a: 3bc8 cmp ecx, eax
0263164c: 7e04 jle 02631652
0263164e: 89442414 mov [esp+14h], eax
02631652: 8b4b0c mov ecx, [ebx+0ch]
02631655: 8b5c2414 mov ebx, [esp+14h]
02631659: 2bc3 sub eax, ebx
0263165b: c7442420000000 mov dword ptr [esp+20h], 00000000
00
02631663: 0faf4118 imul eax, [ecx+18h]
02631667: 034104 add eax, [ecx+04h]
0263166a: 8bd8 mov ebx, eax
0263166c: 85d2 test edx, edx
0263166e: 895c2434 mov [esp+34h], ebx
02631672: 0f8e87020000 jle 026318ff
02631678: 8b7e14 mov edi, [esi+14h]
0263167b: 8b4608 mov eax, [esi+08h]
0263167e: 0faf7c2420 imul edi, [esp+20h]
02631683: 8b4c240c mov ecx, [esp+0ch]
02631687: 03f8 add edi, eax
02631689: 8b460c mov eax, [esi+0ch]
0263168c: 8bd1 mov edx, ecx
0263168e: 03c1 add eax, ecx
02631690: 894c2430 mov [esp+30h], ecx
02631694: 3bd0 cmp edx, eax
02631696: 0f8d40020000 jge 026318dc
0263169c: 8a548b02 mov dl, [ebx+ecx*4+02h] <-- FAULT
026316a0: 33c0 xor eax, eax
026316a2: 8a448b01 mov al, [ebx+ecx*4+01h]
026316a6: 81e2ff000000 and edx, 000000ff
026316ac: 89542438 mov [esp+38h], edx
026316b0: 8b148b mov edx, [ebx+ecx*4]
026316b3: 8944243c mov [esp+3ch], eax
026316b7: 33c0 xor eax, eax
026316b9: 8a07 mov al, [edi]
026316bb: 81e2ff000000 and edx, 000000ff
026316c1: 89542440 mov [esp+40h], edx
026316c5: 47 inc edi
026316c6: 33d2 xor edx, edx
026316c8: 8944241c mov [esp+1ch], eax
026316cc: 8a17 mov dl, [edi]
026316ce: 47 inc edi
026316cf: 33c0 xor eax, eax
026316d1: 89542418 mov [esp+18h], edx
026316d5: 8a07 mov al, [edi]
026316d7: 47 inc edi
026316d8: 89442414 mov [esp+14h], eax
026316dc: 8b864c040000 mov eax, [esi+44c]
026316e2: 85c0 test eax, eax
026316e4: 7661 jbe 02631747
026316e6: 8b9648040000 mov edx, [esi+448]
026316ec: 8b442410 mov eax, [esp+10h]
026316f0: 3bc2 cmp eax, edx
026316f2: 7253 jc 02631747
026316f4: 89442448 mov [esp+48h], eax
026316f8: 33c0 xor eax, eax
026316fa: 8944244c mov [esp+4ch], eax
026316fe: 89 db 89h
026316ff: 54 push esp

Windows 5.1 (Windows XP build 2600) []

EAX = 00000200
EBX = 0a721000
ECX = 00000000
EDX = ffffff80
EBP = 0012fa90
ESI = 019e04b0
EDI = 0aa450d6
ESP = 0012fa08
EIP = 0263169c
EFLAGS = 00010287
FPUCW = ffff027f
FPUTW = ffff3fff

Crash reason: Access Violation

Crash context:
An out-of-bounds memory access (access violation) occurred in module 'Logo'...

...while running filter "logo (1.6b4)" (FilterSystem.cpp:514).

Pointer dumps:

ESP 0012fa08: 0053a7c0 00143240 019e0338 ffffff80 0000004a 00000000 00000000 00000000
0012fa28: 00000182 000000ff 00000000 00000000 00000000 0a721000 00000000 00000000
0012fa48: 00000000 00000000 00000001 00000200 00b249d8 0a660000 00000180 019e0338
0012fa68: 00000000 00000000 0000004a 00000000 0000006f 00000000 ffff0000 0012fa88
EBP 0012fa90: 0012fb08 004857d4 019e0340 00567494 0012fb5c 0012fb84 0000004a 00537028
0012fab0: 00000000 0053a7c0 00000202 0053a858 026340c8 0053a7c0 00000202 0053a858
0012fad0: 026340c8 00b25510 0053a7c0 00000203 0052b6b8 ffffffff 00000000 019e0338
0012faf0: 00b25510 0056f66c 0012faa0 0012fbd4 00528434 00000002 00b29940 00485580

Thread call stack:
0263169c: Logo!0000169c
004857d4: FilterSystem::RunFilters()
00485580: FilterSystem::RunFilters()
00497691: VDProject::RefilterFrame()
004972e7: VDProject::UpdateFrame()
004c3723: VideoSourceAVI::_isKey()
004c17be: VideoSource::isKey()
004c15d5: VideoSource::streamSetDesiredFrame()
00496e59: VDProject::DisplayFrame()
00496e59: VDProject::DisplayFrame()
00466f2c: VDPositionControlW32::SetPosition()
0049954d: VDProject::MoveToNextKey()
0049954d: VDProject::MoveToNextKey()
0049c23f: VDProjectUI::MenuHit()
77d14cf9: USER32!GetWindowLongA [77d10000+4cd2+27]
77d1c569: USER32!DefWindowProcW [77d10000+c4e3+86]
004a5201: VDUIFrame::DefProc()
0049db0b: VDProjectUI::MainWndProc()
77d195cb: USER32!GetMenuState [77d10000+9522+a9]
77d195ee: USER32!GetMenuState [77d10000+9522+cc]
77d14cf9: USER32!GetWindowLongA [77d10000+4cd2+27]
0049d6be: VDProjectUI::WndProc()
004a54c4: VDUIFrame::StaticWndProc()
77d37b5b: USER32!SetWindowPlacement [77d10000+27b04+57]
77d3ce12: USER32!DefRawInputProc [77d10000+2cb8e+284]
77d2ffc9: USER32!GetMessagePos [77d10000+1fa94+535]
77d1459d: USER32!TranslateMessageEx [77d10000+3e10+78d]
77d147b4: USER32!DefWindowProcA [77d10000+45ab+209]
77f4108f: ntdll!KiUserCallbackDispatcher [77f40000+107c+13]
77d5a7dc: USER32!PaintMenuBar [77d10000+4a7c0+1c]
77d2b9c8: USER32!TranslateAccelerator [77d10000+1b980+48]
004a5369: VDUIFrame::TranslateAcceleratorMessage()
0048c0dd: WinMain@16()
00517b63: WinMainCRTStartup()
77e762b6: kernel32!DosPathToSessionPathA [77e40000+360b2+204]

-- End of report

Guest
14th December 2005, 06:35
Every time someone reports this I ask for the settings, an AVI clip, and the BMP so that I can reproduce it. Nobody has ever delivered these things and so I have never been able to duplicate the problem.

Will you be the first?

Sergejack
15th December 2005, 16:55
Every time someone reports this I ask for the settings, an AVI clip, and the BMP so that I can reproduce it. Nobody has ever delivered these things and so I have never been able to duplicate the problem.

Will you be the first?

I'm sending you references to those in a private message.

Sergejack
18th December 2005, 06:38
I installed the 1.6.beta5 and the problem remains.

An out-of-bounds memory access (access violation) occurred in module 'Logo'...
...while running filter "logo (1.6b5)" (FilterSystem.cpp:514).

Ac3Dc3
15th January 2006, 10:45
@neuron2: would it be possible to use alpha channel of a 32bit .bmp for transparency? or load a grayscale file with that info?

i know this can be done in AviSynth easily, but im looking for a vdub solution. could that feature be feasibly implemented into the filter?

Ac3Dc3.

Guest
10th February 2006, 17:16
would it be possible to use alpha channel of a 32bit .bmp for transparency? or load a grayscale file with that info? There's no 32-bit BMP but I could use a 24-bit BMP as I do for the main logo BMP.

i know this can be done in AviSynth easily, but im looking for a vdub solution. could that feature be feasibly implemented into the filter? I have already mostly implemented this and plan to release a beta this weekend.