Planning improvements for analog cards (2 Viewers)

misterd

Retired Team Member
  • Premium Supporter
  • April 4, 2006
    1,597
    314
    Home Country
    Germany Germany
    Hi all,
    inspired by the feedback of some users and the discussion in this thread (https://forum.team-mediaportal.com/patch_improvements_analog_cards-t33290.html), I started the planning phase for some additional changes in the graph building algorithm of analog cards in TvServer.

    Here is my list of goals that I want to achieve. This list isn't complete and final. This means that some goals could be removed during the planning phase:

    Primary goals:
    1.) Improve the startup time of analog tv. This will be achieved by using the DB, where the working graph will be stored.
    2.) Add support for all-in-one software encoder filters like the one from Hauppauge.
    3.) Possibility to use different software multiplexers.
    4.) Support more cards. Therefor the the trial-and-error algorithm of the graph building has to be improved. I think that something like a backtracking algorithm will be used.
    5.) Optimize the graph for the different types of analog cards.
    6.) Simplify the code

    Secondary goals:
    1.) Assign a specific software encoder / multiplexer to a card.
    2.) User can affect the graph building process through SetupTv. This will give the user the ability to support additional cards that can't be detected by the trial-and-error algorithm.

    Why I'm starting this thread already the planning phase?
    I need user input to fulfill primary goal number 4. I need to know which cards aren't currently supported by the TvServer. It would help a lot if you can give me as much details as possible:
    - What is the problem?
    - Logs from TvServer
    - Is it working in MP 0.2.3? When it is working: What is the name of the device in MP? What is the DevId?
    - Picture of a working graph from GraphEdit
    etc. etc.

    If you have some other ideas how the graph building could be improved share your thoughts here.
    Any help is really appreciated, especially testers.

    I will inform you about my progress here in the thread.

    Regards,
    MisterD
     

    Bagal

    MP Donator
  • Premium Supporter
  • December 15, 2006
    229
    16
    Home Country
    United Kingdom United Kingdom
    With secondary goal number 2, do you think this would be able to support webcams? i.e. if I can build a graph for the webcam, will mediaportal be able to use it?

    The reason I ask is that I've been trying out SageTV, someone wrote a network encoder for sage that enables you to create a tuner from any graph you can create in graphedit. I've used this to setup my 2 webcams as additional tuners, each with only 1 channel obviously, but it enables me to view these like any other channel from any client.
    See http://www.nolberger.se/Sage/GraphRecorder/ for info.

    :D
     

    Spragleknas

    Moderator
  • Team MediaPortal
  • December 21, 2005
    9,474
    1,822
    Located
    Home Country
    Norway Norway
    Good to hear that analogue cards are not forgotten.

    IMO improving PQ is the most important improvment needed. This coukd be:
    - Selecting bitrate
    - Options that influence PQ for popular cards (registry settings etc.)

    Anyway: :D for putting analogue cards back on the "map".
     

    hassegubben

    Portal Pro
    November 25, 2006
    163
    2
    58
    Uppsala
    Home Country
    Sweden Sweden
    PQ Quality

    Great news! Picture quality (high bitrates) is highly wanted! I run a Hauppauge PVRUSB2 and I really would like to have the high picture quality Hauppauge TV-application can give me, but from MP! I know Diehard is doing some work to improve the quality, but there seem to be issues with high bitrates.
     

    THDBASED

    Portal Pro
    January 30, 2006
    469
    2
    Home Country
    Belgium Belgium
    Thx a lot for working on this. Users from Belgium will definitely be very grateful for the work you have put into this!
     

    mba

    Portal Pro
    September 16, 2005
    129
    4
    Aarhus
    Home Country
    Denmark Denmark
    That sounds really nice MisterD,
    I'm a 150mce user myself, and I would also like faster startup time, better PQ and I second that idea Bagal suggested.
    If you need some testing let me know.

    Kind regards
    Martin
     

    misterd

    Retired Team Member
  • Premium Supporter
  • April 4, 2006
    1,597
    314
    Home Country
    Germany Germany
    Hi misterd,

    you know that when you have any code ready, I can be your tester ;-)

    Simone
    I haven't expected anything else ;) But nice to hear that you're helping again.

    With secondary goal number 2, do you think this would be able to support webcams? i.e. if I can build a graph for the webcam, will mediaportal be able to use it?

    The reason I ask is that I've been trying out SageTV, someone wrote a network encoder for sage that enables you to create a tuner from any graph you can create in graphedit. I've used this to setup my 2 webcams as additional tuners, each with only 1 channel obviously, but it enables me to view these like any other channel from any client.
    See http://www.nolberger.se/Sage/GraphRecorder/ for info.

    :D
    I don't think that this will be possible, but I'm not really sure.
    I will describe my plans for this goal a little bit more in detail. Some analog cards have for example multiple capture devices or bad drivers that give wrong informations. My plan is that the user can in this case select the right capture devices, pin etc.

    Good to hear that analogue cards are not forgotten.

    IMO improving PQ is the most important improvment needed. This coukd be:
    - Selecting bitrate
    - Options that influence PQ for popular cards (registry settings etc.)

    Anyway: :D for putting analogue cards back on the "map".
    I have thought about these two things already, but I have no idea atm who I could implement this.

    That sounds really nice MisterD,
    I'm a 150mce user myself, and I would also like faster startup time, better PQ and I second that idea Bagal suggested.
    If you need some testing let me know.

    Kind regards
    Martin
    Thanks for your help. I will let you know when I have something to test for you.

    MisterD
     

    dman_lfc

    Retired Team Member
  • Premium Supporter
  • July 28, 2004
    1,772
    30
    UK
    Home Country
    New Zealand New Zealand
    misterd,

    For PQ the DirectShow ICodecAPI COM interface can be used for encoder / multiplexer filters whether it be hardware or software. This is used if they're MCE compatible (of which most are these days).
    I suggest you work with diehard2 who is looking at this.
    The implementation information is in AXExtend.cs of DirectShowLib.

    If the encoder does not support this interface call then you can work on other proprietary interfaces. i.e. older Hauppauge PVR cards.

    DMAN
     

    misterd

    Retired Team Member
  • Premium Supporter
  • April 4, 2006
    1,597
    314
    Home Country
    Germany Germany
    Thanks for this information. This could be very helpful for integrating this feature.
    My main problem is that I'm trying to find a good way of integrating this feature into TVE3. The main reason is that TVE3 has a server architecture and therefor we need a different form of integration.

    I know that diehard2 is working on this and therefor try to work with him on this feature.

    MisterD
     

    Users who are viewing this thread

    Top Bottom