DirectShowSource problem vs. AviSource >> Outdoor Spaces >> Forum
Forum

Forum



SearchSearch   Users   Registration   Entrance
Today: 14.07.2025 - 05:37:07
Pages:  1  2  

DirectShowSource problem vs. AviSource

Advertising

/
MessageAuthor

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

2MCHM4U

user




Statistics:
Messages: 261
Registration: 01.16.2003
29.02.24 - 22:47:11
Message # 1
RE: DirectShowSource problem vs. AviSource

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 ?

------------------------

320

user




Statistics:
Messages: 57
Registration: 06.30.2001
29.02.24 - 22:52:21
Message # 2
RE: DirectShowSource problem vs. AviSource

I don't understand why you're using DirectShowSource if you can use AVISource...?

------------------------
'02 M Coupe

DrZiplok

user




Statistics:
Messages: 361
Registration: 06.25.2003
29.02.24 - 23:01:34
Message # 3
RE: DirectShowSource problem vs. AviSource

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

Hank

user




Statistics:
Messages: 81
Registration: 07.12.2001
29.02.24 - 23:12:15
Message # 4
RE: DirectShowSource problem vs. AviSource

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

274

user




Statistics:
Messages: 355
Registration: 05.14.2002
29.02.24 - 23:18:14
Message # 5
RE: DirectShowSource problem vs. AviSource

OK, thanks but how to I disable the divx decoder ?

------------------------

z015989

user




Statistics:
Messages: 140
Registration: 10.10.2003
29.02.24 - 23:29:46
Message # 6
RE: DirectShowSource problem vs. AviSource

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

Wiseguy ON

user




Statistics:
Messages: 2,858
Registration: 08.19.2003
29.02.24 - 23:40:19
Message # 7
RE: DirectShowSource problem vs. AviSource

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

------------------------

DSK M3/4

user




Statistics:
Messages: 2,003
Registration: 06.11.2001
29.02.24 - 23:50:08
Message # 8
RE: DirectShowSource problem vs. AviSource

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.

------------------------

MPILOT

user




Statistics:
Messages: 830
Registration: 01.20.2003
29.02.24 - 23:58:31
Message # 9
RE: DirectShowSource problem vs. AviSource

OK, I got rid of DivX and installed XVid and still the same problem. The output is still in YV12 color space on one machine and RGB32 on the other.

------------------------

OWFVDRZN

user




Statistics:
Messages: 151
Registration: 07.05.2002
01.03.24 - 00:05:50
Message # 10
RE: DirectShowSource problem vs. AviSource
green subtitles in movie only mode : Previous topic
Pages:  1  2  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants