Analog Hauppauge WIN TV config problem (4 Viewers)

mephisto20

Portal Member
November 20, 2010
17
2
AW: Analog Hauppauge WIN TV config problem

hi,
thnx for the new version.
sorry to say i could not make it work.
symptoms are the same as before:
sound, no picture
logs attached.

any idea ? i get the feeling wer are close ..
 

Attachments

  • Configuration-2-Hauppauge WinTV TvTuner.xml
    1.6 KB

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,227
    Home Country
    New Zealand New Zealand
    Hi again memphisto20

    You are right. We are *very* close!
    At this point I really need to be at your computer - I have two more ideas, but they are too complex to explain here.
    Do you have VNC or remote desktop? If so then perhaps we can arrange a time where I can log into your computer and check my ideas. Alternatively, can we chat on IRC? Perhaps I can walk you through what you need to do step by step. If we can't do this then I'm afraid there is nothing more that I can really do. It doesn't help that you are using MediaPortal 1.1.1 - MediaPortal 1.2.0a has some important improvements that would make it possible to try one other thing.

    Once again, it is so disappointing because we are *so* close. The patch works here...
     

    ramu

    Portal Pro
    July 15, 2008
    190
    7
    Hi mm,

    following Your improvement I'm looking forward to try my old hauppauge card, too.

    Please remember that there ist not only the mic input relevant. Not to have a cable external I used the CD Input for that card.

    I would be happy if You can - afer solving the problem - build a configurated input where users can choose the audio input port of there PC...

    Thx for helping us with that problem
    ramu

    PS: If you don't get further while looking for vnc, perhaps I can help you by giving you access to my server
     

    ramu

    Portal Pro
    July 15, 2008
    190
    7
    Hi mephisto,

    not quite sure if you managed to find the problem? Did You get access to the other pc? I found no additional infos..

    Wish You a happy christmas
    ramu
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,227
    Home Country
    New Zealand New Zealand
    Hi again ramu

    Mephisto and I talked on ICQ and I had a look at the problem on his computer using VNC. Unfortunately I was unable to fix the issue, so for the moment the WinTV PCI cards remains unsupported. This issue is not forgotten although I have a lot of other things to work on and I am pretty much out of ideas. If I come up with anything new then I'll be sure to post here...
     

    ramu

    Portal Pro
    July 15, 2008
    190
    7
    Hi mm,

    thx for Your message and Your research work. I'like to use this card only for a cam for motiondetection therefor normaly there is no audio nessessary...

    Is there a actual patch for mp 1.2 to test this card working? By the way do You know anybody who have experiance with motiondection an the tv-stream coming from tv-server? I', thinking about a MP plugin like SupervisionCam Homepage English but unfortually I#m a C# beginner ... I found this framework (Motion Detection Algorithms - CodeProject)
    but didn't get this togeher with the TV-stream from MP...

    ramu
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,227
    Home Country
    New Zealand New Zealand
    So you're thinking about closed circuit (security) television or something similar?
    Motion detection triggers record, or maybe something else...

    I could possibly maybe make a *very bad* hack that allows the tuner to work without timeshifting the audio, but I would not be able to provide support for it.

    As for the link you posted about motion detection: that sounds like *a lot* of work. Would be good fun if you have the time, but tricky. I don't know of any plugins like that, but I know *way* more about TV Server than I do about the MediaPortal client. You'd probably have to use a codec and then create a custom renderer that analyses the MPEG 2 stream that you receive from the code. That would require work in C/C++ rather than C# I think...
     

    ramu

    Portal Pro
    July 15, 2008
    190
    7
    Hi,

    had a quick view on that code project. There you can open URL streams an find motion differences. What I do not know is if MP provides a mjeg stream? How do I connect the tv-server to the type of video stream this frameworks needs?

    In the moment i work on my beginners project to rebuild an old VB project to controll my house equipment e.g. windowshuters etc.... Hope to bring up a low cost house automationproject for MP...

    After that I hope to go on with this motion detection stuff. Looks as this framework provides a lot of functions ...

    Can you give me a hint / quick hack to connect this framework to MP?

    ramu
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,227
    Home Country
    New Zealand New Zealand
    Hi again ramu

    had a quick view on that code project. There you can open URL streams an find motion differences. What I do not know is if MP provides a mjeg stream? How do I connect the tv-server to the type of video stream this frameworks needs?

    The demo application supports the following types of video sources:

    * AVI files (using Video for Windows, interop library is included);
    * updating JPEG from internet cameras;
    * MJPEG (motion JPEG) streams from different internet cameras;
    * local capture device (USB cameras or other capture devices, DirectShow interop library is included).

    Number 1 is out - we don't use AVI.
    Number 2 and 3 are also out - we don't use JPEG or MJPEG.
    Number 4 would be completely against the timeshifting strategy that we use, so any plugin that you create would be useless.

    You can see how TV Server connects to the tuners in the attached screenshots. It is different for analog and DVB tuners, but the outputs for both sources are TS files on the HDD (MediaPortal Ts Analyser and TsFileSink write TS files to HDD). This TS file is the timeshifting file or recording file created by TV Server. On the MediaPortal client side, the TS file is read by the MediaPortal File Reader and then connected to the screen and soundcard with codecs...

    I think the best place for you to join with the framework would be at the TS file. Then TV Server will create the TS file for you (you will have to tell it to do this with a MediaPortal client GUI plugin) and then you will have to read and analyse the TS file with the framework. This will be ***HARD*** because TS is not yet supported by the framework. Also, it is only a container. Inside there could be MPEG 2 or h.264, which would be ***even HARDER*** to deal with.

    Perhaps you could use the MP file reader to read the TS and codecs to understand the formats (MPEG 2, h.264 etc.), but then you would still have to create a custom "renderer" that replaces VMR or EVR. Instead of rendering it would analyse the video and do whatever you want to do with it. Essentially this would be the framework wrapped up in a renderer box.

    Maybe you could use a "sample grabber" filter, but I don't know how these work or what format they produce (it *could* be JPEG though, which would make it easy). I've attached a picture of how you could connect it, but I have no idea how to use or control it...

    What I want to say is that this is a ***BIG*** project! It won't be a quick hack at all. It could take me *months* to do something like that, and I already know parts of the MP code. It is not that I want to discourage you. Rather, if you want to do it then you will have to be prepared for hard work, and you will have to do lots of research for yourself. I don't have the time to help you, but I could sometimes offer advice if you were *really* stuck.

    Hopefully that makes sense. :)
     

    Attachments

    • Analog_Source.jpg
      Analog_Source.jpg
      67.7 KB
    • DVB_Source.jpg
      DVB_Source.jpg
      33.9 KB
    • Sample_Grabber.jpg
      Sample_Grabber.jpg
      19 KB
    • Output_Side.jpg
      Output_Side.jpg
      22 KB

    Users who are viewing this thread

    Top Bottom