Loading...
You are not logged-in Login/Register





  • Posts   Search Threads
  • prasanthkumarpaNovember 20, 2009 5:13 AM PST   
    Intel media SDK MPEG-2 encoder pins refuse connection in graph edit

    I have tested the intel media sdk MPEG-2 encoder which i got when i installed this sdk in my XP system. My processor is intel core 2 duo. At the last stage of installation it shows a message that you have to manually enter environment variables for DIRECTSHOW_BASECLASS. Is it for Including Header files of base class or for Strmbasd.lib?
    any way i set it manually.
    The problem is using Graph edit (atool of platform SDK), i cant connect the out put pin of Web cam or any video card (which is installed ) to the input pin of intel media sdk MPEG-2 encoder (or any of the encoders AAC or h264 etc). Can you guide me what i need to do or flow of graphs to test filter with graph edit?
    I tried a Raw video uot from the wmv file ->Intel video Vc decoder -> intel video MPEG-2 encoder->filewriter. Worked. but size got as 10 times. So please guide in this connection.

    Eric Sardella (Intel)November 20, 2009 2:17 PM PST
    Rate
     
    Re: Intel media SDK MPEG-2 encoder pins refuse connection in graph edit

    Quoting - prasanthkumarpa
    I have tested the intel media sdk MPEG-2 encoder which i got when i installed this sdk in my XP system. My processor is intel core 2 duo. At the last stage of installation it shows a message that you have to manually enter environment variables for DIRECTSHOW_BASECLASS. Is it for Including Header files of base class or for Strmbasd.lib?
    any way i set it manually.
    The problem is using Graph edit (atool of platform SDK), i cant connect the out put pin of Web cam or any video card (which is installed ) to the input pin of intel media sdk MPEG-2 encoder (or any of the encoders AAC or h264 etc). Can you guide me what i need to do or flow of graphs to test filter with graph edit?
    I tried a Raw video uot from the wmv file ->Intel video Vc decoder -> intel video MPEG-2 encoder->filewriter. Worked. but size got as 10 times. So please guide in this connection.

    Hi prasanthkumarpa,

     

    Thanks for checking out the MediaSDK.  I must first say that the MediaSDK is not supported on Windows XP.  Please see the FAQ that is posted on this forum.    The MediaSDK MPEG-2 encoder DirectShow filter's input pin accepts:  MEDIATYPE_VIDEO, FORMAT_VIDEOINFO2 with a subtype of MEDIASUBTYPE_YV12.    What is the output pin upstream trying to connect with?   The input/output formats for the sample filters are all documented and can be found in the "doc" directory of the package.    If you can provide a bit more information, I'd be happy to assist you - but remember XP is not supported.

     

    Thanks!

     

    Eric



    Nina Kurina (Intel)December 11, 2009 4:32 AM PST
    Rate
     
    Re: Intel media SDK MPEG-2 encoder pins refuse connection in graph edit

    Quoting - prasanthkumarpa
    I have tested the intel media sdk MPEG-2 encoder which i got when i installed this sdk in my XP system. My processor is intel core 2 duo. At the last stage of installation it shows a message that you have to manually enter environment variables for DIRECTSHOW_BASECLASS. Is it for Including Header files of base class or for Strmbasd.lib?
    any way i set it manually.
    The problem is using Graph edit (atool of platform SDK), i cant connect the out put pin of Web cam or any video card (which is installed ) to the input pin of intel media sdk MPEG-2 encoder (or any of the encoders AAC or h264 etc). Can you guide me what i need to do or flow of graphs to test filter with graph edit?
    I tried a Raw video uot from the wmv file ->Intel video Vc decoder -> intel video MPEG-2 encoder->filewriter. Worked. but size got as 10 times. So please guide in this connection.

    Just a small update for this thread to avoid further confusion with color formats. Intel® Media SDK supports only NV12 as input for encoders and output for decoders, and sample DirectShow filters operate with MEDIASUBTYPE_NV12 at encoder filters' input and decoder filters' output. Media subtype other than NV12 may be the reason of refused connection. The filters documentation mistakenly states that MEDIASUBTYPE_YV12 is supported. We are sorry for being misleading, this is a known bug that will be corrected in future releases documentation.

    Also, regarding the question about DSHOW_BASECLASSES_PATH variable, it is required to build sample DirectShow filters source code and is used for both include and lib paths of Visual Studio solution.

    Nina





    xgongxJanuary 11, 2010 10:02 PM PST
    Rate
     
    Re: Intel media SDK MPEG-2 encoder pins refuse connection in graph edit


    Just a small update for this thread to avoid further confusion with color formats. Intel® Media SDK supports only NV12 as input for encoders and output for decoders, and sample DirectShow filters operate with MEDIASUBTYPE_NV12 at encoder filters' input and decoder filters' output. Media subtype other than NV12 may be the reason of refused connection. The filters documentation mistakenly states that MEDIASUBTYPE_YV12 is supported. We are sorry for being misleading, this is a known bug that will be corrected in future releases documentation.

    Also, regarding the question about DSHOW_BASECLASSES_PATH variable, it is required to build sample DirectShow filters source code and is used for both include and lib paths of Visual Studio solution.

    Nina




    Nina,

    What you said is not true. In GraphEdit, Intel(R) Media SDK sample decoder/encoder report that they support MEDIASUBTYPE_YV12 as input/output. Whatever the document states, information from filter binary is always right, isn't it?

    So I thinke Intel(R) Media SDK supports MEDIASUBTYPE_YV12.

    xgongx

    Nina Kurina (Intel)January 12, 2010 9:18 AM PST
    Rate
     
    Re: Intel media SDK MPEG-2 encoder pins refuse connection in graph edit

    Quoting - xgongx

    Nina,

    What you said is not true. In GraphEdit, Intel(R) Media SDK sample decoder/encoder report that they support MEDIASUBTYPE_YV12 as input/output. Whatever the document states, information from filter binary is always right, isn't it?

    So I thinke Intel(R) Media SDK supports MEDIASUBTYPE_YV12.

    xgongx
    Hi xgongx,

    Actually, what is reflected in filters' properties in GraphEdit is also a mistake, we will fix it in the next release along with documentation. If you try to connect Media SDK filters in chains you'll see that decoders produce NV12 subtype at output and encoders would accept only NV12. So, MEDIASUBTYPE_YV12 is not supported, for sure :)

    Regards,
    Nina


Forum jump:  

Intel Software Network Forums Statistics

16,368 users have contributed to 46,338 threads and 163,949 posts to date.

In the past 24 hours, we have 19 new thread(s) 121 new posts(s), and 72 new user(s).

In the past 3 days, the most popular thread for everyone has been Formula for the intersection of straight lines The most posts were made to Take a look at John Burkhard&# The post with the most views is \"-check none\" generates error

Please welcome our newest member bikerepair8


For more complete information about compiler optimizations, see our Optimization Notice.