Help editing the xml file (1 Viewer)

icefeniks

Portal Member
February 26, 2007
5
0
Hi , could anyone help me to edit the xml file plsss ???
This is the code I made but it doesn't work.
I will also upload a screenshot of a working graphedit file.
help-MSI@anywhere-plus.gif


Code:
  <capturecard commercialname="MSI TV@Anywhere Plus" capturename="713x BDA Analog Capture" devid="ven_1131&amp;dev_7133&amp;subsys_62311462&amp;rev_d0">
    <capabilities tv="true" radio="false" mpeg2="true" mce="false" sw="false" bda="false"/>
    <tv>
      <interface cat="mux" video="" audio="" mpeg2="0"/>
      <filters>
        <filter cat="tvtuner"     name="713x BDA Analog TV Tuner"          checkdevice="true"/>
        <filter cat="tvaudio"     name="713x BDA Analog TV Audio" checkdevice="true"/>
        <filter cat="crossbar"    name="713x BDA Analog Crossbar" checkdevice="true"/>
        <filter cat="capture"     name="713x BDA Analog Capture" checkdevice="true"/> 
	<filter cat="videncoder" 	name="%videoencoder%"	 checkdevice="false"/>
  	<filter cat="audencoder" 	name="%audioencoder%"	 checkdevice="false"/>
  	<filter cat="mux" 		name="%mpegmux%"	 checkdevice="false"/>
      </filters>
      <connections>
        <connection sourcefilter="tvtuner"  sourcepin="0" sinkfilter="crossbar"	sinkpin="0"/>
        <connection sourcefilter="tvtuner"  sourcepin="1" sinkfilter="tvaudio"	sinkpin="0"/>
        <connection sourcefilter="tvaudio"  sourcepin="0" sinkfilter="crossbar"	sinkpin="3"/>
        <connection sourcefilter="crossbar" sourcepin="0" sinkfilter="capture"	sinkpin="0"/>
        <connection sourcefilter="crossbar" sourcepin="1" sinkfilter="capture"	sinkpin="1"/>
	<connection sourcefilter="capture"	sourcepin="0" sinkfilter="videncoder"	sinkpin="0"/>
	<connection sourcefilter="capture"	sourcepin="0" sinkfilter="audencoder"	sinkpin="0"/>
	<connection sourcefilter="videncoder"	sourcepin="0" sinkfilter="mux"		sinkpin="0"/>
	<connection sourcefilter="audencoder"	sourcepin="0" sinkfilter="mux"		sinkpin="1"/>
      </connections>
    </tv>
  </capturecard>
 

Jan-Tamm

Portal Member
March 5, 2007
11
0
49
Home Country
Taiwan Taiwan
Hi icefeniks,

I had a similar problem. I am no expert but here is the graph that I used (rename to .grf) and the corresponding part of the xml file. This works and the graph can be made. If yours does not work, try enabling the debug logging (setup, general). Then, try to add or edit the capture card. You should get the popup with "cannot create graph". Now, you can check the configuration.log and it should tell you what it tried to connect in the graph and what failed. So in your example, you may have to add the video encoder after the crossbar.

Code:
  <capturecard commercialname="Compro VideoMate H900" capturename="VideoMate H900 Video Capture" devid="ven_14f1&amp;dev_5b7a&amp;subsys_e100185b&amp;rev_00">
    <capabilities tv="true" radio="true" mpeg2="true" mce="true" sw="false" bda="false"/>
    <tv>
      <interface cat="encoder" video="" audio="" mpeg2="0"/>
      <filters>
        <filter cat="tvtuner"  name="VideoMate H900 Tuner"		checkdevice="false"/>
        <filter cat="tvaudio"  name="VideoMate H900 TvAudio"		checkdevice="false"/>
        <filter cat="crossbar" name="VideoMate H900 Crossbar"		checkdevice="false"/>
        <filter cat="capture"  name="VideoMate H900 Video Capture"	checkdevice="true"/>
        <filter cat="encoder"  name="VideoMate H900 Encoder"		checkdevice="false"/>
	</filters>
	<connections>
	<connection sourcefilter="tvtuner"  sourcepin="0" sinkfilter="crossbar"	sinkpin="%tvtuner%"/>
        <connection sourcefilter="tvtuner"  sourcepin="1" sinkfilter="tvaudio"	sinkpin="0"/>
        <connection sourcefilter="tvaudio"  sourcepin="0" sinkfilter="crossbar"	sinkpin="%audiotuner%"/>
        <connection sourcefilter="crossbar" sourcepin="0" sinkfilter="capture"	sinkpin="0"/>
        <connection sourcefilter="crossbar" sourcepin="1" sinkfilter="capture"	sinkpin="1"/>
        <connection sourcefilter="capture"  sourcepin="4" sinkfilter="encoder"	sinkpin="0"/>
      </connections>
    </tv>
  </capturecard>

Good luck,

Jan
 

icefeniks

Portal Member
February 26, 2007
5
0
This is what's in the log :
Code:
2007-03-12 16:26:14.919945 [Info.][Config Main]: device:713x BDA Analog Capture id:@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba720600}
2007-03-12 16:26:14.922875 [Info.][Config Main]: device:713x BDA Digital Capture id:@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048#{fd0a5af4-b41d-11d2-9c95-00c04f7971e0}\{5bb3dbd0-9e1e-424c-9281-6b5e71090600}
2007-03-12 16:26:14.928734 [Info.][Config Main]: Adding name:MSI TV@Anywhere Plus id:ven_1131&dev_7133&subsys_62311462&rev_d0 type:Analog
2007-03-12 16:26:14.929710 [Info.][Config Main]: TVCapture.CreateGraph() Card:2
2007-03-12 16:26:14.931663 [Info.][Config Main]: vmr9:ctor()
2007-03-12 16:26:14.932640 [Info.][Config Main]: vmr9:ctor() DX9Device=null
2007-03-12 16:26:14.934593 [Info.][Config Main]: vmr9:ctor() _renderFrame=null
2007-03-12 16:26:14.937522 [Info.][Config Main]: vmr9:ctor() done:False
2007-03-12 16:26:14.938499 [Info.][Config Main]: SinkGraphEx:CreateGraph() IN
2007-03-12 16:26:14.941428 [Info.][Config Main]:         key:SYSTEM\CurrentControlSet\Enum\PCI\ven_1131&dev_7133&subsys_62311462&rev_d0\4&13699180&0&3048
2007-03-12 16:26:14.943381 [Info.][Config Main]: LoadDefs for device at @system32\drivers\pci.sys,#65536;PCI bus %1, device %2, function %3;(5,6
2007-03-12 16:26:14.944358 [Info.][Config Main]:         key:SYSTEM\CurrentControlSet\Enum\PCI\ven_1131&dev_7133&subsys_62311462&rev_d0\4&13699180&0&3048
2007-03-12 16:26:14.946311 [Info.][Config Main]: defs loaded for device at @system32\drivers\pci.sys,#65536;PCI bus %1, device %2, function %3;(5,6
2007-03-12 16:26:14.951193 [Info.][Config Main]:  video device moniker   :@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba720600}
2007-03-12 16:26:14.952170 [Info.][Config Main]:  captureDeviceDeviceName:@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048
2007-03-12 16:26:14.954123 [Info.][Config Main]:     FindInstance:@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048
2007-03-12 16:26:14.956076 [Info.][Config Main]:       key:SYSTEM\CurrentControlSet\Enum\pci\ven_1131&dev_7133&subsys_62311462&rev_d0\4&13699180&0&3048
2007-03-12 16:26:14.958029 [Info.][Config Main]:         serviceName:3xHybrid
2007-03-12 16:26:14.959982 [Info.][Config Main]:         key:SYSTEM\CurrentControlSet\Services\3xHybrid\Enum
2007-03-12 16:26:14.961935 [Info.][Config Main]:         Number of cards:1
2007-03-12 16:26:14.963888 [Info.][Config Main]:           card#0=PCI#VEN_1131&DEV_7133&SUBSYS_62311462&REV_D0#4&13699180&0&3048
2007-03-12 16:26:14.965841 [Info.][Config Main]:         using card:#0
2007-03-12 16:26:14.967794 [Info.][Config Main]:  Using card#0
2007-03-12 16:26:14.971700 [Info.][Config Main]:   filter tvtuner='713x BDA Analog TV Tuner' check:True
2007-03-12 16:26:14.973653 [Info.][Config Main]:   filter tvaudio='713x BDA Analog TV Audio' check:True
2007-03-12 16:26:14.975606 [Info.][Config Main]:   filter crossbar='713x BDA Analog Crossbar' check:True
2007-03-12 16:26:14.977559 [Info.][Config Main]:   Filter crossbar not found in definitions file
2007-03-12 16:26:14.980488 [ERROR][Config Main]:   Filter crossbar not found in definitions file
2007-03-12 16:26:14.982441 [Info.][Config Main]: SinkGraphEx: Create new filter graph (IGraphBuilder)
2007-03-12 16:26:14.985371 [Info.][Config Main]: SinkGraphEx: Get the Capture Graph Builder (ICaptureGraphBuilder2)
2007-03-12 16:26:14.987324 [Info.][Config Main]: SinkGraphEx: Link the CaptureGraphBuilder to the filter graph (SetFiltergraph)
2007-03-12 16:26:14.989277 [Info.][Config Main]: SinkGraphEx: Add graph to ROT table
2007-03-12 16:26:14.992206 [Info.][Config Main]: SinkGraphEx: Adding configured filters...
2007-03-12 16:26:14.997089 [Info.][Config Main]: SinkGraphEx:  adding filter <713x BDA Analog TV Tuner> with moniker <@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048#{a799a800-a46d-11d0-a18c-00a02401dcd4}\{62b08a3e-335e-4b30-90f9-2ba47ef90600}>
2007-03-12 16:26:15.000018 [Info.][Config Main]: SinkGraphEx:  Added filter <713x BDA Analog TV Tuner> with moniker <@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048#{a799a800-a46d-11d0-a18c-00a02401dcd4}\{62b08a3e-335e-4b30-90f9-2ba47ef90600}>
2007-03-12 16:26:15.006854 [Info.][Config Main]: SinkGraphEx:  adding filter <713x BDA Analog TV Audio> with moniker <@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048#{a799a802-a46d-11d0-a18c-00a02401dcd4}\{defe4e8d-584b-446c-89cc-fd1f4d3f0600}>
2007-03-12 16:26:15.007830 [Info.][Config Main]: SinkGraphEx:  Added filter <713x BDA Analog TV Audio> with moniker <@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048#{a799a802-a46d-11d0-a18c-00a02401dcd4}\{defe4e8d-584b-446c-89cc-fd1f4d3f0600}>
2007-03-12 16:26:15.010760 [Info.][Config Main]: Exception   :System.ArgumentException: De waarde valt niet binnen het verwachte bereik.
   bij System.Runtime.InteropServices.Marshal.MkParseDisplayName(IBindCtx pbc, String szUserName, UInt32& pchEaten, IMoniker& ppmk)
   bij System.Runtime.InteropServices.Marshal.BindToMoniker(String monikerName)
   bij MediaPortal.TV.Recording.SinkGraphEx.CreateGraph(Int32 Quality)
2007-03-12 16:26:15.012713 [ERROR][Config Main]: Exception   :System.ArgumentException: De waarde valt niet binnen het verwachte bereik.
   bij System.Runtime.InteropServices.Marshal.MkParseDisplayName(IBindCtx pbc, String szUserName, UInt32& pchEaten, IMoniker& ppmk)
   bij System.Runtime.InteropServices.Marshal.BindToMoniker(String monikerName)
   bij MediaPortal.TV.Recording.SinkGraphEx.CreateGraph(Int32 Quality)
2007-03-12 16:26:15.014666 [Info.][Config Main]: Exception   :De waarde valt niet binnen het verwachte bereik.
2007-03-12 16:26:15.016619 [ERROR][Config Main]: Exception   :De waarde valt niet binnen het verwachte bereik.
2007-03-12 16:26:15.017595 [Info.][Config Main]:   site      :Void MkParseDisplayName(System.Runtime.InteropServices.ComTypes.IBindCtx, System.String, UInt32 ByRef, System.Runtime.InteropServices.ComTypes.IMoniker ByRef)
2007-03-12 16:26:15.019548 [ERROR][Config Main]:   site      :Void MkParseDisplayName(System.Runtime.InteropServices.ComTypes.IBindCtx, System.String, UInt32 ByRef, System.Runtime.InteropServices.ComTypes.IMoniker ByRef)
2007-03-12 16:26:15.021501 [Info.][Config Main]:   source    :mscorlib
2007-03-12 16:26:15.023454 [ERROR][Config Main]:   source    :mscorlib
2007-03-12 16:26:15.025407 [Info.][Config Main]:   stacktrace:   bij System.Runtime.InteropServices.Marshal.MkParseDisplayName(IBindCtx pbc, String szUserName, UInt32& pchEaten, IMoniker& ppmk)
   bij System.Runtime.InteropServices.Marshal.BindToMoniker(String monikerName)
   bij MediaPortal.TV.Recording.SinkGraphEx.CreateGraph(Int32 Quality)
2007-03-12 16:26:15.027360 [ERROR][Config Main]:   stacktrace:   bij System.Runtime.InteropServices.Marshal.MkParseDisplayName(IBindCtx pbc, String szUserName, UInt32& pchEaten, IMoniker& ppmk)
   bij System.Runtime.InteropServices.Marshal.BindToMoniker(String monikerName)
   bij MediaPortal.TV.Recording.SinkGraphEx.CreateGraph(Int32 Quality)
2007-03-12 16:26:15.029313 [Info.][Config Main]: TVCapture.DeleteGraph() Card:2
2007-03-12 16:26:16.018508 [Info.][Config Main]: TVCapture.CreateGraph() Card:2
2007-03-12 16:26:16.019484 [Info.][Config Main]: vmr9:ctor()
2007-03-12 16:26:16.022414 [Info.][Config Main]: vmr9:ctor() DX9Device=null
2007-03-12 16:26:16.024367 [Info.][Config Main]: vmr9:ctor() _renderFrame=null
2007-03-12 16:26:16.027296 [Info.][Config Main]: vmr9:ctor() done:False
2007-03-12 16:26:16.029249 [Info.][Config Main]: SinkGraphEx:CreateGraph() IN
2007-03-12 16:26:16.030226 [Info.][Config Main]: SinkGraphEx: Create new filter graph (IGraphBuilder)
2007-03-12 16:26:16.035108 [Info.][Config Main]: SinkGraphEx: Get the Capture Graph Builder (ICaptureGraphBuilder2)
2007-03-12 16:26:16.037061 [Info.][Config Main]: SinkGraphEx: Link the CaptureGraphBuilder to the filter graph (SetFiltergraph)
2007-03-12 16:26:16.039014 [Info.][Config Main]: SinkGraphEx: Add graph to ROT table
2007-03-12 16:26:16.051709 [Info.][Config Main]: SinkGraphEx: Adding configured filters...
2007-03-12 16:26:16.062450 [Info.][Config Main]: SinkGraphEx:  adding filter <713x BDA Analog TV Tuner> with moniker <@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048#{a799a800-a46d-11d0-a18c-00a02401dcd4}\{62b08a3e-335e-4b30-90f9-2ba47ef90600}>
2007-03-12 16:26:16.065380 [Info.][Config Main]: SinkGraphEx:  Added filter <713x BDA Analog TV Tuner> with moniker <@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048#{a799a800-a46d-11d0-a18c-00a02401dcd4}\{62b08a3e-335e-4b30-90f9-2ba47ef90600}>
2007-03-12 16:26:16.068309 [Info.][Config Main]: SinkGraphEx:  adding filter <713x BDA Analog TV Audio> with moniker <@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048#{a799a802-a46d-11d0-a18c-00a02401dcd4}\{defe4e8d-584b-446c-89cc-fd1f4d3f0600}>
2007-03-12 16:26:16.070262 [Info.][Config Main]: SinkGraphEx:  Added filter <713x BDA Analog TV Audio> with moniker <@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048#{a799a802-a46d-11d0-a18c-00a02401dcd4}\{defe4e8d-584b-446c-89cc-fd1f4d3f0600}>
2007-03-12 16:26:16.072215 [Info.][Config Main]: Exception   :System.ArgumentException: De waarde valt niet binnen het verwachte bereik.
   bij System.Runtime.InteropServices.Marshal.MkParseDisplayName(IBindCtx pbc, String szUserName, UInt32& pchEaten, IMoniker& ppmk)
   bij System.Runtime.InteropServices.Marshal.BindToMoniker(String monikerName)
   bij MediaPortal.TV.Recording.SinkGraphEx.CreateGraph(Int32 Quality)
2007-03-12 16:26:16.074168 [ERROR][Config Main]: Exception   :System.ArgumentException: De waarde valt niet binnen het verwachte bereik.
   bij System.Runtime.InteropServices.Marshal.MkParseDisplayName(IBindCtx pbc, String szUserName, UInt32& pchEaten, IMoniker& ppmk)
   bij System.Runtime.InteropServices.Marshal.BindToMoniker(String monikerName)
   bij MediaPortal.TV.Recording.SinkGraphEx.CreateGraph(Int32 Quality)
2007-03-12 16:26:16.077098 [Info.][Config Main]: Exception   :De waarde valt niet binnen het verwachte bereik.
2007-03-12 16:26:16.079051 [ERROR][Config Main]: Exception   :De waarde valt niet binnen het verwachte bereik.
2007-03-12 16:26:16.081004 [Info.][Config Main]:   site      :Void MkParseDisplayName(System.Runtime.InteropServices.ComTypes.IBindCtx, System.String, UInt32 ByRef, System.Runtime.InteropServices.ComTypes.IMoniker ByRef)
2007-03-12 16:26:16.081980 [ERROR][Config Main]:   site      :Void MkParseDisplayName(System.Runtime.InteropServices.ComTypes.IBindCtx, System.String, UInt32 ByRef, System.Runtime.InteropServices.ComTypes.IMoniker ByRef)
2007-03-12 16:26:16.083933 [Info.][Config Main]:   source    :mscorlib
2007-03-12 16:26:16.084910 [ERROR][Config Main]:   source    :mscorlib
2007-03-12 16:26:16.087839 [Info.][Config Main]:   stacktrace:   bij System.Runtime.InteropServices.Marshal.MkParseDisplayName(IBindCtx pbc, String szUserName, UInt32& pchEaten, IMoniker& ppmk)
   bij System.Runtime.InteropServices.Marshal.BindToMoniker(String monikerName)
   bij MediaPortal.TV.Recording.SinkGraphEx.CreateGraph(Int32 Quality)
2007-03-12 16:26:16.091745 [ERROR][Config Main]:   stacktrace:   bij System.Runtime.InteropServices.Marshal.MkParseDisplayName(IBindCtx pbc, String szUserName, UInt32& pchEaten, IMoniker& ppmk)
   bij System.Runtime.InteropServices.Marshal.BindToMoniker(String monikerName)
   bij MediaPortal.TV.Recording.SinkGraphEx.CreateGraph(Int32 Quality)
2007-03-12 16:26:16.093698 [Info.][Config Main]: TVCapture.DeleteGraph() Card:2
2007-03-12 16:26:18.027168 [Debug][Config Main]: *** HiQuality False
2007-03-12 16:26:18.030098 [Debug][Config Main]: *** quality -1
2007-03-12 16:26:18.034004 [Debug][Config Main]: *** audio1 -1
2007-03-12 16:26:18.034980 [Debug][Config Main]: *** audio2 -1
2007-03-12 16:26:18.036933 [Debug][Config Main]: *** audio3 -1
2007-03-12 16:26:18.038886 [Debug][Config Main]: *** audio4 -1
2007-03-12 16:26:18.039863 [Debug][Config Main]: *** audiodefault -1
2007-03-12 16:26:18.042792 [Info.][Config Main]: EditCaptureCardForm: ERROR saving card card2 - De objectverwijzing is niet op een exemplaar van een object ingesteld. , Configuration ,    bij MediaPortal.Configuration.EditCaptureCardForm.SaveAllSettings()
2007-03-12 16:26:18.045722 [ERROR][Config Main]: EditCaptureCardForm: ERROR saving card card2 - De objectverwijzing is niet op een exemplaar van een object ingesteld. , Configuration ,    bij MediaPortal.Configuration.EditCaptureCardForm.SaveAllSettings()
2007-03-12 16:26:18.047675 [Info.][Config Main]: TvCaptureDevice.SendCropMessage(): 0, 0, 0, 0
2007-03-12 16:26:20.046570 [Info.][Config Main]: SaveSectionSettings()
 

Jan-Tamm

Portal Member
March 5, 2007
11
0
49
Home Country
Taiwan Taiwan
Hi,

you might want to check if it is not better to use the BDA support. There is good documentation on how to add a BDA card at http://wiki.team-mediaportal.com/Add_TVCard_to_natively_supported_list

Anyhow, if you read your log carefully, you should be able to find a problem:

"Filter crossbar not found in definitions file"

So with that information, I checked back at the screenshot and at your code. In your definition, you say

<filter cat="crossbar" name="713x BDA Analog Crossbar" checkdevice="true"/>

But that does not correspond to the name in the graph filter. There it says "713x BDA Analog Xbar". I suggest you try changing this and see what happens. Also if it still does not work, read the logfile carefully and you might find a hint.

Best regards,

Jan
 

icefeniks

Portal Member
February 26, 2007
5
0
Thx i did what you said and it solved 1 problem but it still doesnt work? u looked ad the log files but i don't know how to solve the next problem :sorry:
This is the code , i hope you can help me :s
Code:
2007-03-15 12:08:47.565085 [Info.][Config Main]:  Using card#0
2007-03-15 12:08:47.566061 [Info.][Config Main]:   filter tvtuner='713x BDA Analog TV Tuner' check:True
2007-03-15 12:08:47.568014 [Info.][Config Main]:   filter tvaudio='713x BDA Analog TV Audio' check:True
2007-03-15 12:08:47.569967 [Info.][Config Main]:   filter crossbar='713x BDA Analog Xbar' check:True
2007-03-15 12:08:47.573873 [Info.][Config Main]:   filter capture='713x BDA Analog Capture' check:True
2007-03-15 12:08:47.575826 [Info.][Config Main]:   filter videncoder='%videoencoder%' check:False
2007-03-15 12:08:47.577779 [Info.][Config Main]:   filter audencoder='%audioencoder%' check:False
2007-03-15 12:08:47.579732 [Info.][Config Main]:   filter mux='%mpegmux%' check:False
2007-03-15 12:08:47.582662 [Info.][Config Main]: LoadDefinitions done
2007-03-15 12:08:47.584615 [Info.][Config Main]: SinkGraphEx: Create new filter graph (IGraphBuilder)
2007-03-15 12:08:47.590474 [Info.][Config Main]: SinkGraphEx: Get the Capture Graph Builder (ICaptureGraphBuilder2)
2007-03-15 12:08:47.615863 [Info.][Config Main]: SinkGraphEx: Link the CaptureGraphBuilder to the filter graph (SetFiltergraph)
2007-03-15 12:08:47.617816 [Info.][Config Main]: SinkGraphEx: Add graph to ROT table
2007-03-15 12:08:47.638322 [Info.][Config Main]: SinkGraphEx: Adding configured filters...
2007-03-15 12:08:47.743784 [Info.][Config Main]: SinkGraphEx:  adding filter <713x BDA Analog TV Tuner> with moniker <@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048#{a799a800-a46d-11d0-a18c-00a02401dcd4}\{62b08a3e-335e-4b30-90f9-2ba47ef90600}>
2007-03-15 12:08:47.745737 [Info.][Config Main]: SinkGraphEx:  Added filter <713x BDA Analog TV Tuner> with moniker <@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048#{a799a800-a46d-11d0-a18c-00a02401dcd4}\{62b08a3e-335e-4b30-90f9-2ba47ef90600}>
2007-03-15 12:08:47.772103 [Info.][Config Main]: SinkGraphEx:  adding filter <713x BDA Analog TV Audio> with moniker <@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048#{a799a802-a46d-11d0-a18c-00a02401dcd4}\{defe4e8d-584b-446c-89cc-fd1f4d3f0600}>
2007-03-15 12:08:47.774056 [Info.][Config Main]: SinkGraphEx:  Added filter <713x BDA Analog TV Audio> with moniker <@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048#{a799a802-a46d-11d0-a18c-00a02401dcd4}\{defe4e8d-584b-446c-89cc-fd1f4d3f0600}>
2007-03-15 12:08:47.777962 [Info.][Config Main]: SinkGraphEx:  adding filter <713x BDA Analog Xbar> with moniker <@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048#{a799a801-a46d-11d0-a18c-00a02401dcd4}\{ed97d48c-e41e-11d5-9964-00e098170600}>
2007-03-15 12:08:47.779915 [Info.][Config Main]: SinkGraphEx:  Added filter <713x BDA Analog Xbar> with moniker <@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048#{a799a801-a46d-11d0-a18c-00a02401dcd4}\{ed97d48c-e41e-11d5-9964-00e098170600}>
2007-03-15 12:08:47.827763 [Info.][Config Main]: SinkGraphEx:  adding filter <713x BDA Analog Capture> with moniker <@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba720600}>
2007-03-15 12:08:47.868776 [Info.][Config Main]: SinkGraphEx:  Added filter <713x BDA Analog Capture> with moniker <@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba720600}>
2007-03-15 12:08:47.870729 [Info.][Config Main]: SinkGraphEx:  preferred filter %videoencoder%
2007-03-15 12:08:47.873659 [Info.][Config Main]: SinkGraphEx:  video codecs installed:17 preferred:6
2007-03-15 12:08:47.875612 [Info.][Config Main]: SinkGraphEx:  try video codec:'InterVideo Video Encoder'
2007-03-15 12:08:47.877565 [Info.][Config Main]: SinkGraphEx:  try video codec:'Ulead MPEG Encoder'
2007-03-15 12:08:47.879518 [Info.][Config Main]: SinkGraphEx:  try video codec:'MainConcept MPEG Video Encoder'
2007-03-15 12:08:47.881471 [Info.][Config Main]: SinkGraphEx:  try video codec:'MainConcept Demo MPEG Video Encoder'
2007-03-15 12:08:47.883424 [Info.][Config Main]: SinkGraphEx:  try video codec:'CyberLink MPEG Video Encoder'
2007-03-15 12:08:47.885377 [Info.][Config Main]: SinkGraphEx:  try video codec:'CyberLink MPEG Video Encoder(Twinhan)'
2007-03-15 12:08:48.086536 [Info.][Config Main]: Exception   :System.ArgumentException: De waarde valt niet binnen het verwachte bereik.
   bij System.Runtime.InteropServices.Marshal.MkParseDisplayName(IBindCtx pbc, String szUserName, UInt32& pchEaten, IMoniker& ppmk)
   bij System.Runtime.InteropServices.Marshal.BindToMoniker(String monikerName)
   bij MediaPortal.TV.Recording.SinkGraphEx.CreateGraph(Int32 Quality)
2007-03-15 12:08:48.089465 [ERROR][Config Main]: Exception   :System.ArgumentException: De waarde valt niet binnen het verwachte bereik.
   bij System.Runtime.InteropServices.Marshal.MkParseDisplayName(IBindCtx pbc, String szUserName, UInt32& pchEaten, IMoniker& ppmk)
   bij System.Runtime.InteropServices.Marshal.BindToMoniker(String monikerName)
   bij MediaPortal.TV.Recording.SinkGraphEx.CreateGraph(Int32 Quality)
2007-03-15 12:08:48.091418 [Info.][Config Main]: Exception   :De waarde valt niet binnen het verwachte bereik.
2007-03-15 12:08:48.093371 [ERROR][Config Main]: Exception   :De waarde valt niet binnen het verwachte bereik.
2007-03-15 12:08:48.094348 [Info.][Config Main]:   site      :Void MkParseDisplayName(System.Runtime.InteropServices.ComTypes.IBindCtx, System.String, UInt32 ByRef, System.Runtime.InteropServices.ComTypes.IMoniker ByRef)
2007-03-15 12:08:48.096301 [ERROR][Config Main]:   site      :Void MkParseDisplayName(System.Runtime.InteropServices.ComTypes.IBindCtx, System.String, UInt32 ByRef, System.Runtime.InteropServices.ComTypes.IMoniker ByRef)
2007-03-15 12:08:48.098254 [Info.][Config Main]:   source    :mscorlib
2007-03-15 12:08:48.099230 [ERROR][Config Main]:   source    :mscorlib
2007-03-15 12:08:48.101183 [Info.][Config Main]:   stacktrace:   bij System.Runtime.InteropServices.Marshal.MkParseDisplayName(IBindCtx pbc, String szUserName, UInt32& pchEaten, IMoniker& ppmk)
   bij System.Runtime.InteropServices.Marshal.BindToMoniker(String monikerName)
   bij MediaPortal.TV.Recording.SinkGraphEx.CreateGraph(Int32 Quality)
2007-03-15 12:08:48.103136 [ERROR][Config Main]:   stacktrace:   bij System.Runtime.InteropServices.Marshal.MkParseDisplayName(IBindCtx pbc, String szUserName, UInt32& pchEaten, IMoniker& ppmk)
   bij System.Runtime.InteropServices.Marshal.BindToMoniker(String monikerName)
   bij MediaPortal.TV.Recording.SinkGraphEx.CreateGraph(Int32 Quality)
 

Jan-Tamm

Portal Member
March 5, 2007
11
0
49
Home Country
Taiwan Taiwan
Hi,

what about my other questions:
  • Are you sure that you have for a hardware MPEG encoder on your card?
  • Did you check the link that I provided?
  • Did you check about the encoder?

Generally, your graph needs to output MPEG2 audio and video, no analog. You should not be able to just render the pin and see the picture.

However, if you have checked all this, maybe it is worth trying what other people with similar cards have done. Maybe that helps?
Code:
<capturecard commercialname="KWorld ATSC-110" capturename="713x BDA Digital Capture" devid="ven_1131&dev_7133&subsys_735017de&rev_f0">
      <capabilities tv="true" radio="false" mpeg2="true" mce="false" sw="false" bda="true"/>
          <tv>
          <interface cat="capture" video="2" audio="3" mpeg2="1" sectionsandtables="5"/>
          <filters>
              <filter cat="networkprovider" name="Microsoft ATSC Network Provider" checkdevice="false"/>
              <filter cat="tunerdevice" name="713x BDA ATSC Tuner" checkdevice="true"/>
              <filter cat="capture" name="713x BDA Digital Capture" checkdevice="true"/>
          </filters>
          <connections>
              <connection sourcefilter="networkprovider" sourcepin="0" sinkfilter="tunerdevice" sinkpin="0"/>
              <connection sourcefilter="tunerdevice" sourcepin="0" sinkfilter="capture" sinkpin="0"/>
          </connections>
          </tv>
      </capturecard>

Good luck,

Jan
 

icefeniks

Portal Member
February 26, 2007
5
0
The graph i made before works in graphedit , i can wath programs in graphedit...
ik can't make it BDA in graphedit because i dont find the right filters. anyhow , i tryed the new code u have send me en edited in this :
Code:
<capturecard commercialname="MSI TV@Anywhere Plus 2" capturename="713x BDA Digital Capture" devid="ven_1131&amp;dev_7133&amp;subsys_62311462&amp;rev_d0">
      <capabilities tv="true" radio="false" mpeg2="true" mce="false" sw="false" bda="true"/>
          <tv>
          <interface cat="capture" video="2" audio="3" mpeg2="1" sectionsandtables="5"/>
          <filters>
              <filter cat="networkprovider" name="Microsoft ATSC Network Provider" checkdevice="false"/>
              <filter cat="tunerdevice" name="713x BDA ATSC Tuner" checkdevice="true"/>
              <filter cat="capture" name="713x BDA Digital Capture" checkdevice="true"/>
          </filters>
          <connections>
              <connection sourcefilter="networkprovider" sourcepin="0" sinkfilter="tunerdevice" sinkpin="0"/>
              <connection sourcefilter="tunerdevice" sourcepin="0" sinkfilter="capture" sinkpin="0"/>
          </connections>
          </tv>
      </capturecard>

When when i checked the log file it said :

Code:
2007-03-16 16:50:48.718949 [Info.][Config Main]: TVCapture.CreateGraph() Card:1
2007-03-16 16:50:48.789257 [Info.][Config Main]: DVBGraphBDA:CreateGraph(). 
2007-03-16 16:50:48.791210 [Info.][Config Main]:         key:SYSTEM\CurrentControlSet\Enum\PCI\ven_1131&dev_7133&subsys_62311462&rev_d0\4&13699180&0&3048
2007-03-16 16:50:48.792187 [Info.][Config Main]: LoadDefs for device at @system32\drivers\pci.sys,#65536;PCI bus %1, device %2, function %3;(5,6
2007-03-16 16:50:48.794140 [Info.][Config Main]:         key:SYSTEM\CurrentControlSet\Enum\PCI\ven_1131&dev_7133&subsys_62311462&rev_d0\4&13699180&0&3048
2007-03-16 16:50:48.795116 [Info.][Config Main]: defs loaded for device at @system32\drivers\pci.sys,#65536;PCI bus %1, device %2, function %3;(5,6
2007-03-16 16:50:48.799022 [Info.][Config Main]:  video device moniker   :@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048#{fd0a5af4-b41d-11d2-9c95-00c04f7971e0}\{5bb3dbd0-9e1e-424c-9281-6b5e71090600}
2007-03-16 16:50:48.799999 [Info.][Config Main]:  captureDeviceDeviceName:@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048
2007-03-16 16:50:48.801952 [Info.][Config Main]:     FindInstance:@device:pnp:\\?\pci#ven_1131&dev_7133&subsys_62311462&rev_d0#4&13699180&0&3048
2007-03-16 16:50:48.803905 [Info.][Config Main]:       key:SYSTEM\CurrentControlSet\Enum\pci\ven_1131&dev_7133&subsys_62311462&rev_d0\4&13699180&0&3048
2007-03-16 16:50:48.804881 [Info.][Config Main]:         serviceName:3xHybrid
2007-03-16 16:50:48.806834 [Info.][Config Main]:         key:SYSTEM\CurrentControlSet\Services\3xHybrid\Enum
2007-03-16 16:50:48.808787 [Info.][Config Main]:         Number of cards:1
2007-03-16 16:50:48.809764 [Info.][Config Main]:           card#0=PCI#VEN_1131&DEV_7133&SUBSYS_62311462&REV_D0#4&13699180&0&3048
2007-03-16 16:50:48.811717 [Info.][Config Main]:         using card:#0
2007-03-16 16:50:48.812693 [Info.][Config Main]:  Using card#0
2007-03-16 16:50:48.814646 [Info.][Config Main]:   filter networkprovider='Microsoft ATSC Network Provider' check:False
2007-03-16 16:50:48.815623 [Info.][Config Main]:   filter tunerdevice='713x BDA ATSC Tuner' check:True
2007-03-16 16:50:48.818552 [Info.][Config Main]:   Filter tunerdevice not found in definitions file
2007-03-16 16:50:48.819529 [ERROR][Config Main]:   Filter tunerdevice not found in definitions file
2007-03-16 16:50:48.821482 [Info.][Config Main]: vmr9:ctor()
2007-03-16 16:50:48.822458 [Info.][Config Main]: vmr9:ctor() DX9Device=null
2007-03-16 16:50:48.824411 [Info.][Config Main]: vmr9:ctor() _renderFrame=null
2007-03-16 16:50:48.825388 [Info.][Config Main]: vmr9:ctor() done:False
2007-03-16 16:50:48.837106 [Info.][Config Main]: DVBGraphBDA: Adding configured filters...
2007-03-16 16:50:48.839059 [Info.][Config Main]: DVBGraphBDA:  Adding filter <Microsoft ATSC Network Provider> with moniker <@device:sw:{71985F4B-1CA1-11D3-9CC8-00C04F7971E0}\Microsoft ATSC Network Provider>
2007-03-16 16:50:48.851753 [Info.][Config Main]: DVBGraphBDA:  Added filter <Microsoft ATSC Network Provider> with moniker <@device:sw:{71985F4B-1CA1-11D3-9CC8-00C04F7971E0}\Microsoft ATSC Network Provider>
2007-03-16 16:50:48.901555 [Info.][Config Main]: DVBGraphBDA:  Adding filter <713x BDA ATSC Tuner> with moniker <>
2007-03-16 16:50:48.903508 [Info.][Config Main]: DVBGraphBDA:  no moniker found for filter:713x BDA ATSC Tuner
2007-03-16 16:50:48.904484 [ERROR][Config Main]: DVBGraphBDA:  no moniker found for filter:713x BDA ATSC Tuner
2007-03-16 16:50:48.906437 [Info.][Config Main]: TVCapture.DeleteGraph() Card:1

No , my card doen'st have a hardware decoder ( i think )
i must doe something wrong in the xml because in graphedit it works fine :(
 

Jan-Tamm

Portal Member
March 5, 2007
11
0
49
Home Country
Taiwan Taiwan
Hi,

well if your card does not have a hardware MPEG encoder, I belive it will not work with Mediaportal at this time, sorry.

Regards,

Jan
 

Users who are viewing this thread

Top Bottom