codec name

Posted on 2006-05-25
Last Modified: 2008-01-16

I have an AVICOMPRESSOPTIONS structure filled in. The structure member:

    DWORD  fccHandler;

is supposed to be a:

    Four-character code for the compressor handler that will compress this video stream when it is saved (for example, mmioFOURCC('M','S','V','C')).

I want to know how to look up what the full codec name is based on the value of fccHandler... like if it is filled in with MSVC can I get something back like "Microsoft Video 1" ??

Question by:minnirok
    1 Comment
    LVL 8

    Accepted Solution

    Just idea:

    1. Locate in registry codec under:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\windows NT\CurrentVersion\Drivers32

    for example key

    vidc.msvc          (I guess that "msvc" is simply four letter code)

    get codec file name as associated key value &

    2. Locate coded file in System32 directory &
    access its VERSION resource to get codec description.

    In this case it will be:

    "Microsoft Video 1 Compressor"


    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
    Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
    The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
    The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now