CableCARD tuner support for MediaPortal 1 | Page 25

Discussion in 'Area 51 - Testing Area' started by mm1352000, September 18, 2012.

  1. Lyfesaver74
    • Team MediaPortal

    Lyfesaver74 Public Relations

    Joined:
    September 25, 2010
    Messages:
    1,544
    Likes Received:
    890
    Location:
    Texas
    Ratings:
    +1,093 / 3
    Home Country:
    United States of America United States of America
    Show System Specs
    CodeMonkey, he is using my PCIe card to do the testing.


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. CodeMonkey

    CodeMonkey Portal Pro

    Joined:
    December 8, 2004
    Messages:
    360
    Likes Received:
    22
    Occupation:
    Software Engineer
    Location:
    North America
    Ratings:
    +30 / 1
    Home Country:
    United States of America United States of America
    Thanks. Though thinking about it more, it really shouldn't matter which one as long as the Ceton drivers allow access from DirectShow.
     
  4. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    Well... not exactly.
    The Ceton drivers don't allow access from DirectShow. DirectShow interop is done differently depending on the implementation.

    For PBDA, we rely on MS PBDA proxy filters. These are the same filters that I assume WMC uses, so any OCUR CableCARD tuner that works in WMC would work with them. They present a BDA source filter to the OS, which can be connected up in an almost-standard BDA filter graph (network provider->source filter-> etc. etc. etc.). There is a bit of special handling, but not too much. The problem with the proxy interface/filter is that it isn't available in a WOW64 environment, and that is the reason why we had issues with 64 bit support.

    For native DRI/UPnP support, I'm using a generic RTSP source filter from -->here<--. I pass it the UPnP AVTransport stream URL and hey presto - lights, camera, ACTION! To get the URL you have to discover the device and interact with it a little. That is done with the help of the MP2 UPnP library.

    Actually, in both cases figuring out that the device is an OCUR tuner that we support currently boils down to a hard-coded list. This is because there doesn't seem to be any way to determine that the BDA source filter is an OCUR tuner, and the UPnP library will discover any UPnP device on the network (laptops, routers, AV receivers... you name it).

    The hard-coded lists are here:
    https://github.com/MediaPortal/Medi...ibrary/Implementations/DeviceDetector.cs#L463
    https://github.com/MediaPortal/Medi...ibrary/Implementations/DeviceDetector.cs#L685

    As you can see, we currently only support the Prime and the InfiniTV. I'm not sure if the USB InfiniTV would match, but I know the PCIe one definitely does. Anyhow, getting the USB InfiniTV and/or the Hauppauge DCR-2560 to be detected is as simple as adding the correct name prefix for the BDA source filter and/or the UPnP root device friendly name to those lists.

    In other words... buy any tuner that you want, and I should hopefully be able to make it work. :)
     
    • Like Like x 5
  5. guytpetj
    • Premium Supporter

    guytpetj MP Donator

    Joined:
    March 24, 2005
    Messages:
    424
    Likes Received:
    53
    Gender:
    Male
    Occupation:
    Director - Oil and Gas Exploration
    Location:
    USA
    Ratings:
    +58 / 0
    Home Country:
    United States of America United States of America
    Show System Specs
    this is fantastic news, time to order my InfinityTV PCIe card now.
     
    • Like Like x 1
  6. CodeMonkey

    CodeMonkey Portal Pro

    Joined:
    December 8, 2004
    Messages:
    360
    Likes Received:
    22
    Occupation:
    Software Engineer
    Location:
    North America
    Ratings:
    +30 / 1
    Home Country:
    United States of America United States of America
    Yeah I saw this in the code yesterday. I like too that you put the word "cablecard" in comments around your code changes so a simple search found most of the code changes :)

    I am familiar with (P)BDA graph filters from another open source project I have worked on. But I've never accessed any kind of DVB card via UPnP etc. before. Wild stuff :)

    I have accessed USB DVB devices before (Genpix Skywalker for example) from BDA and there is no difference from PCI cards at that level. So I would fully expect the Ceton "name" as reported via BDA for the USB model to also start with "Ceton InfiniTV" and work. But of course there is only one way to really find out :)
     
    Last edited: April 24, 2013
  7. bc0508
    • Premium Supporter

    bc0508 MP Donator

    Joined:
    September 16, 2011
    Messages:
    85
    Likes Received:
    13
    Ratings:
    +13 / 0
    Home Country:
    United States of America United States of America
    I have to say good work. I have been out of it for awhile and just now revising the forum again. I am exicted with the progress and I want to say a great thanks out to anyone that has worked on this project and especially mm1352000.
     
  8. Abjex
    • Premium Supporter

    Abjex MP Donator

    Joined:
    April 26, 2013
    Messages:
    6
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +0 / 0
    Home Country:
    United States of America United States of America
    Hello everyone, I just wanted to thank everyone in advance for your hard work on getting cablecard working with mediaportal.
    I'm new to mediaportal, actually have yet to install it but I do have a ceton infiinitv4 (pcie), I recently had my main gamer/everyday use pc installed with the infinitv4 and windows 7 pro 64bit but decided i wanted to upgrade to windows 8 pro 64bit and with me being impatient, i did not check if what i needed was supported in 8. I had my infinitv4 setup with 3 tuners on my main pc and 1 set aside for a laptop.
    I have multiple computers and spare parts laying around so testing on different O.S.'s is not a problem, except i really hate 32bit. but i'll deal.
    I have comcast/ xfinity and i'm pretty sure i'm free to copy all but hbo, showtime, max and the other "premium" channels. actually i can copy those once, but only on the pc that recorded it.
    There was soo many channels on this infinitv4, i was soo impressed with it but lack of network support in 8 is crazy.

    So let me know if i can help in any way.
     
    Last edited: March 12, 2014
  9. Lyfesaver74
    • Team MediaPortal

    Lyfesaver74 Public Relations

    Joined:
    September 25, 2010
    Messages:
    1,544
    Likes Received:
    890
    Location:
    Texas
    Ratings:
    +1,093 / 3
    Home Country:
    United States of America United States of America
    Show System Specs
    Actually Abjex, you are coming to the party just in time. We are getting some more detailed and higher level of direct help from the manufacturer's developers. I think you will be surprised how soon we might have a solution for you. Granted... what we first release will be a test patch that everyone here can help by trying it out. Ceton or SiliconDust or any other CC device can use the forthcoming patch. Just give us some feedback and it will all be worth it =)

    As for how soon, I can have a better answer to that come Monday. No telling what a weekend of development with the support of the device developers can yield But I am hopeful for some very exciting results.
     
    • Like Like x 2
  10. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    Hello again everyone

    Time for another progress update! :)

    It is almost 11pm on Sunday night here in New Zealand and I'm exhausted. It feels like I've been working on CableCARD support for every free hour for the last three weeks. If you've been following my updates you'll know we really wanted to have a beta release ready to go for y'all by the end of this week. Well, I'm sorry to say we're just not ready yet. :(

    Referring back to our TODO list -->here<--...
    We're done with item 1 - yay! :D
    I'd say we're about half way done with item 2, and we've also done a little bit of item 3.

    So what is the hold up?
    Well, mainly it is that item 2 is taking longer than I thought it would.
    In the last few days we also had an issue with stuttering streaming that had to be dealt with (nobody likes stuttering, right?!? ;)). That set us back a little.
    There were also a few other general loose ends and things that needed to be tidied up that I didn't anticipate, and that set us back a little more.

    So yeah...
    I'm sorry the news is not exactly what you were probably hoping for, and I'm disappointed in myself for not being able to deliver the goods.
    Having said that, you definitely deserve to know what is going on!
    We are still making steady progress and the end is in sight... but I probably shouldn't set a date again - surprises are better, right? :p

    Keep both eyes on this thread for more updates, coming your way... soon! ;)
    mm
     
    • Like Like x 5
  11. mediacowboy

    mediacowboy Portal Pro

    Joined:
    May 5, 2012
    Messages:
    134
    Likes Received:
    11
    Gender:
    Male
    Occupation:
    Support Technician
    Location:
    Texas
    Ratings:
    +25 / 0
    Home Country:
    United States of America United States of America
    Show System Specs
    Don't be to hard on yourself mm. I don't now about anyone else but I would rather you miss the date and it be correct and working, then for you to hit the date and it be junk. Thank you for working on this. Also don't burn yourself out. As with people keep saying about MP2 it will be ready when it is ready.
     
    • Like Like x 1
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!