RC4: Hauppauge PVR-150 not working (1 Viewer)

FlipGer

Retired Team Member
  • Premium Supporter
  • April 27, 2004
    2,658
    115
    48
    Leipzig, Germany
    Home Country
    Germany Germany
    Hi,

    try turning the Hauppauge remote off.
    Which drivers do you use for this one?
    Its recommended to use these.

    That the recorder starts is a normal behaviour. Timeshift is activated on the first start. You may turn it off manually:
    - edit MediaPortal.xml
    - search for <section name="mytv">
    - set <entry name="timeshifting">no</entry>

    Flip.
     

    HenriM

    Portal Pro
    October 17, 2004
    84
    0
    Rijsbergen, The Netherlands
    FlipGer thanks for trying to help me out. I have tried with the suggested Hauppauge IR drivers. Still not working. I have also tried to turn Remote completely off in the configuration. Again no go.

    Then I tried to edit with the mediaportal.xml file directly. When I set 'tvon' to no then I can enter the MyTV part (as expected), but as soon as I try to watch a channel I get the crash (sometimes also 100% CPU and hang of MP).

    Then I set 'timeshifting' to no but also still the same problem. When you check the recorder.log file you get:

    30-4-2006 11:25:40 Recorder: card:1 video device:Hauppauge WinTV PVR PCI II Capture TV:True record:True priority:1
    30-4-2006 11:25:44 Recorder:enable dx9 exclusive mode
    30-4-2006 11:25:51 Recorder:enable dx9 exclusive mode
    30-4-2006 11:25:55 add cmd:MediaPortal.TV.Recording.ViewTvCommand #1
    30-4-2006 11:25:55 Command: view tv channel:RTL 4
    30-4-2006 11:25:55 Recorder: find free card
    30-4-2006 11:25:55 Command:confused:top all card except card:0
    30-4-2006 11:25:55 Recorder: tv channel changed:RTL 4
    30-4-2006 11:25:57 Recorder: use free card Hauppauge PVR150 prio:1 name:Hauppauge PVR150
    30-4-2006 11:25:57 Recorder: start watching on card:Hauppauge PVR150 channel:RTL 4

    So it seems to happen as soon as you try to watch with the PVR150.

    Below again my configuration gathered by the Mediaportal Support.exe program:

    Area: Media Portal Program
    MediaPortal Version: 0.2.0.0 RC4$CVS-28.04.2006- 1:01:17,16
    (2006-04-28)
    MediaPortal Skin: BlueTwo
    Windows Version: Windows XP (SP2)
    .NET CLR Version: 2.0.50727
    DirectX Version: 4.09.00.0904 (9.0c)
    Audio Codec: MPEG/AC3/DTS/LPCM Audio Decoder
    Video Codec: Mpeg2Dec Filter
    CPU Type: Intel Celeron - 2.40GHz
    Memory: 511 MB
    Motherboard: FB61V30 (Shuttle Inc)
    TV Card Model: Hauppauge WinTV PVR PCI II (26xx) (PVR-150)
    TV Card Type: analog
    TV Card Driver: 2.0.43.24103
    Video Card Model: Radeon 9200 Series (128 MB)
    Video Card Driver: ATI 8.241.0.0
    Video Card Resolution: 800x600
    Video Render Type: -
    Audio Card Model: Creative USB Sound Blaster Audigy 2 NX
    Audio Card Driver: -

    I did see some suspecting in the VMR9 file but I am not sure if this was logged during entering MyTV (still investigating this):

    30-04-2006 11:10:48 [e60]vmr9:confused:etDeinterlace() SetDeinterlaceMode(0)
    30-04-2006 11:10:48 [e60]vmr9:confused:etDeinterlace() failed hr:0x80070057
    30-04-2006 11:10:48 [e60]vmr9:confused:etDeinterlace() deinterlace mode OFF: 0x0-0x0-0x0-0x0-0x0-0x0-0x0-0x0-0x0-0x0-0x0

    Normally I have here:

    30-04-2006 01:22:54 [ee8]vmr9:confused:etDeinterlace() SetDeinterlaceMode(3)
    30-04-2006 01:22:54 [ee8]vmr9:confused:etDeinterlace() not using VIDEOINFOHEADER2

    Any help or suggestions are really appreciated.

    FlipGer is it possible that you send me your MediaPortal.xml file directly by email so I can check what the differences are. I can imagine that some other settings can also be of importance (e.g. the General setting 'Use Exclusive DirectX Mode for fullscreen tv/video for which I tried both options).

    I think when we can figure out why it's not working we can potentially help a lot of other members of the communicaty as well and make MP even better and more stable!
     

    HenriM

    Portal Pro
    October 17, 2004
    84
    0
    Rijsbergen, The Netherlands
    I just got a hangup of MP and now (finally) have an error.log file:

    30-4-2006 11:45:58 Exception :confused:ystem.ArgumentOutOfRangeException: startIndex cannot be larger than length of string.
    Parameter name: startIndex
    at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
    at MediaPortal.TV.Database.TVProgram.GetEpisodeDetail()
    at MediaPortal.TV.Database.TVProgram.get_EpisodeDetails()
    at MediaPortal.GUI.TV.GUITvGuideBase.SetProperties()
    at MediaPortal.GUI.TV.GUITvGuideBase.SetFocus()
    at MediaPortal.GUI.TV.GUITvGuideBase.UpdateCurrentProgram()
    at MediaPortal.GUI.TV.GUITvGuideBase.OnDown(Boolean updateScreen)
    at MediaPortal.GUI.TV.GUITvGuideBase.OnAction(Action action)
    at MediaPortal.GUI.Library.GUIWindowManager.OnAction(Action action)
    at MediaPortalApp.OnAction(Action action)
    30-4-2006 11:45:58 Exception :startIndex cannot be larger than length of string.
    Parameter name: startIndex
    30-4-2006 11:45:58 site :confused:ystem.String InternalSubStringWithChecks(Int32, Int32, Boolean)
    30-4-2006 11:45:58 source :mscorlib
    30-4-2006 11:45:58 stacktrace: at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
    at MediaPortal.TV.Database.TVProgram.GetEpisodeDetail()
    at MediaPortal.TV.Database.TVProgram.get_EpisodeDetails()
    at MediaPortal.GUI.TV.GUITvGuideBase.SetProperties()
    at MediaPortal.GUI.TV.GUITvGuideBase.SetFocus()
    at MediaPortal.GUI.TV.GUITvGuideBase.UpdateCurrentProgram()
    at MediaPortal.GUI.TV.GUITvGuideBase.OnDown(Boolean updateScreen)
    at MediaPortal.GUI.TV.GUITvGuideBase.OnAction(Action action)
    at MediaPortal.GUI.Library.GUIWindowManager.OnAction(Action action)
    at MediaPortalApp.OnAction(Action action)
    30-4-2006 11:45:58 exception: startIndex cannot be larger than length of string.
    Parameter name: startIndex mscorlib at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
    at MediaPortal.TV.Database.TVProgram.GetEpisodeDetail()
    at MediaPortal.TV.Database.TVProgram.get_EpisodeDetails()
    at MediaPortal.GUI.TV.GUITvGuideBase.SetProperties()
    at MediaPortal.GUI.TV.GUITvGuideBase.SetFocus()
    at MediaPortal.GUI.TV.GUITvGuideBase.UpdateCurrentProgram()
    at MediaPortal.GUI.TV.GUITvGuideBase.OnDown(Boolean updateScreen)
    at MediaPortal.GUI.TV.GUITvGuideBase.OnAction(Action action)
    at MediaPortal.GUI.Library.GUIWindowManager.OnAction(Action action)
    at MediaPortalApp.OnAction(Action action)
    30-4-2006 11:45:58 Exception :confused:ystem.Exception: exception occured ---> System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string.
    Parameter name: startIndex
    at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
    at MediaPortal.TV.Database.TVProgram.GetEpisodeDetail()
    at MediaPortal.TV.Database.TVProgram.get_EpisodeDetails()
    at MediaPortal.GUI.TV.GUITvGuideBase.SetProperties()
    at MediaPortal.GUI.TV.GUITvGuideBase.SetFocus()
    at MediaPortal.GUI.TV.GUITvGuideBase.UpdateCurrentProgram()
    at MediaPortal.GUI.TV.GUITvGuideBase.OnDown(Boolean updateScreen)
    at MediaPortal.GUI.TV.GUITvGuideBase.OnAction(Action action)
    at MediaPortal.GUI.Library.GUIWindowManager.OnAction(Action action)
    at MediaPortalApp.OnAction(Action action)
    --- End of inner exception stack trace ---
    at MediaPortalApp.OnAction(Action action)
    at MediaPortal.GUI.Library.OnActionHandler.Invoke(Action action)
    at MediaPortal.GUI.Library.GUIWindowManager.DispatchThreadMessages()
    at MediaPortalApp.FrameMove()
    30-4-2006 11:45:58 Exception :exception occured
    30-4-2006 11:45:58 site :Void OnAction(MediaPortal.GUI.Library.Action)
    30-4-2006 11:45:58 source :MediaPortal
    30-4-2006 11:45:58 stacktrace: at MediaPortalApp.OnAction(Action action)
    at MediaPortal.GUI.Library.OnActionHandler.Invoke(Action action)
    at MediaPortal.GUI.Library.GUIWindowManager.DispatchThreadMessages()
    at MediaPortalApp.FrameMove()

    Not sure if it's related to this, but it's worth a shot...
     

    HenriM

    Portal Pro
    October 17, 2004
    84
    0
    Rijsbergen, The Netherlands
    One more question to the community who does have PVR-150 working with RC4. How are your settings in the "Primary" program of Hauppauge WinTV group in the start menu?

    BTW: PVR-150 is working with the WinTV2000 program of Hauppauge so the hardware is not the problem.
     

    FlipGer

    Retired Team Member
  • Premium Supporter
  • April 27, 2004
    2,658
    115
    48
    Leipzig, Germany
    Home Country
    Germany Germany
    Hi,

    I have set primary to Allow VMR (windows XP)...

    But it seems, as if your problem is related to the EPG and not to the TV card. Have to take a deeper look into the log. Perhaps you should try deleting TV Database....

    Flip.
     

    HenriM

    Portal Pro
    October 17, 2004
    84
    0
    Rijsbergen, The Netherlands
    FlipGer thanks again for keep tyring to help me!

    Which further setting do you have for Primary?
    ( ) VMR7 only ( ) VMR9 only (x) Either

    MPEG Playback Options
    [ ] Use DVXA (if available)
    [ ] Use HW Motion Comp (if available)

    I have further tried to remove the TVDatabase (and thus recreating new one after setup), deleted all info in Configuration / Television for:

    Capture Cards
    TV Channels
    TV Channel Groups
    Program

    Then I tried to [Add] the card again in Television / Capture Cards and get the next Error Dialog-box:

    Unable to create graph for this device!

    Followed by a crash.

    Error-log:
    30-4-2006 13:29:18 Exception :confused:ystem.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    at DirectShowLib.IMPEG2StreamIdMap.MapStreamId(Int32 ulStreamId, MPEG2Program MediaSampleContent, Int32 ulSubstreamFilterValue, Int32 iDataOffset)
    at DShowNET.Helper.MPEG2Demux.CreateMappings()
    at MediaPortal.TV.Recording.SinkGraphEx.CreateGraph(Int32 Quality)
    30-4-2006 13:29:18 Exception :Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    30-4-2006 13:29:18 site :Int32 MapStreamId(Int32, DirectShowLib.MPEG2Program, Int32, Int32)
    30-4-2006 13:29:18 source :DirectShowLib
    30-4-2006 13:29:18 stacktrace: at DirectShowLib.IMPEG2StreamIdMap.MapStreamId(Int32 ulStreamId, MPEG2Program MediaSampleContent, Int32 ulSubstreamFilterValue, Int32 iDataOffset)
    at DShowNET.Helper.MPEG2Demux.CreateMappings()
    at MediaPortal.TV.Recording.SinkGraphEx.CreateGraph(Int32 Quality)


    Last part of Mediaportal.log:
    30-4-2006 13:29:18 TVCapture.DeleteGraph() Card:1
    30-4-2006 13:29:47 TVCapture.CreateGraph() Card:1
    30-4-2006 13:29:47 1 vmr9:ctor()
    30-4-2006 13:29:47 1 vmr9:ctor() DX9Device=null
    30-4-2006 13:29:47 1 vmr9:ctor() _renderFrame=null
    30-4-2006 13:29:47 1 vmr9:ctor() done:False
    30-4-2006 13:29:47 SinkGraphEx:CreateGraph() IN
    30-4-2006 13:29:47 SinkGraphEx: Create new filter graph (IGraphBuilder)
    30-4-2006 13:29:47 SinkGraphEx: Get the Capture Graph Builder (ICaptureGraphBuilder2)
    30-4-2006 13:29:47 SinkGraphEx: Link the CaptureGraphBuilder to the filter graph (SetFiltergraph)
    30-4-2006 13:29:47 SinkGraphEx: Add graph to ROT table
    30-4-2006 13:29:47 SinkGraphEx: Adding configured filters...
    30-4-2006 13:29:47 SinkGraphEx: adding filter <Hauppauge> with moniker <device>
    30-4-2006 13:29:47 SinkGraphEx: Added filter <Hauppauge> with moniker <device>
    30-4-2006 13:29:47 SinkGraphEx: adding filter <Hauppauge> with moniker <device>
    30-4-2006 13:29:47 SinkGraphEx: Added filter <Hauppauge> with moniker <device>
    30-4-2006 13:29:47 SinkGraphEx: adding filter <Hauppauge> with moniker <device>
    30-4-2006 13:29:47 SinkGraphEx: Added filter <Hauppauge> with moniker <device>
    30-4-2006 13:29:47 SinkGraphEx: adding filter <Hauppauge> with moniker <device>
    30-4-2006 13:29:47 SinkGraphEx: Added filter <Hauppauge> with moniker <device>
    30-4-2006 13:29:47 SinkGraphEx: adding filter <Hauppauge> with moniker <device>
    30-4-2006 13:29:47 SinkGraphEx: Added filter <Hauppauge> with moniker <device>
    30-4-2006 13:29:47 SinkGraphEx: Adding configured filters...DONE
    30-4-2006 13:29:47 SinkGraphEx: Adding configured pin connections...
    30-4-2006 13:29:47 SinkGraphEx: Connecting <Hauppauge>:0 with <Hauppauge>:%tvtuner%
    30-4-2006 13:29:47 SinkGraphEx: Found sourcePin: <0> <System>
    30-4-2006 13:29:47 SinkGraphEx: Pins connected...
    30-4-2006 13:29:47 SinkGraphEx: Connecting <Hauppauge>:1 with <Hauppauge>:0
    30-4-2006 13:29:47 SinkGraphEx: Found sourcePin: <1> <System>
    30-4-2006 13:29:47 SinkGraphEx: Found pin: <0> <System>
    30-4-2006 13:29:47 SinkGraphEx: Pins connected...
    30-4-2006 13:29:47 SinkGraphEx: Connecting <Hauppauge>:0 with <Hauppauge>:%audiotuner%
    30-4-2006 13:29:47 SinkGraphEx: Found sourcePin: <0> <System>
    30-4-2006 13:29:47 SinkGraphEx: Pins connected...
    30-4-2006 13:29:47 SinkGraphEx: Connecting <Hauppauge>:0 with <Hauppauge>:0
    30-4-2006 13:29:47 SinkGraphEx: Found sourcePin: <0> <System>
    30-4-2006 13:29:47 SinkGraphEx: Found pin: <0> <System>
    30-4-2006 13:29:47 SinkGraphEx: Pins connected...
    30-4-2006 13:29:47 SinkGraphEx: Connecting <Hauppauge>:1 with <Hauppauge>:1
    30-4-2006 13:29:47 SinkGraphEx: Found sourcePin: <1> <System>
    30-4-2006 13:29:47 SinkGraphEx: Found pin: <1> <System>
    30-4-2006 13:29:47 SinkGraphEx: Pins connected...
    30-4-2006 13:29:47 SinkGraphEx: Connecting <Hauppauge>:3 with <Hauppauge>:0
    30-4-2006 13:29:47 SinkGraphEx: Found sourcePin: <3> <System>
    30-4-2006 13:29:47 SinkGraphEx: Found pin: <0> <System>
    30-4-2006 13:29:47 SinkGraphEx: Pins connected...
    30-4-2006 13:29:47 SinkGraphEx: Adding configured pin connections...DONE
    30-4-2006 13:29:47 VideoCaptureDevice: found output pin
    30-4-2006 13:29:47 VideoCaptureDevice:get Video stream control interface (IAMStreamConfig)
    30-4-2006 13:29:47 VideoCaptureDevice:got IAMStreamConfig for Capture
    30-4-2006 13:29:47 SWGraph:capture FrameRate set to 25
    30-4-2006 13:29:47 VideoCaptureDevice: capture FrameRate done :25
    30-4-2006 13:29:47 VideoCaptureDevice:change capture Framesize :720x576 ->720x576
    30-4-2006 13:29:47 SinkGraphEx: Capturing:720x576
    30-4-2006 13:29:47 mpeg2:add new MPEG2 Demultiplexer to graph
    30-4-2006 13:29:47 mpeg2:create video out pin on MPEG2 demuxer
    30-4-2006 13:29:47 mpeg2:create mpeg audio out pin on MPEG2 demuxer
    30-4-2006 13:29:47 mpeg2:create lpcm audio out pin on MPEG2 demuxer
    30-4-2006 13:29:47 mpeg2:find MPEG2 demuxer input pin
    30-4-2006 13:29:47 mpeg2:found MPEG2 demuxer input pin

    I find it interesting that I see:
    30-4-2006 13:29:47 1 vmr9:ctor() DX9Device=null

    When I tried again to add the capture card after restarting Configuration.exe the program just crashes without the error-dialog box as mentioned above.

    Again when I try with TV2000 it works. Also reverting back with a Ghost Image-file to RC2 and all works well. We already found out that more people are suffering from this problem, so it seems to me that somehow there is something wrong in the software.

    There must be a lot of people using the PVR150 in RC4 (listed in Device Manager as:"Hauppauge WinTV PVR PCI II (26xx)") and I am wondering why it's working for them and not for me. My capture card is present in PCI Slot 1 (PCI bus 2, device 7, function 0) in a Shuttle SB61V1G2V3.
     

    wortelsoft

    Portal Pro
    May 13, 2005
    374
    1
    47
    Rotterdam, The Netherlands
    Home Country
    Netherlands Netherlands
    Today I did an upgrade and after that a clean install both worked without any problem (did the clean install because I wanted to get rid of some rubish of the past). My system information.

    Area: Media Portal Program
    MediaPortal Version: 0.2.0.0 RC4$CVS-30.04.2006- 1:01:06,34
    (2006-04-30)
    MediaPortal Skin: Razor
    Windows Version: Windows XP (SP2)
    .NET CLR Version: 2.0.50727
    DirectX Version: 4.09.00.0904 (9.0c)
    Audio Codec: ffdshow Audio Decoder
    Video Codec: InterVideo NonCSS Video Decoder for Hauppauge
    CPU Type: AMD Athlon XP 2000+
    Memory: 511 MB
    Motherboard: L7S7A2 (ECS)
    TV Card Model: PVR150 MCE
    TV Card Type: Hardware
    TV Card Driver: 2.0.43.24054
    Video Card Model: Radeon 9550 (128 MB)
    Video Card Driver: -
    Video Card Resolution: 1280x768
    Video Render Type: VMR9
    Audio Card Model: Creative AudioPCI (ES1371,ES1373) (WDM)
    Audio Card Driver: -
    Synopsis:: -
     

    HenriM

    Portal Pro
    October 17, 2004
    84
    0
    Rijsbergen, The Netherlands
    Thanks for you info Wortelsoft. However you do have a PVR150MCE and I have the PVR150. When I recall correctly you (MCE) have radio support and I don't have this.

    Interesting enough when I setup the PVR150 the very first time via the wizards and downloaded the frequencies by means of choosing my country and village, I noticed that also the radio frequencies where all filled in with My Radios. However PVR150 doesn't support radio.

    Is this perhaps the problem (wrong definition for PVR150)?

    One more question to you Wortelsoft: where did you obtain this specific driver?
     

    FlipGer

    Retired Team Member
  • Premium Supporter
  • April 27, 2004
    2,658
    115
    48
    Leipzig, Germany
    Home Country
    Germany Germany
    Hi,

    I already reported the wrong definition, but I do not think this is the problem. My PVR 150 (nonMCE) works really fine! And the wrong definition is there since ages (also RC2).

    You may try to change the definition manually. Open CaptureCardDefinitions.xml and change radio=false and mce=false.

    Flip.
     

    Users who are viewing this thread

    Top Bottom