I just made a short capture using HuffYUV in YUY2 color space. Then I wrote 2 scripts to open the file - one using AVISource and the other with DirectShowSource. The results are very different. DirectShowsource is visibly worse quality cause it adds rainbow artifacts. (see pictures) For AVISource: and here is the file information (by opening the script in VirtualDub) Here is the picture for DirectShowSource (notice the rainbows) and here is the file info: (notice it outputs it in YV12 instead of YUY2. Why ??) Is there solution to this problem ? I'd like to get the same results as I get with AviSource.
------------------------ I HAVE E36 M3 PARTS FOR SALE. WILL FIT A SEDAN OR HATCH 04' JET BLACK ///M3 W/ SMG
OK, I just copied the same DSS script and the same file on a different computer and when I open it in VDub the rainbows are gone and in file info it says Decompressor: Uncompressed RGB32 This is still unacceptable because I want it in YUY2. So it looks to me like directshow reads the file and then it outputs it in YV12 on the first computer and in uncompressed RGB32 on the other computer and that's what VDub is reading. SO is there a way to tell it to output in YUY2 ?
Problem is I want to start using the new plugin ASF Direct Writer for iuVCR which uses asf container. In order to open these files i have to use DirectShowSource. The same problem that I just described is happening with ASF Direct Writer files (.asf) as well as regular AVI files. Basically to summarize this - DirectShowSource reads YUY2 files encoded in HuffYUV and ouputs them in YV12 color space on one computer and in RGB32 on another computer. There must be some setting somewhere that can do it correctly.
------------------------ 1995 M3 Alpine White 4/94 production date. Clear Corners, E46 metal pedals, X-brace, Euro Floating Rotors, Motorsport Strut Brace, H&R Coilover Suspension, Kmac Camber Plates, Ground Control Adjustable Sway Bar End Links, UUC TME's, UUC TSE, JC Euro
When using DirectShowSource the output colorspace is dependant on the direct-show decoder installed and that can vary from system to system. Either edit the responsible decoder to output to another colorspace or replace it or add a ConvertToYUY2(interlaced = true/false) after DirectShowSource.
------------------------ "After all these years I see that I was mistaken about Eve in the beginning; it is better to live outside the Garden with her than inside it without her." -Mark Twain E46 M3 Alpine White OEM CSL Wheels Wish I had a Z8
What does huffyuv have to do with divx anyway? you will have to let the directshow renderer output to YUY2... divx has nothing to do with this... how? I dunno... :( maybe taking a look at your directshow graph in graphedit might help though...
------------------------ RIP Motorsport Recycling! Long Live //MSR Performance. wiseguy@motorsportrecycling.com
Problem is directshow renderes output to YV12 instead of YUY2. DivX decoder is used on my system to decode YV12 color space. I wish there was a way to tell directshowsource to decode it in particular color space - the same way it can be done with AVISource function
On your start menu, go to divx => divx codec => decoder configuration utillity, hit the quality settings tab, and uncheck the support generic MPEG-4 box, or uninstall it. Install the Xvid codec, and go to Xvid => configure decoder. That should give you all the options you want.