Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Query for DVD Codec Installed

  1. #1
    I'm sorry, and you are....? frodobaggins's Avatar
    Join Date
    Jan 2003
    Location
    Ruston, LA
    Posts
    8,846

    Query for DVD Codec Installed

    Does anyone know how (in VB) to check whether a dvd codec is installed before invoking mswebdvd ?

    I need to be able to check for a codec to be able to issue a warning and keep it from crashing if someone enables dvd and has no codec installed.

    Frodo
    [H]4 Life
    My next generation Front End is right on schedule.
    It will be done sometime in the next generation.
    I'm a lesbian too.
    I am for hire!

  2. #2
    Low Bitrate aultl's Avatar
    Join Date
    Sep 2003
    Location
    Tennessee
    Posts
    110
    I cannot give you the entire answer as I do not know however I can get you started. If you run msinfo32.exe and select components->mutimedia->video codecs there is a list of installed codecs, meaning this information has to be available somewhere (via API call or registry). If you open visual basic and click on the project menu then choose components then select msinfo32 1.0 type control. Again I do not know how to use the control but you should be able to get this info from it.
    Aultl
    [====---] - 65% complete
    Status: Configuring Software
    VIA Epia 800mhz, 256Mb ram, 10Gb HD


    Quote of the Month: "I see the problem, [The RAID controller] is trying to rebuild the array with good data from a failed drive." -- HP Support

  3. #3
    I'm sorry, and you are....? frodobaggins's Avatar
    Join Date
    Jan 2003
    Location
    Ruston, LA
    Posts
    8,846
    Quote Originally Posted by aultl
    I cannot give you the entire answer as I do not know however I can get you started. If you run msinfo32.exe and select components->mutimedia->video codecs there is a list of installed codecs, meaning this information has to be available somewhere (via API call or registry). If you open visual basic and click on the project menu then choose components then select msinfo32 1.0 type control. Again I do not know how to use the control but you should be able to get this info from it.
    Get a nice crash from that
    [H]4 Life
    My next generation Front End is right on schedule.
    It will be done sometime in the next generation.
    I'm a lesbian too.
    I am for hire!

  4. #4
    Maximum Bitrate deadweasel's Avatar
    Join Date
    Nov 2003
    Location
    Detroit MI
    Posts
    886
    Quote Originally Posted by frodobaggins
    Get a nice crash from that
    Yay! API strikes again!

    Sorry, couldn't resist.

    *coughs and goes back to API project*
    The ALEXIS Project
    MP3---VIDEO---GPS---REARVIEW---OBD---SKINNING
    Color Coding :
    DONE / MOSTLY DONE / BASE FEATURES / WORKING CONCEPT / NO CODE COMPLETED

  5. #5
    I'm sorry, and you are....? frodobaggins's Avatar
    Join Date
    Jan 2003
    Location
    Ruston, LA
    Posts
    8,846
    Quote Originally Posted by deadweasel
    Yay! API strikes again!

    Sorry, couldn't resist.

    *coughs and goes back to API project*
    Wasn't API that crashed, it was that crap type library
    [H]4 Life
    My next generation Front End is right on schedule.
    It will be done sometime in the next generation.
    I'm a lesbian too.
    I am for hire!

  6. #6
    Low Bitrate aultl's Avatar
    Join Date
    Sep 2003
    Location
    Tennessee
    Posts
    110
    Quote Originally Posted by frodobaggins
    Wasn't API that crashed, it was that crap type library
    I said I did not know how to use it . I played with it for about an hour and all web searches returned no info on it. So here is the _Really Bad_ way to do it. Run "msinfo32 /nfo c:\file.nfo /categories +all" this will save the info in an XML file and then just parse the xml for Catagory="Video Codecs" and load it.
    Aultl
    [====---] - 65% complete
    Status: Configuring Software
    VIA Epia 800mhz, 256Mb ram, 10Gb HD


    Quote of the Month: "I see the problem, [The RAID controller] is trying to rebuild the array with good data from a failed drive." -- HP Support

  7. #7
    Variable Bitrate
    Join Date
    Jan 2003
    Posts
    294
    msinfo32.exe will not tell you if you got DVD decoder installed. It shows video codec installed, but not decoders. If you must check, you need to figure out the decoder's name and do a 'file exist' check. The quickest (& easiest) way is to let the dvd crash and report the error instead of checking if they had DVD decoder installed.

  8. #8
    I'm sorry, and you are....? frodobaggins's Avatar
    Join Date
    Jan 2003
    Location
    Ruston, LA
    Posts
    8,846
    Quote Originally Posted by Alphared
    The quickest (& easiest) way is to let the dvd crash and report the error instead of checking if they had DVD decoder installed.
    That's pretty much what I decided to do.

    Frodo
    [H]4 Life
    My next generation Front End is right on schedule.
    It will be done sometime in the next generation.
    I'm a lesbian too.
    I am for hire!

  9. #9
    Low Bitrate aultl's Avatar
    Join Date
    Sep 2003
    Location
    Tennessee
    Posts
    110
    Quote Originally Posted by Alphared
    msinfo32.exe will not tell you if you got DVD decoder installed. It shows video codec installed, but not decoders. If you must check, you need to figure out the decoder's name and do a 'file exist' check. The quickest (& easiest) way is to let the dvd crash and report the error instead of checking if they had DVD decoder installed.
    ?!? Codec stands for enCOder/DECoder, and when I run msinfo32 on my system it tells me that I have the xvid codec installed and the divx 5.0 codec installed as well as the Microsoft MPEG-4 codec. Could you please clarify which codec you are talking about? DVDs are encoded in MPEG-2 so as long as you have a DVD drive and an MPEG-2 decoder you can watch DVDs, unless I am making a really big mistake. I do not own a DVD drive yet (christmas present).
    Aultl
    [====---] - 65% complete
    Status: Configuring Software
    VIA Epia 800mhz, 256Mb ram, 10Gb HD


    Quote of the Month: "I see the problem, [The RAID controller] is trying to rebuild the array with good data from a failed drive." -- HP Support

  10. #10
    Maximum Bitrate deadweasel's Avatar
    Join Date
    Nov 2003
    Location
    Detroit MI
    Posts
    886
    MPEG2 yes, but in a different format. Just like DivX movies are technically MPEG4, but in avi format. Most programs have the ability to play an avi or mpg, but special software (other codecs) are needed to read the .vob files on a DVD. That's why despite the fact that WMP 6.4 can play .MP2s, it cannot play DVDs on its own.
    The ALEXIS Project
    MP3---VIDEO---GPS---REARVIEW---OBD---SKINNING
    Color Coding :
    DONE / MOSTLY DONE / BASE FEATURES / WORKING CONCEPT / NO CODE COMPLETED

Page 1 of 3 123 LastLast

Similar Threads

  1. Is there somewhere where it says what programs are installed?
    By THEMP3KID in forum General MP3Car Discussion
    Replies: 4
    Last Post: 06-10-2002, 11:33 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •