PDA

View Full Version : Dissolve & compression problem


Various
17th February 2008, 04:26
Hi folks,

I have two clips that I want to dissolve.

One is an avs file that is itself a dissolve of several image files. When I open this in VirtualDub it shows up as uncompressed video.
a=AviSource("file1.avs")

The 2nd is an avi file. I have two versions of it: uncompressed and HuffyUV lossless compressed.
b=AviSource("file2.avi")

I have found that when I do...
c=Dissolve(a,b, 45)

If the b file is the compressed one, the dissolve fails in VirtualDub, which complains of incompatible clips in the dissolve.

If I use the uncompressed avi file, it works.

My question:
How can I make VirtualDub think that the avs file is HuffyUV-compressed?

If I use avi uncompressed file, my disc space will run out...

Thanks.

IanB
17th February 2008, 13:31
@Various,

1. It help immensly if you quote the exact error text when asking for help. (click on the messagebox and type Control-C to copy the text to the clipboard)

2. It also help if you include a copy of the exact script you are having a problem with.


Dissolve like most combining filters needs the video format of the 2 clips to be identical.

You can use one of the *ConvertTo... filters to change the pixel format of one clips to match the other.

* ConvertToRGB(), ConvertToYUY2() or ConvertToYV12()


Probably the next problem you may run into is making the FPS exactly the same for both clips, you can useClip1.AssumeFPS(Clip2)to make Clip1 the same as Clip2.

stickboy
18th February 2008, 12:17
Why did you start another thread instead of continuing your original thread (http://forum.doom9.org/showthread.php?t=134876) (in which I gave you mostly the same advice as IanB)?

neuron2
18th February 2008, 15:08
His a and b clips are delivering different color spaces so they cannot be dissolved together. One must be converted to match.