SAA7130 analog card doesnt work with MP (1 Viewer)

misterd

Retired Team Member
  • Premium Supporter
  • April 4, 2006
    1,597
    314
    Home Country
    Germany Germany
    Sorry for the late response, but I'm quite busy those days.

    Since I don't have the card, I can't do anything with that file. I need a screenshot from this graph within GraphEdit/GraphStudio, so I can see how the graph looks like.
    The pin is a connection element of a node in the graph.

    MisterD
     

    bendtsen

    Portal Member
    May 31, 2010
    34
    0
    Home Country
    Sweden Sweden
    Hi!

    I didn't realize you actually needed the card in order to view the graph, I figured it was a plain XML representation or similar.

    Attached are two JPEG images with screenshots of the graph.

    Thanks in advance.

    Best regards

    - Mikael
     

    Attachments

    • graph-left.JPG
      graph-left.JPG
      74.7 KB
    • graph-right.JPG
      graph-right.JPG
      74.6 KB

    bendtsen

    Portal Member
    May 31, 2010
    34
    0
    Home Country
    Sweden Sweden
    Here is tv.log and error.log from the run with my modified Encoder.cs where I attempt to force software encoding. Maybe you can take a look?

    Thanks in advance.

    - Mikael
     

    misterd

    Retired Team Member
  • Premium Supporter
  • April 4, 2006
    1,597
    314
    Home Country
    Germany Germany
    There are some things that are really weird with your drivers. After looking at the graph, I'm wondering why TvServer can't establish the audio connection between "SAA713x TV Tuner" and "SAA713x TV Card - Crossbar".

    Can you please try to rebuild the graph up to the filter "SAA7130 TV Card" manually in GraphEdit and try there the audio connection between the two mentioned filter above?

    About your custom version:
    The problem is that TvServer doesn't find the plain video stream. Unfortunately my swedish is not so good, so I don't what the names of the pins are on the filter "SAA7130 TV Card". Normally those unused pins in your screenshot should be video and audio pins.

    MisterD
     

    finrudd341

    Portal Pro
    February 24, 2008
    208
    16
    Sao Paulo, Brazil
    Home Country
    Brazil Brazil

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    I just want to throw in that all these software-encoding cards are a huge pain to setup and then to use once you got the setup done.

    If dvb is not available in your area, I'd strongly recommend to use an analog card which features an hardware mpeg2 econder like the Hauppauge PVR cards.
    These are not only plug and play, they also do not require a 2.6 GHz CPU just to watch one TV-Channel.
    Yes, additional costs - but worth every cent. :)
     

    bendtsen

    Portal Member
    May 31, 2010
    34
    0
    Home Country
    Sweden Sweden
    Thank you for all interest.

    misterd: Is it likely that the drivers are the root cause to this problem? I get video and audio in other applications such as InterVideo WinDVD, another application that came with the card, and yet another commercial media software. They depend on the same driver. Is your theory that these applications compensate for such a defect or is it realistic that they interface the card directly? (Is that even possible in Windows?). As audio and video encoding/decoding is not my speciality I may of course be all wrong.

    The pins on SAA7130 TV Card are translated in the attached JPEG.

    I will rebuild the graph manually and see what I find. In the meantime, please reply to this thread so we can take this further. Likely this is something we can improve in MediaPortal. Note I'm not complaining

    finrudd341: No problems, you are most welcome to participate in the discussion. Yes, there are many cards based on this popular chipset from Philips Semiconductors (now NXP Corporation). I just skimmed through your linked thread, but didn't see any analog reception, just DVB-C and DVB-T. Although we have a similar issue with no audio, maybe it is not the same problem?

    i-loop: I agree that would probably be the quickest "solution". However, I'm a software engineer myself so it is not only for getting this obviously crappy card to work. I wan't to learn more about MediaPortal and eventually contribute in the future.

    FYI I live in Sweden and we have only digital broadcasting. Despite this, some providers (like mine) distribute analog signals as well in their own network. Usually for people living in flats and not single family houses. I guess they view this as an advantage for their customers so not everyone had to get a DVB receiver when the analog distribution stopped nationwide two years ago in Sweden.
     

    Attachments

    • graph-left-translated.JPG
      graph-left-translated.JPG
      58.7 KB

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    misterd: Is it likely that the drivers are the root cause to this problem? I get video and audio in other applications such as InterVideo WinDVD, another application that came with the card, and yet another commercial media software.
    If you record something with these apps. Do they generate an avi file, or an ts/mpg file?
    If its an (HUGE) avi, then these apps simply do not encode the recieved data in realtime to mpeg2.

    While I am not a coder like MisterD, this might be the difference why it works in these apps and not in MP (which "does" realtime mepg2 encoding since it can only work with this data)
     

    bendtsen

    Portal Member
    May 31, 2010
    34
    0
    Home Country
    Sweden Sweden
    Hi i-loop! Thanks for the clarification. That sounds indeed plausible. Haven't tried recording but I am sure you are right it will be AVI format and not encoded to MPEG-2. I was not aware of this difference. For viewing TV purposes with crappy analog cards in MP it would be nice with similar AVI support then, i.e. not only MPEG-2 encoded data although I see the reason why it is preferred. :D
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    For viewing TV purposes with crappy analog cards in MP it would be nice with similar AVI support then
    Impossible with TvServer. It can only work with mpeg2 and h.264 streams.
    What you want works with the TV-Engine of MP 0.2.3 or earlier - if the card is supported.

    :sorry:
     

    Users who are viewing this thread


    Write your reply...
    Top Bottom