Log in

View Full Version : Problems with loading .VCF files


rfmmars
26th April 2004, 22:00
This has been a problem that I have asked for a solution, but none has come.

I have spent most of the day working out the solution or I should I say a work around. The problem lies I think in some filters not written correctly, and or a bug in VD & VDMOD. Using VDMOD 1.5.10, I added one filter at a time.

Loading the VCF file without the source being present results with a stream error message. Depending on the filter being used, either it will import, or you will have an error message with some filters being loaded or none. Also the filter values will be incorrect

So here is the raw .VCF file that is unmodified and doesn't work. This was created by VDMOD 1.5.10 and saved with [Save Processing Settings]

VirtualDub.RemoveInputStreams();
VirtualDub.video.DeleteComments(1);
VirtualDub.video.AdjustChapters(1);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(3);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.video.filters.Add("Auto-Levels");
VirtualDub.video.filters.Add("brightness-contrast-gamma [1.0]");
VirtualDub.video.filters.instance[1].Config(0, -27, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
VirtualDub.video.filters.Add("Alparysoft Deinterlace");
VirtualDub.video.filters.instance[2].Config(2, 16;
VirtualDub.video.filters.Add("brightness-contrast-gamma");
VirtualDub.video.filters.instance[2].Config(0, -27, 93, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
VirtualDub.video.filters.Add("radial luminance [2.1]");
VirtualDub.video.filters.instance[3].Config(17, 17, 0, 0, 0, 0, 0, 0, 255, 0, 0);
VirtualDub.video.filters.Add("RGB to YUV");
VirtualDub.video.filters.Add("xsharpen (1.0 beta 2)");
VirtualDub.video.filters.instance[5].Config(255, 125);
VirtualDub.video.filters.Add("YUV to RGB");
VirtualDub.video.filters.Add("shadow smoother (0.7)");
VirtualDub.video.filters.instance[7].Config(8,1,0,1,1,1);
VirtualDub.video.filters.Add("chroma noise reduction (1.1)");
VirtualDub.video.filters.instance[8].Config(1, 192, 35, 0, 256, 47, 0, 256, 47, 0);

Below is what will work even if a source file isn't load. On some filters, I had to eliminate [instance call line] and on some filters to eliminate the error message, or the in correct setup values inputted to the filter


VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(3);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetCompression(0x6461656c,0,10000,0);
VirtualDub.video.SetCompData(16,"TEVBRAUAAAACAAAABAAAAA==");
VirtualDub.video.filters.Clear();
VirtualDub.video.filters.Add("Auto-Levels");
VirtualDub.video.filters.Add("brightness-contrast-gamma [1.0]");
VirtualDub.video.filters.instance[1].Config(0, -27, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
VirtualDub.video.filters.Add("Alparysoft Deinterlace");
VirtualDub.video.filters.Add("radial luminance [2.1]");
VirtualDub.video.filters.instance[3].Config(17, 17, 0, 0, 0, 0, 0, 0, 255, 0, 0);
VirtualDub.video.filters.Add("RGB to YUV");
VirtualDub.video.filters.Add("xsharpen (1.0 beta 2)");
VirtualDub.video.filters.instance[5].Config(255, 125);
VirtualDub.video.filters.Add("YUV to RGB");
VirtualDub.video.filters.Add("shadow smoother (0.7)");
VirtualDub.video.filters.instance[7].Config(8,1,0,1,1,1);
VirtualDub.video.filters.Add("chroma noise reduction (1.1)");
VirtualDub.video.filters.instance[8].Config(1, 192, 35, 0, 256, 47, 0, 256, 47, 0);
VirtualDub.video.filters.Add("chroma smoother");
VirtualDub.video.filters.instance[9].Config(3);
VirtualDub.video.filters.Add("general convolution 3d v1.1");

There is a problem with the above code, it should be the following[/COLOR] [/B

VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(3);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetCompression(0x6461656c,0,10000,0);
VirtualDub.video.SetCompData(16,"TEVBRAUAAAACAAAABAAAAA==");
VirtualDub.video.filters.Clear();
VirtualDub.video.filters.Add("Auto-Levels");
VirtualDub.video.filters.Add("brightness-contrast-gamma [1.0]");
VirtualDub.video.filters.instance[1].Config(0, -27, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
VirtualDub.video.filters.Add("Alparysoft Deinterlace");
VirtualDub.video.filters.Add("radial luminance [2.1]");
VirtualDub.video.filters.instance[3].Config(17, 17, 0, 0, 0, 0, 0, 0, 255, 0, 0);
VirtualDub.video.filters.Add("RGB to YUV");
VirtualDub.video.filters.Add("xsharpen (1.0 beta 2)");
VirtualDub.video.filters.instance[5].Config(255, 125);
VirtualDub.video.filters.Add("YUV to RGB");
VirtualDub.video.filters.Add("shadow smoother (0.7)");
VirtualDub.video.filters.instance[7].Config(8,1,0,1,1,1);
VirtualDub.video.filters.Add("chroma noise reduction (1.1)");
VirtualDub.video.filters.instance[8].Config(1, 192, 35, 0, 256, 47, 0, 256, 47, 0);
VirtualDub.video.filters.Add("chroma smoother");
VirtualDub.video.filters.instance[9].Config(3);
VirtualDub.video.filters.Add("general convolution 3d v1.1");

This file will work on all my machines that have either VD or VDMOD 1.5.10 Without modifacation, it is not backward compatable without editing.

I am still suprised that there are no postings about this problem. I have asked this question many times on several forums with no solutions.

If you have another way where all filters have the correct filter input values load, I would like to here from you.

[B]EDIT.......Gee not a response from anybody. I know that I have not been the only one to have this problem, I have seen other posts with no reply.

This modified script that I have posted has also solved why Dubman wouldn't work.

Again any input from the rest of you?

richard