Log in

View Full Version : Video Compression choices disappear...why?


awolfoutwest69
5th November 2005, 14:52
I'm trying to clean up a video using an AVIsynth script, and when I try to save the result in VirtualDub 1.6.11 as an AVI using Fast Recompress, I have no choice except uncompressed RGB/YUY2 for video compression. The original captures are compressed using HuffYUV, and the script uses the "two-out-of-three" averaging method to compare the video streams and select the best value for each pixel (detailed in the AviSynth Usage forum). Here is the script:

LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\toot.dll")
a=avisource("comp1.avs")
b=avisource("comp2.avs")
c=avisource("comp3.avs")
Toot(a,b,c)
Levels(16, 1, 255, 16, 235, coring=false)
Tweak(hue=0.0, sat=1.0, bright=6.0, cont=0.9, coring=false)
FadeIO(75)
converttoyuy2()

and an example of one of the video stream scripts is:

SegmentedAVISource("J:\Zero\cap2\capture.avi")
Trim(1,214324)
crop(0,0,0,-16)
Addborders(0,8,0,8)

Can anybody see why this process would limit my video compression choices to uncompressed output only? Am I calling the HuffYUV.dll too many times at once? Thanks for any insight/solutions...

stephanV
5th November 2005, 19:30
They disappear with loading the avs script? Or they are never there?

awolfoutwest69
5th November 2005, 20:07
They disappear loading this particular script. I understand that the choices are based on the format of the video, but since it is YUY2, confirmed with an Info() line added to the script, why wouldn't HuffYUV or any other YUY2-compatible codec appear? If I save uncompressed, it is an uncompressed RGB AVI. Obviously I don't want to go through a colorspace conversion.