DirectX Graphedit like utility for wince 6.0 RRS feed

  • Question

  • Hi,

    Is there any utility like graphedit which is provided with desktop version of directx sdk, 

    I am using usb camera driver along with mjpeg filter but getting some exceptions in quartz.dll 

    0001:000b3418       ?SetNewLevel@CNSSource@@UAAJJ@Z 100b4418 f   wmt_splitter:nssplit_props.obj

    herewith providing exception data it throws exception if i use it along with wmv9 encoder and asfwriter to capturing video in file, and works fine if i remove this I mean only for preview.

    Exception 'Data Abort' (4): Thread-Id=0

    6a30032(pth=82d4c900), Proc-Id=06a20032(pprc=8348c694) 'CamApp.exe', VM-active=0

    6a20032(pprc=8348c694) 'CamApp.exe'

    PC=400630e8(coredll.dll+0x000530e8) RA=41994430(quartz.dll+0x000b4430) SP=001ae7

    28, BVA=00000000

    Exception 'Raised Exception' (-1): Thread-Id=06a30032(pth=82d4c900), Proc-Id=004

    00002(pprc=828b1308) 'NK.EXE', VM-active=06a20032(pprc=8348c694) 'CamApp.exe'

    PC=c003bb98(k.coredll.dll+0x0001bb98) RA=8011b4c8(kernel.dll+0x000064c8) SP=d1b7

    f3b8, BVA=ffffffff

    I am looking for way for debugging filter graph, or some way to identify the cause of exception. also looking for the way to identify the filters loaded by the filtergraph.


    Please suggest.




    Saturday, May 7, 2011 6:03 AM

All replies

    Use the function DisplayFilters() and DisplayPinsOfFilter() functions in the following file for displaying the filter graph information.
    Monday, May 9, 2011 12:41 PM
  • Thanks Prabhu,

    I have gone through the way you suggested, enumerate the filters , pins , media types identified the behavior.

    and build the filtergraph mannually , I thought some redundent filters might be creating problem. but still problem appears

    I am able to connect all the filters , check the in and out pins of every filter connected in the graph and their media types. 

    but on the method call pMediaControl->Run() I am getting the above specified exception. 

    I have also tried debug version of quartz.dll but no luck.

    Is it possible using any asfwriter without wmv9encoder in the filter graph ?

    please suggest !  




    Wednesday, May 18, 2011 12:53 PM
  • Could you tell us what exactly you are trying to do?
    If you just want to capture the frames or want to record a video.If you want to record a video then you need to use both asfwriter and wmv9encoder.
    If you just want to capture the raw frames,then you can use the DumpFilter for dumping the raw frames without encoding.
    Friday, May 20, 2011 8:08 AM
  • Hello Prabu,

    actually I wanted to capture the video in file as well as stiils along with preview on the screen, but adding asfwriter and mv9encoder (wrapper) was creating problem and getting exception while calling Run method. 

    now its solved need to connect encoder and asfwriter after putting the filtergraph in Runing state and restart the filtergraph after adding capture(video in file) support.

    now I need to do these thing on events thats start/stop capture to file, and its not working (stopping) by removing filters from the graph after stopping, may be will need to try disconnecting filter pins (buffering,encoder,asfwriter).


    please suggest.





    Monday, May 23, 2011 5:07 AM