Install a supported audio/video encoder for your software analog card (2 Viewers)

mm1352000

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

    What I see in your logs is that the Intervideo encoders can't be used. They return the following error:

    failed to connect audio pin->audio compressor:80040217

    My experience has been that the error code above means that the Intervideo software needs to be registered or activated. Keep in mind that what you've installed is a trial. When it expires it *does* prevent you from using the encoders unless you register the software.

    Hope that helps...
    mm
     

    bruto

    New Member
    August 14, 2012
    2
    1
    46
    Home Country
    Russian Federation Russian Federation
    mm
    PS: for those reading this in the future, details about the setup of tuners that require software encoders are available in our wiki -->here<--.

    First, hi there! :)

    Just bought myself a KWorld USB tuner, tyring to make MP work with it under XP 32-bit because I really didn't like the program included by KWorld (TvTime)
    Got the problem described in thread title, read this thread, read the wiki page linked in quotation, have questions.
    Thing is, I have cyberlink encoders from the KWorld CD (see screenshot, GraphEdit shows them under "directshow filters"). Can they be used or do I really have to look for the other ones?
    hc0073.png


    MP version: 1.2.3.0
    OS: Windows XP 32-bit SP3
    MB/CPU: Gigabyte 790X/AMD Phenom II X3
    TV Tuner: KWorld UB424-D USB Hybrid TV stick Pro (analog + DVB-T)
     
    Last edited:

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    Hello bruto

    I'll get straight to the point.

    Thing is, I have cyberlink encoders from the KWorld CD (see screenshot, GraphEdit shows them under "directshow filters"). Can they be used or do I really have to look for the other ones?
    They're not supported out of the box, but if you are willing to persist it may be possible to use them.

    Previously the list of supported encoders was hard-coded in the MP source code, which meant you had to be able to compile the code to add an encoder. As of MP 1.2.x that list was shifted to the database so the ability to use the KWorld Cyberlink encoders depends on your ability to define them in the database.

    The queries that you would need to run to do this would be:
    Code:
    INSERT INTO SoftwareEncoder (idEncoder, priority, name, type, reusable) VALUES ((SELECT MAX(idEncoder) + 1 FROM SoftwareEncoder), (SELECT MAX(priority) + 1 FROM SoftwareEncoder WHERE type = 0), 'CyberLink MPEG Video Encoder(KWorld)', 0, 1);
    Code:
    INSERT INTO SoftwareEncoder (idEncoder, priority, name, type, reusable) VALUES ((SELECT MAX(idEncoder) + 1 FROM SoftwareEncoder), (SELECT MAX(priority) + 1 FROM SoftwareEncoder WHERE type = 1), 'CyberLink Audio Encoder(KWorld)', 1, 1);

    To execute these queries from the command line:
    1. Click "start", "run", enter "cmd" then click OK. You should now have a command line or terminal open.
    2. Type cd "<path to MySQL install>\bin". For example cd "C:\Program Files\MySQL\bin".
    3. Execute the first query using the command: mysql -u root -p MpTvDb -e "<query text here>". For the first query:
    mysql -u root -p MpTvDb -e "INSERT INTO SoftwareEncoder (idEncoder, priority, name, type, reusable) VALUES ((SELECT MAX(idEncoder) + 1 FROM SoftwareEncoder), (SELECT MAX(priority) + 1 FROM SoftwareEncoder WHERE type = 0), 'CyberLink MPEG Video Encoder(KWorld)', 0, 1);"
    You'll be propted for a password when you do this. The default password is MediaPortal (case sensitive).
    4. Repeat step 3 for the second query.
    5. Open TV Server configuration and go to the "software encoders" tab in the "general" section. If all has gone well, the KWorld encoder should now be included at the bottom of each list and the "installed" column should say "yes". If this is the situation then try to scan again and see if it works.

    Best regards,
    mm
    :)
     

    bruto

    New Member
    August 14, 2012
    2
    1
    46
    Home Country
    Russian Federation Russian Federation
    yay, it's searching for channels now :) Thanks a lot, mm
    Doesn't seem to be finding any channels, though, I may still have questions left!
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    yay, it's searching for channels now :) Thanks a lot, mm
    You're welcome. :)
    I'll ensure that we add support in the default install for the next MP 1.3.x release.

    Doesn't seem to be finding any channels, though, I may still have questions left!
    Finding of channels doesn't depend on the encoders. The critical factors are the country that you select and the antenna/cable option.

    [Edit: issue raised to add support for these encoders "out-of-the-box"... #3958]
     
    Last edited:

    RichardT

    New Member
    January 17, 2013
    2
    0
    78
    Home Country
    United Kingdom United Kingdom
    Hello out there.

    I'm trying to get the analog side of an HVR-900 card to work with MP. I believe that the thing standing in my way is the lack of a video encoder. I came across the posts above and felt that it was the last thing to try before giving up. I've extracted the encoders from a WINTV CD and registered them, but they are not as shown in the DB list so the don't appear as installed.

    So putting my typing skills to use I tried to enter one myself via MySQL copying verbatim what appeared above.

    When I hit <CR> a password was requested..........looking good here I thought.........until I got the following error message:-

    C:\Program Files\MySQL\MySQL Server 5.1\bin>mysql -u root -p MpTvDb -e "INSERT I
    NTO SoftwareEncoder (idEncoder,priority,name,type,reusable) VALUES ((SELECT MAX(
    idEncoder) + 1 FROM SoftwareEncoder),(SELECT MAX(priority) + 1 FROM SoftwareEnco
    der WHERE type = 0), 'MainConcept MPEG Encoder', 0, 1);"
    Enter password: ***********
    ERROR 1093 (HY000) at line 1: You can't specify target table 'SoftwareEncoder' for update in FROM clause

    Not knowing anything about DB's I am now totally lost as to what to do now!

    Anyone able to put me back on track please?

    TIA Richard.
     

    RichardT

    New Member
    January 17, 2013
    2
    0
    78
    Home Country
    United Kingdom United Kingdom
    Sorted the problem.
    Found MySQL Workbench.......makes manipulating the database easy.

    Richard.
     

    Leco Dalai

    New Member
    August 1, 2013
    4
    1
    53
    Home Country
    Brazil Brazil
    MediaPortal Version: 1.4.0
    Windows Version: Windows 8 64bit
    CPU Type: Intel Core i5-2450M (2,5GHz / Turbo Boost 3,1GHz)
    HDD: 500GB
    Memory: 4GB - DDR3
    Video Card: Visus Tv Xtreme USB
    Video Card Driver: Geniatech ver. 6813
    Sound Card: Fast Track Pro Audio
    Sound Card Driver: M-Audio
    1. TV Card: TridVid Hybrid
    1. TV Card Type: Analog and DVB-T
    1. TV Card Driver: ASUSTek Tiger-S Hybrid Capture Device 13.

    Unfortunately, I still have to worry about analog TV and I'm suffering the Encoder "Pain in the ass"... Here are to facts:

    1) WinDVR3 Trial can't be found anywhere;

    2) The MainConcept Encoder listed in bellow link isn´t recognized in windows 8:
    http://wiki.team-mediaportal.com/1_...ftware_Encoding_Card_Setup?highlight=encoder;

    3) I've tried to "brutal force" configure one of my installed encoders, but I keep receiving the same annoying message: "Install a supported audio/video encoder for your software analog card",

    BUT I'M BRAZILIAN AND I NEVER GIVE UP!!!!

    1) I'd suggest you to better explain the difference between Encoder and Decoder, so we don't spend precious time changing decoders before discovering that you are using the wrong option;

    2) I'd suggest you have an option to try the installed encoders "by own risk";

    3) I have some experience in C# and MySql development. I'd like to contribute to MediaPortal by improving the Analog Tv feature. How can I do it?

    Thanks in Advance for any answers
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    Hello and welcome Leco :)

    1) WinDVR3 Trial can't be found anywhere;
    Yes, it is not sold anymore and is becoming harder and harder to find.
    Try here:
    http://www.chip.de/downloads/WinDVR-3.0_13001981.html


    Works for me. :)


    2) The MainConcept Encoder listed in bellow link isn´t recognized in windows 8:

    http://wiki.team-mediaportal.com/1_...ftware_Encoding_Card_Setup?highlight=encoder;
    Unfortunately the encoder providers are always changing the encoder names, and they don't seem to sell a reasonably priced solution for using with a tuner. :(



    3) I've tried to "brutal force" configure one of my installed encoders, but I keep receiving the same annoying message: "Install a supported audio/video encoder for your software analog card",
    I advise you to check the "Software Encoders" tab in the "General" section of TV Server configuration to check whether the encoder has been recognised.
    http://wiki.team-mediaportal.com/1_...onfiguration/06_General#Software_Encoders_Tab

    1) I'd suggest you to better explain the difference between Encoder and Decoder, so we don't spend precious time changing decoders before discovering that you are using the wrong option;
    That is what the above section is for. It is meant to make it easy to know whether you have compatible components installed.



    2) I'd suggest you have an option to try the installed encoders "by own risk";
    That is a fair suggestion. :)
    Unfortunately in most cases user-selected encoders that are not already "in the list" would not work. This is due to various complex compatibility issues.



    3) I have some experience in C# and MySql development. I'd like to contribute to MediaPortal by improving the Analog Tv feature. How can I do it?
    Here is some general info about contributing, with instructions for getting and compiling the source code:
    https://www.team-mediaportal.com/development/contribute-to-mediaportal
    https://www.team-mediaportal.com/development/develop-mediaportal
    http://wiki.team-mediaportal.com/1_..._Development/Building_MediaPortal_from_source

    I think the biggest improvement you could make for analog TV would be to find a way to add support for the MS encoders and/or ffmpeg encoders. Unfortunately that is quite a complex task and would probably involve C++ rather than C#.

    mm
     

    Users who are viewing this thread


    Write your reply...
    Top Bottom