Log in

View Full Version : version info in avisynth filters


scmccarthy
14th December 2002, 17:53
Donald Graft and Tom Barry compile there filters with version information that is displayed with the name when viewing the files as tiles (that rhymes!).

I want to do this with my own filters, but I do not know how. Can anybody tell me?

Thank you,

Stephen

trbarry
15th December 2002, 15:50
Stephen -

In VS6, if you don't previously have any resource or version info you can choose Insert/Resource/ Version_Info to get a version panel. When you close it choose a file name and folder. Then add it to your project.

I have never tried to do it without the VS6 IDE but it can be done.

- Tom

scmccarthy
15th December 2002, 16:23
Tom -

I'm positive it could be done. I think I could manually cobble something together if I had a file from the build that had a version number in it. I am thinking that it is in a build file of some kind. I am not ready to concede that there is anything you can do with VS6 that cannot me done manually with commandline tools.

Please send me a file from one of your filters that has the version number in it. I am talking about a file generated automatically when you enter the version number into the gui.

Stephen

Guest
16th December 2002, 05:56
I don't know what you are talking about. How do you view a file "as a tile"?

The only thing I do is have a file called version.h that defines a macro VERSION that I manually update and include in all source files. I currently only use it to display in 'debug' and 'show' information.

My files are, however, connected with Microsoft Visual SourceSafe, a configuration management utility. Maybe it's doing something under the covers.

scmccarthy
16th December 2002, 14:12
@neuron2

It is a new view in XP. At the top of any folder there's FILE EDIT VIEW FAVORITES TOOLS HELP; the dropdown menu for view starts has Thumbnails Tiles Icons List Details. Tiles displays internal version information under the name. The most famous example for us is VirtualDub:

VirtualDub video processing tool
Please suggest one, I haven't come up with a good one yet.

Which is the description followed by the company name. UnFilter displays the version followed by the description and so does mpeg2dec3. Ooops, I made a mistake, Mark is the other one who compiles his files that way, not you. Basically, I am talking about how to have a version tab on the properties page. You might need XP to see it in tile view.

Stephen

scmccarthy
16th December 2002, 14:26
@neuron2

It is a new view in XP. At the top of any folder there's FILE EDIT VIEW FAVORITES TOOLS HELP; the dropdown menu for view starts has Thumbnails Tiles Icons List Details. Tiles displays internal version information under the name. The most famous example for us is VirtualDub:

VirtualDub video processing tool
Please suggest one, I haven't come up with a good one yet.

Which is the description followed by the company name. UnFilter displays the version followed by the description and so does mpeg2dec3. Ooops, I made a mistake, Mark is the other one who compiles his files that way, not you. Basically, I am talking about how to have a version tab on the properties page. You might need XP to see it in tile view.

Stephen

trbarry
16th December 2002, 16:36
Stephen -

I always release the source in the zips, so for any of my filters that have version info (all?) just look at files resource.h and *.rc. But I have no idea how to modify them without VS6. I'm sure someone does.

- Tom

scmccarthy
17th December 2002, 01:04
@trbarry

The reason I brought this up is that I could not find the version numbers in the sources. Now I see that the version numbers use commas in the resource files and that becomes periods in the dll. So I might have searched for 0.0.1.3 in the source code for UnFilter that version without finding anything. What I was looking for is in Script1.rc:

VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,0,1,4
PRODUCTVERSION 0,0,1,4

Stephen

[edit] P.S. I have all the Microsoft commanline tools including the resource compiler. As far as I know, I can do anything you can do with VS6, only manually.

trbarry
17th December 2002, 01:46
I can do anything you can do with VS6, only manually.

Yes, you can. But apart from cost, why would you want to?

I'm afraid I spent many years doing development on interactive debugging tools (Compuware) and I'm totally sold on letting the computer do as much of the work as possible. I'm probably 5 times more productive using interactive tools.

But I guess it is just a matter of personal style.

- Tom

scmccarthy
17th December 2002, 04:06
@tom

Masm32 Win32API programming tutorials explain how to write and compile RC files by hand. So I am starting to study that again for the insight into windows low level programming and how to use the commandline tools it gives.

Stephen