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 > Capturing and Editing Video > VirtualDub, VDubMod & AviDemux

Reply
 
Thread Tools Search this Thread Display Modes
Old 11th January 2002, 07:59   #1  |  Link
TelemachusMH
Just a kid at heart
 
TelemachusMH's Avatar
 
Join Date: Oct 2001
Location: Wouldn't you like to know ;-)
Posts: 272
Filter menus and options

I would like to get as much information as I can about how virtualdub filter files are made and how virtualdub makes the gui menus for them. Does anyone know where to get information like this? I am curious about learning that.

Thanks,
TelemachusMH
TelemachusMH is offline   Reply With Quote
Old 11th January 2002, 16:01   #2  |  Link
iluminati
Registered User
 
Join Date: Oct 2001
Posts: 11

There is a filter tutorial at the vdub homepage, http://www.virtualdub.org/downloads/filtsdk-1_04.zip
maybe this is what you're looking for.
iluminati is offline   Reply With Quote
Old 11th January 2002, 21:32   #3  |  Link
TelemachusMH
Just a kid at heart
 
TelemachusMH's Avatar
 
Join Date: Oct 2001
Location: Wouldn't you like to know ;-)
Posts: 272
Thanks for that, I will look at it. I would also like to say (because I don't think I was very clear about this), I would like to know how does virtualdub use the filters and create the gui windows for the options to be changed in? Are there gui definitions inside the filter, if so how can they be used to make the window?
TelemachusMH is offline   Reply With Quote
Old 21st January 2002, 19:46   #4  |  Link
bd
Registered User
 
Join Date: Jan 2002
Location: Trabzon/TURKEY
Posts: 5
Dialog Boxes

Hi,
Virtualdub filters uses dialog boxes etc. which are old windows type. You can learn these subjects from this book called Schildt's Windows 95 Programming in C and C++(Herbert Schildt, Osborne McGraw-Hill). For example,
Each dialog box that you define will need its own window function, which is generally called a dialog function.
BOOL CALLBACK DFunc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{ ... }
First, You must create a DialogBox from Insert->Resource->Dialog
Then You can add Tool(EditBox,Button, RadioButtun(Properties->ID IDC_RADIO1(Default) etc)This IDC_RADIO1 is called by DFunc as a message)...
If you want to obtain information, I can help you.
bd is offline   Reply With Quote
Old 22nd January 2002, 19:15   #5  |  Link
TelemachusMH
Just a kid at heart
 
TelemachusMH's Avatar
 
Join Date: Oct 2001
Location: Wouldn't you like to know ;-)
Posts: 272
Accually I would love to learn more about it. I am not sure if I will be able to get the book that you recommended, but and web pages or other books would be great. Thanks for the help.

TelemachusMH
TelemachusMH is offline   Reply With Quote
Old 23rd January 2002, 00:22   #6  |  Link
bd
Registered User
 
Join Date: Jan 2002
Location: Trabzon/TURKEY
Posts: 5
Dialog Box

Hi,
I send you dialog box document and a filter example. I hope that you benefit from this document. You can find detailed documents in these books e.g. windows programming in C or C++ ,web pages e.g. www.codeguru.com or www.informit.com/free_library or http://cseng.aw.com, MSDN Library in Visual C++ 6.0)

I will also explain a subject:
The message will be received by the structure type MSG:
typedef struct tagMSG {
HWND hwnd;//window that message is for
UINT message;//message
WPARAM wParam;//message-dependet info
LPARAM lParam;// more message-dependet info
DWORD time;//time message posted
POINT pt;// X,Y location of mouse;
}MSG;
WPARAM-> UINT and LPARAM-> LONG
bd is offline   Reply With Quote
Old 23rd January 2002, 00:58   #7  |  Link
gabest
Registered User
 
gabest's Avatar
 
Join Date: Oct 2001
Posts: 1,459
I wonder why nobody is suggesting MFC, it would be hundered times easier and faster.
gabest is offline   Reply With Quote
Old 23rd January 2002, 06:23   #8  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,924
@gabest

If it's to develop VirtualDub filters, MFC would not be a good idea because each filter executable would be gigantic and Avery would have a heart attack. Definite overkill.
Guest is offline   Reply With Quote
Old 23rd January 2002, 06:35   #9  |  Link
gabest
Registered User
 
gabest's Avatar
 
Join Date: Oct 2001
Posts: 1,459
That's not true, nobody would link mfc statically, you can find mfc42(u).dll in every windows.
gabest is offline   Reply With Quote
Old 24th January 2002, 19:15   #10  |  Link
TelemachusMH
Just a kid at heart
 
TelemachusMH's Avatar
 
Join Date: Oct 2001
Location: Wouldn't you like to know ;-)
Posts: 272
Thanks for all the info, I've got a lot of reading to do . I just wanted to clarify one thing, I am not trying to make a new virtualdub filter, I want to be able to display the filters, that are already made, in a different program than virtualdub.
Thanks for the reading.

TelemachusMH

PS ... The attachment doesn't seem to be working.

Last edited by TelemachusMH; 24th January 2002 at 19:32.
TelemachusMH is offline   Reply With Quote
Old 25th January 2002, 02:35   #11  |  Link
Tasslehoff2
Registered User
 
Join Date: Jan 2002
Posts: 5
Does it matter which order to place the filters as I'd be using
Smart Deinterlacer -Don G. and smart resize. TIA
Tasslehoff2 is offline   Reply With Quote
Old 25th January 2002, 04:11   #12  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,924
Always deinterlace before resizing.
Guest is offline   Reply With Quote
Old 25th January 2002, 22:35   #13  |  Link
TelemachusMH
Just a kid at heart
 
TelemachusMH's Avatar
 
Join Date: Oct 2001
Location: Wouldn't you like to know ;-)
Posts: 272
I have a bit of a confession to make. This is my first time trying to make any program that has a gui (other then text), and I don't really know much about it. So, I am having trouble finding the infomation, because I don't know if it is the information I need. What is the title that I should be looking for? Or are there dialog boxes just standard boxes for windows?

Thanks again, and parden my ignorance,
TelemachusMH
TelemachusMH is offline   Reply With Quote
Old 26th January 2002, 09:53   #14  |  Link
bd
Registered User
 
Join Date: Jan 2002
Location: Trabzon/TURKEY
Posts: 5
gui

Hi,
Excuse me for misunderstanding your subject. If you want to download a simple program(play sequence, Microsoft Foundation Classes(MFC) are used by this program), you can download from www.cs.umd.edu/~rgc/software/index.html

If you want to use MFC in your program, I suggest the book called MFC Programming from the Ground Up, Second Edition
by Herbert Schildt, http://www.osborne.com/programming_w...78825733.shtml or Sams Teach Yourself Visual C++ 6.0 in 21 Days.
Otherwise, I suggest the book called Windows 2000 Programming from the Ground Up by Herbert Schildt, http://www.osborne.com/programming_w...72121890.shtml

Thanks.

Last edited by bd; 27th January 2002 at 17:17.
bd 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:37.


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