mcsimer
14th March 2007, 22:19
Hello
I'm trying to write XviD encoded video into the asf container (dealing with dshow).
My application creates all necessary filters and configures them properly (believe me :)). The last problem i've faced and cann't resolve is the:
Unhandled exception at 0x10b03a3e in Dummy.exe: 0xC0000005: Access violation reading location 0x00000000.
This happens when i try to connect XviD encoder filter to the ASF Writer (IGraphBuilder::ConnectDirect). I'm passing NULL for the required AM_MEDIA_TYPE pointer. ASF Writer was configured by custom profile to have only one video input connection. And a'm realy sure that all used WM_MEDIA_TYPE structures were filled properly.
My suggestion is that ASF Writer make QueryInterface, on the XviD filter or its output pin, for some interface and use retrieved pointer without checking it.
Who can help me to find out what is the problem ?
I'm using DX SDK oct 2006, with the installed Extras package with DShow in it. Also i'm using WM SDK v11.
thanx
I'm trying to write XviD encoded video into the asf container (dealing with dshow).
My application creates all necessary filters and configures them properly (believe me :)). The last problem i've faced and cann't resolve is the:
Unhandled exception at 0x10b03a3e in Dummy.exe: 0xC0000005: Access violation reading location 0x00000000.
This happens when i try to connect XviD encoder filter to the ASF Writer (IGraphBuilder::ConnectDirect). I'm passing NULL for the required AM_MEDIA_TYPE pointer. ASF Writer was configured by custom profile to have only one video input connection. And a'm realy sure that all used WM_MEDIA_TYPE structures were filled properly.
My suggestion is that ASF Writer make QueryInterface, on the XviD filter or its output pin, for some interface and use retrieved pointer without checking it.
Who can help me to find out what is the problem ?
I'm using DX SDK oct 2006, with the installed Extras package with DShow in it. Also i'm using WM SDK v11.
thanx