Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.
3058 Discussions

Only see one layer when composited 2 layers with mfxExtVPPComposite

Blues_W_
Beginner
490 Views

hi, all,

     I am test vpp composite filter mfxExtVPPComposite  in intel MSDK. I have 2 input streams, both are 1920x1080. The render target is 1920x1088.  I want to scale down  these two inputs stream and put it into rende rtarget with background color. 1st stream downscale from 1920x1080 to DstXYWH (0, 0, 1920, 640),  2nd downscale from 920x1080 to DstXYWH (64,64, 640, 480).  I setup related MFX_EXTBUFF_VPP_COMPOSITE and mfxExtVPPComposite struct.   The result I got not as my expected, I only got an output which from 1st stream with resolution 1920x1088. I didn't see the background color and the second steams in output frame.  Does anyone tell me where I am wrong?

   The code is based on msdk sample "mediasdk-tutorials-0.0.3\simple_4_vpp_resize_denoise" and my logic is in simple_vpp.cpp . Cmd option I used to run this sample  is "-hw -g 1920x1080 in.nv12 out.nv12".

    Thanks a lot.

Blues

 

 

   

   

0 Kudos
6 Replies
Blues_W_
Beginner
490 Views

Does anyone have idea about this? Thanks for your help.
 

0 Kudos
Sravanthi_K_Intel
490 Views

Hello there, thanks for your question. I am trying to reproduce your issue and will keep you posted. In the meantime, can you send what is the status returned by the following piece of code in simple_vpp.cpp? 

    // Initialize Media SDK VPP
    sts = mfxVPP.Init(&VPPParams);

Can you also please provide details on your system (from running mediasdk_system_analyzer_<arch>.exe from tools/ in mediasdk install folder)?

Thanks.

0 Kudos
Blues_W_
Beginner
490 Views

Hello, SRAVANTHI K:

      The return values of

          sts = mfxVPP.Init(&VPPParams);

        is MFX_WRN_FILTER_SKIPPED;

Here is the info from my system, hope it can help you to reproduce the issue:

C:\Program Files\Intel\Media SDK 2014 R2 for Clients\tools\mediasdk_sys_analyzer>mediasdk_system_alyzer_64.exe
Intel Media SDK System Analyzer (64 bit)
The following versions of Media SDK API are supported by platform/driver:

        Version Target  Supported       Dec     Enc
        1.0     HW      Yes             X       X
        1.0     SW      Yes             X       X
        1.1     HW      Yes             X       X
        1.1     SW      Yes             X       X
        1.3     HW      Yes             X       X
        1.3     SW      Yes             X       X
        1.4     HW      Yes             X       X
        1.4     SW      Yes             X       X
        1.5     HW      Yes             X       X
        1.5     SW      Yes             X       X
        1.6     HW      Yes             X       X
        1.6     SW      Yes             X       X
        1.7     HW      Yes             X       X
        1.7     SW      Yes             X       X
        1.8     HW      Yes             X       X
        1.8     SW      Yes             X       X

Graphics Devices:
        Name                                         Version             State
        Intel(R) HD Graphics Family                  10.18.10.3652       Active
        NVIDIA GeForce GT 720M                       9.18.13.3165        Active

System info:
        CPU:    Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz
        OS:     Microsoft Windows 8 Pro
        Arch:   64-bit

Installed Media SDK packages (be patient...processing takes some time):
        Intel?Media SDK Video Processing Sample 5.0.461.91752
        Intel Media SDK DirectShow* Sample 5.0.337.78585
        Intel?Media SDK Video Encoding Sample 5.0.461.91752
        Intel?Media SDK Video Decoding Sample 5.0.461.91752
        Intel?Media SDK Video Transcoding Sample 5.0.461.91752
        Intel?Media SDK Video Conferencing Sample 5.0.461.91752
        Intel?Media SDK 2014 R2 for Clients (x64)

Installed Media SDK DirectShow filters:

Installed Intel Media Foundation Transforms:
  Intel?Hardware M-JPEG Decoder MFT : {00C69F81-0524-48C0-A353-4DD9D54F9A6E}
  Intel?Hardware VP8 Sync Decoder MFT : {451E3CB7-2622-4BA5-8E1D-44B3C41D0924}
  Intel?Hardware VP8 Decoder MFT : {6D856398-834E-4A89-8EE5-071BB3F58BE4}
  Intel?Quick Sync Video H.264 Encoder MFT : {4BE8D3C0-0515-4A37-AD55-E4BAE19AF471}

Thanks

 

 

0 Kudos
Sravanthi_K_Intel
490 Views

Hello there, thanks for your quick response. According to your analyzer report, the host machine has Windows OS on it. Currently, composition is supported only in Linux version of Media SDK and you can refer to sample_vpp as an example for the correct usage. I understand this may be an inconvenience for you - I will keep you posted on any developments.

0 Kudos
Blues_W_
Beginner
490 Views

Thank SRAVANTHIK for the clarification. By the way, do Intel MSDK have a plan to support VPP composition filter on the  version for Windows ? 

Thanks

0 Kudos
Sravanthi_K_Intel
490 Views

Hello there, yes, we do have plans to support the VPP Composition on Windows, and will update when it is. Stay tuned.

0 Kudos
Reply