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.

In Multi-Channel, why CPU's usage is increasing using HW acclerate?

nrson
Beginner
342 Views
0 Kudos
3 Replies
nrson
Beginner
342 Views
Hi, Experts I tested MSDK 2012 for H264 video decoding using HW acclerate. one channel(1080P) is everything goes well using sample_video_wal.bat file. My test environments are as following: - OS: 32bit - Processor:Intel Core(TM) i5-2400 CPU @3.10GHz - RAM: 4G(3.41GB available) CPU's occupancy is less than 1%, GPU MFX is less than 20% and the virtual memory space is less than 70M. But CPU's occupancy is less than 10%, GPU MFX and virtual memory space is same above. Also, I tested multi-channels H264 video decoding using sample_video_wal.bat file. I saw that GPU General's occupany is 95% and H264 decoder's speed is decreased in case of 16 channels. However, I have a change MSDK source due to decoding H264 bitstream from incoming IP camera. In one cannel, CPU's occupancy is less than 1%, GPU MFX is less than 7% and the virtual memory space is less than 140M. In 4 channels, CPU's occupancy is less than 30%, GPU MFX is less than 30% and the virtual memory space is less than 600M. Experimental results are really odd. one channel decoding performance excellent, but the CPU and virtual memory size is increasing on decoding. Anybody explain the reasions? Best regards nrson
0 Kudos
Anthony_P_Intel
Employee
342 Views

Hi,

As more of the hardware accelerated resources are consumed, the CPU must wait for resources to become available and must spend more time checking to see if hardware can process more tasks.  In general, the hardware acceleration is optimized to play a single stream with minimal CPU usage.

0 Kudos
nrson
Beginner
342 Views
Hi, Tony Thank for your reply and I am sorry My english skill is poor. I think that sample_video_wal.bat file executes like as multi-channel(4, 8, 16, etc) and my source is executed like as bat file. But test results are odds as above post. Also I have traced using "Intel Media SDK Tracer V3.0" and next following contests are trace results. The first is sample test and the other is my source which is rewrited to resize of resolution using VPP. My trace results show that AsyncDepth is 0, mfxSTATUS MAP's number is much and SyncOperation(D) is o of Unique Surfaces. Where is the wrong? would you explain it? best regards, nrson 1. sample_decode.exe h264 -hw -d3d -i xxx.264 -r INFO :minAPIVersion(32767.32767) > maxAPIVersion(1.2), minAPIVersion lowered to (1.2) INFO :MFXInit(MFX_IMPL_HARDWARE|MFX_IMPL_VIA_D3D9,ver=1.1,session=0x001E8800) INFO :library loaded succesfully MFXQueryVersion.ver=0.512 INFO :MFXQueryVersion returned: 0, cannot load plugins SDK DLL File Version=3.13.7.15 SDK DLL Product Version=3.5.28353.61248 SDK DLL File Size=13086080 MFXInit.impl=HARDWARE|VIA_D3D9 MFXInit.ver=1.1 MFXInit.status=MFX_ERR_NONE MFXQueryVersion.ver=1.4 MFXQueryIMPL.impl=HARDWARE|VIA_D3D9 core.SetHandle.status=MFX_ERR_NONE core.SetFrameAllocator.status=MFX_ERR_NONE decode.DecodeHeader.bs(in).DecodeTimeStamp=0x0 decode.DecodeHeader.bs(in).TimeStamp=0x0 decode.DecodeHeader.bs(in).DataOffset=0 decode.DecodeHeader.bs(in).DataLength=0 decode.DecodeHeader.bs(in).MaxLength=1048576 decode.DecodeHeader.bs(in).PicStruct=UNKNOWN(0) decode.DecodeHeader.bs(in).FrameType=UNKNOWN(0) decode.DecodeHeader.bs(in).DataFlag=0x0 decode.DecodeHeader.bs(in).NumExtParam=0 decode.DecodeHeader.bs(out).DecodeTimeStamp=0x0 decode.DecodeHeader.bs(out).TimeStamp=0x0 decode.DecodeHeader.bs(out).DataOffset=0 decode.DecodeHeader.bs(out).DataLength=0 decode.DecodeHeader.bs(out).MaxLength=1048576 decode.DecodeHeader.bs(out).PicStruct=UNKNOWN(0) decode.DecodeHeader.bs(out).FrameType=UNKNOWN(0) decode.DecodeHeader.bs(out).DataFlag=0x0 decode.DecodeHeader.bs(out).NumExtParam=0 decode.DecodeHeader.par.AsyncDepth=0 decode.DecodeHeader.par.mfx.BRCParamMultiplier=0 decode.DecodeHeader.par.mfx.FrameInfo.FourCC=0x0 decode.DecodeHeader.par.mfx.FrameInfo.Resolution=(0,0) decode.DecodeHeader.par.mfx.FrameInfo.Crop=(0,0,0,0) decode.DecodeHeader.par.mfx.FrameInfo.FrameRate=0/0 decode.DecodeHeader.par.mfx.FrameInfo.AspectRatio=0:0 decode.DecodeHeader.par.mfx.FrameInfo.PicStruct=UNKNOWN(0) decode.DecodeHeader.par.mfx.FrameInfo.ChromaFormat=MONO decode.DecodeHeader.par.mfx.CodecId=AVC decode.DecodeHeader.par.mfx.CodecProfile=0 decode.DecodeHeader.par.mfx.CodecLevel=0 decode.DecodeHeader.par.mfx.NumThread=0 decode.DecodeHeader.par.mfx.SliceGroupsPresent=0 decode.DecodeHeader.par.mfx.DecodedOrder=0 decode.DecodeHeader.par.mfx.ExtendedPicStruct=0 decode.DecodeHeader.par.mfx.TimeStampCalc=UNKNOWN decode.DecodeHeader.par.Protected=0 decode.DecodeHeader.par.IOPattern=UNKNOWN(0) decode.DecodeHeader.par.NumExtParam=0 decode.DecodeHeader.par.ExtParam=NULL decode.DecodeHeader.status=MFX_ERR_MORE_DATA decode.DecodeHeader.bs(in).DecodeTimeStamp=0x0 decode.DecodeHeader.bs(in).TimeStamp=0x0 decode.DecodeHeader.bs(in).DataOffset=0 decode.DecodeHeader.bs(in).DataLength=1048576 decode.DecodeHeader.bs(in).MaxLength=1048576 decode.DecodeHeader.bs(in).PicStruct=UNKNOWN(0) decode.DecodeHeader.bs(in).FrameType=UNKNOWN(0) decode.DecodeHeader.bs(in).DataFlag=0x0 decode.DecodeHeader.bs(in).NumExtParam=0 decode.DecodeHeader.bs(out).DecodeTimeStamp=0x0 decode.DecodeHeader.bs(out).TimeStamp=0x0 decode.DecodeHeader.bs(out).DataOffset=650 decode.DecodeHeader.bs(out).DataLength=1047926 decode.DecodeHeader.bs(out).MaxLength=1048576 decode.DecodeHeader.bs(out).PicStruct=UNKNOWN(0) decode.DecodeHeader.bs(out).FrameType=UNKNOWN(0) decode.DecodeHeader.bs(out).DataFlag=0x0 decode.DecodeHeader.bs(out).NumExtParam=0 decode.DecodeHeader.par.AsyncDepth=0 decode.DecodeHeader.par.mfx.BRCParamMultiplier=0 decode.DecodeHeader.par.mfx.FrameInfo.FourCC=NV12 decode.DecodeHeader.par.mfx.FrameInfo.Resolution=(1920,1088) decode.DecodeHeader.par.mfx.FrameInfo.Crop=(0,0,1920,1080) decode.DecodeHeader.par.mfx.FrameInfo.FrameRate=5000000/208542 decode.DecodeHeader.par.mfx.FrameInfo.AspectRatio=0:0 decode.DecodeHeader.par.mfx.FrameInfo.PicStruct=PROGRESSIVE decode.DecodeHeader.par.mfx.FrameInfo.ChromaFormat=4:2:0 decode.DecodeHeader.par.mfx.CodecId=AVC decode.DecodeHeader.par.mfx.CodecProfile=100 decode.DecodeHeader.par.mfx.CodecLevel=41 decode.DecodeHeader.par.mfx.NumThread=0 decode.DecodeHeader.par.mfx.SliceGroupsPresent=0 decode.DecodeHeader.par.mfx.DecodedOrder=0 decode.DecodeHeader.par.mfx.ExtendedPicStruct=0 decode.DecodeHeader.par.mfx.TimeStampCalc=UNKNOWN decode.DecodeHeader.par.Protected=0 decode.DecodeHeader.par.IOPattern=UNKNOWN(0) decode.DecodeHeader.par.NumExtParam=0 decode.DecodeHeader.par.ExtParam=NULL decode.DecodeHeader.status=MFX_ERR_NONE decode.Query.in.AsyncDepth=1 decode.Query.in.mfx.BRCParamMultiplier=0 decode.Query.in.mfx.FrameInfo.FourCC=NV12 decode.Query.in.mfx.FrameInfo.Resolution=(1920,1088) decode.Query.in.mfx.FrameInfo.Crop=(0,0,1920,1080) decode.Query.in.mfx.FrameInfo.FrameRate=5000000/208542 decode.Query.in.mfx.FrameInfo.AspectRatio=0:0 decode.Query.in.mfx.FrameInfo.PicStruct=PROGRESSIVE decode.Query.in.mfx.FrameInfo.ChromaFormat=4:2:0 decode.Query.in.mfx.CodecId=AVC decode.Query.in.mfx.CodecProfile=100 decode.Query.in.mfx.CodecLevel=41 decode.Query.in.mfx.NumThread=0 decode.Query.in.mfx.SliceGroupsPresent=0 decode.Query.in.mfx.DecodedOrder=0 decode.Query.in.mfx.ExtendedPicStruct=0 decode.Query.in.mfx.TimeStampCalc=UNKNOWN decode.Query.in.Protected=0 decode.Query.in.IOPattern=OUT_VIDEO_MEMORY decode.Query.in.NumExtParam=0 decode.Query.in.ExtParam=NULL decode.Query.out.AsyncDepth=1 decode.Query.out.mfx.BRCParamMultiplier=0 decode.Query.out.mfx.FrameInfo.FourCC=NV12 decode.Query.out.mfx.FrameInfo.Resolution=(1920,1088) decode.Query.out.mfx.FrameInfo.Crop=(0,0,0,0) decode.Query.out.mfx.FrameInfo.FrameRate=5000000/208542 decode.Query.out.mfx.FrameInfo.AspectRatio=0:0 decode.Query.out.mfx.FrameInfo.PicStruct=PROGRESSIVE decode.Query.out.mfx.FrameInfo.ChromaFormat=4:2:0 decode.Query.out.mfx.CodecId=AVC decode.Query.out.mfx.CodecProfile=100 decode.Query.out.mfx.CodecLevel=41 decode.Query.out.mfx.NumThread=0 decode.Query.out.mfx.SliceGroupsPresent=0 decode.Query.out.mfx.DecodedOrder=0 decode.Query.out.mfx.ExtendedPicStruct=0 decode.Query.out.mfx.TimeStampCalc=UNKNOWN decode.Query.out.Protected=0 decode.Query.out.IOPattern=OUT_VIDEO_MEMORY decode.Query.out.NumExtParam=0 decode.Query.out.ExtParam=NULL decode.Query.status=MFX_ERR_NONE decode.QueryIOSurf.par.AsyncDepth=1 decode.QueryIOSurf.par.mfx.BRCParamMultiplier=0 decode.QueryIOSurf.par.mfx.FrameInfo.FourCC=NV12 decode.QueryIOSurf.par.mfx.FrameInfo.Resolution=(1920,1088) decode.QueryIOSurf.par.mfx.FrameInfo.Crop=(0,0,0,0) decode.QueryIOSurf.par.mfx.FrameInfo.FrameRate=5000000/208542 decode.QueryIOSurf.par.mfx.FrameInfo.AspectRatio=0:0 decode.QueryIOSurf.par.mfx.FrameInfo.PicStruct=PROGRESSIVE decode.QueryIOSurf.par.mfx.FrameInfo.ChromaFormat=4:2:0 decode.QueryIOSurf.par.mfx.CodecId=AVC decode.QueryIOSurf.par.mfx.CodecProfile=100 decode.QueryIOSurf.par.mfx.CodecLevel=41 decode.QueryIOSurf.par.mfx.NumThread=0 decode.QueryIOSurf.par.mfx.SliceGroupsPresent=0 decode.QueryIOSurf.par.mfx.DecodedOrder=0 decode.QueryIOSurf.par.mfx.ExtendedPicStruct=0 decode.QueryIOSurf.par.mfx.TimeStampCalc=UNKNOWN decode.QueryIOSurf.par.Protected=0 decode.QueryIOSurf.par.IOPattern=OUT_VIDEO_MEMORY decode.QueryIOSurf.par.NumExtParam=0 decode.QueryIOSurf.par.ExtParam=NULL decode.QueryIOSurf.request.Info.FourCC=NV12 decode.QueryIOSurf.request.Info.Resolution=(1920,1088) decode.QueryIOSurf.request.Info.Crop=(0,0,0,0) decode.QueryIOSurf.request.Info.FrameRate=5000000/208542 decode.QueryIOSurf.request.Info.AspectRatio=0:0 decode.QueryIOSurf.request.Info.PicStruct=PROGRESSIVE decode.QueryIOSurf.request.Info.ChromaFormat=4:2:0 decode.QueryIOSurf.request.Type=DXVA2_DECODER_TARGET|FROM_DECODE|EXTERNAL_FRAME decode.QueryIOSurf.request.NumFrameMin=6 decode.QueryIOSurf.request.NumFrameSuggested=6 decode.QueryIOSurf.status=MFX_ERR_NONE decode.Init.par.AsyncDepth=1 decode.Init.par.mfx.BRCParamMultiplier=0 decode.Init.par.mfx.FrameInfo.FourCC=NV12 decode.Init.par.mfx.FrameInfo.Resolution=(1920,1088) decode.Init.par.mfx.FrameInfo.Crop=(0,0,0,0) decode.Init.par.mfx.FrameInfo.FrameRate=5000000/208542 decode.Init.par.mfx.FrameInfo.AspectRatio=0:0 decode.Init.par.mfx.FrameInfo.PicStruct=PROGRESSIVE decode.Init.par.mfx.FrameInfo.ChromaFormat=4:2:0 decode.Init.par.mfx.CodecId=AVC decode.Init.par.mfx.CodecProfile=100 decode.Init.par.mfx.CodecLevel=41 decode.Init.par.mfx.NumThread=0 decode.Init.par.mfx.SliceGroupsPresent=0 decode.Init.par.mfx.DecodedOrder=0 decode.Init.par.mfx.ExtendedPicStruct=0 decode.Init.par.mfx.TimeStampCalc=UNKNOWN decode.Init.par.Protected=0 decode.Init.par.IOPattern=OUT_VIDEO_MEMORY decode.Init.par.NumExtParam=0 decode.Init.par.ExtParam=NULL core.FrameAllocator.Alloc.request.Info.FourCC=NV12 core.FrameAllocator.Alloc.request.Info.Resolution=(1920,1088) core.FrameAllocator.Alloc.request.Info.Crop=(0,0,0,0) core.FrameAllocator.Alloc.request.Info.FrameRate=5000000/208542 core.FrameAllocator.Alloc.request.Info.AspectRatio=0:0 core.FrameAllocator.Alloc.request.Info.PicStruct=PROGRESSIVE core.FrameAllocator.Alloc.request.Info.ChromaFormat=4:2:0 core.FrameAllocator.Alloc.request.Type=DXVA2_DECODER_TARGET|FROM_DECODE|EXTERNAL_FRAME core.FrameAllocator.Alloc.request.NumFrameMin=6 core.FrameAllocator.Alloc.request.NumFrameSuggested=6 core.FrameAllocator.Alloc.response.NumFrameActual=6 core.FrameAllocator.Alloc.status=MFX_ERR_NONE decode.Init.status=MFX_ERR_NONE core.FrameAllocator.Alloc.request.Info.FourCC=NV12 core.FrameAllocator.Alloc.request.Info.Resolution=(1920,1088) core.FrameAllocator.Alloc.request.Info.Crop=(0,0,0,0) core.FrameAllocator.Alloc.request.Info.FrameRate=5000000/208542 core.FrameAllocator.Alloc.request.Info.AspectRatio=0:0 core.FrameAllocator.Alloc.request.Info.PicStruct=PROGRESSIVE core.FrameAllocator.Alloc.request.Info.ChromaFormat=4:2:0 core.FrameAllocator.Alloc.request.Type=DXVA2_DECODER_TARGET|SYSTEM_MEMORY|FROM_DECODE|EXTERNAL_FRAME core.FrameAllocator.Alloc.request.NumFrameMin=6 core.FrameAllocator.Alloc.request.NumFrameSuggested=6 core.FrameAllocator.Alloc.response.NumFrameActual=6 core.FrameAllocator.Alloc.status=MFX_ERR_NONE decode.NumExternalFrames=6 core.FrameAllocator.Free.status=MFX_ERR_NONE MFXQueryIMPL.impl=HARDWARE|VIA_D3D9 MFXQueryVersion.ver=1.4 =====mfxSTATUS MAP===== DecodeFrameAsync: EXTERNAL : MFX_ERR_MORE_SURFACE (8) DecodeFrameAsync: EXTERNAL : MFX_ERR_MORE_DATA (10) DecodeFrameAsync: EXTERNAL : MFX_ERR_NONE (550) DecodeFrameAsync: EXTERNAL : MFX_WRN_VIDEO_PARAM_CHANGED (3) SyncOperation(D): EXTERNAL : MFX_ERR_NONE (550) ====Unique Surfaces==== DecodeFrameAsync : 6 SyncOperation(D) : 6 RunFrameVPPAsync(IN) : 0 RunFrameVPPAsync(OUT) : 0 SyncOperation(VPP_IN) : 0 SyncOperation(VPP_OUT): 0 EncodeFrameAsync : 0 SyncOperation(E) : 0 ======================= SDK_ANALYZER unloaded: C:\Program Files\Intel\Media SDK 2014 for Clients\tools\mediasdk_tracer\tracer_core32.dll 2. my souce using trace results INFO :minAPIVersion(32767.32767) > maxAPIVersion(1.2), minAPIVersion lowered to (1.2) INFO :MFXInit(MFX_IMPL_HARDWARE|MFX_IMPL_VIA_D3D9,ver=1.1,session=0x000CEBB8) INFO :library loaded succesfully MFXQueryVersion.ver=0.0 INFO :MFXQueryVersion returned: 0, cannot load plugins SDK DLL File Version=3.13.7.15 SDK DLL Product Version=3.5.28353.61248 SDK DLL File Size=13086080 MFXInit.impl=HARDWARE MFXInit.ver=1.1 MFXInit.status=MFX_ERR_NONE decode.DecodeHeader.bs(in).DecodeTimeStamp=0x0 decode.DecodeHeader.bs(in).TimeStamp=0x0 decode.DecodeHeader.bs(in).DataOffset=0 decode.DecodeHeader.bs(in).DataLength=102481 decode.DecodeHeader.bs(in).MaxLength=4194304 decode.DecodeHeader.bs(in).PicStruct=UNKNOWN(0) decode.DecodeHeader.bs(in).FrameType=UNKNOWN(0) decode.DecodeHeader.bs(in).DataFlag=0x0 decode.DecodeHeader.bs(in).NumExtParam=0 decode.DecodeHeader.bs(out).DecodeTimeStamp=0x0 decode.DecodeHeader.bs(out).TimeStamp=0x0 decode.DecodeHeader.bs(out).DataOffset=0 decode.DecodeHeader.bs(out).DataLength=102481 decode.DecodeHeader.bs(out).MaxLength=4194304 decode.DecodeHeader.bs(out).PicStruct=UNKNOWN(0) decode.DecodeHeader.bs(out).FrameType=UNKNOWN(0) decode.DecodeHeader.bs(out).DataFlag=0x0 decode.DecodeHeader.bs(out).NumExtParam=0 decode.DecodeHeader.par.AsyncDepth=0 decode.DecodeHeader.par.mfx.BRCParamMultiplier=0 decode.DecodeHeader.par.mfx.FrameInfo.FourCC=NV12 decode.DecodeHeader.par.mfx.FrameInfo.Resolution=(1920,1088) decode.DecodeHeader.par.mfx.FrameInfo.Crop=(0,0,1920,1080) decode.DecodeHeader.par.mfx.FrameInfo.FrameRate=30000/2002 decode.DecodeHeader.par.mfx.FrameInfo.AspectRatio=1:1 decode.DecodeHeader.par.mfx.FrameInfo.PicStruct=PROGRESSIVE decode.DecodeHeader.par.mfx.FrameInfo.ChromaFormat=4:2:0 decode.DecodeHeader.par.mfx.CodecId=AVC decode.DecodeHeader.par.mfx.CodecProfile=77 decode.DecodeHeader.par.mfx.CodecLevel=40 decode.DecodeHeader.par.mfx.NumThread=0 decode.DecodeHeader.par.mfx.SliceGroupsPresent=0 decode.DecodeHeader.par.mfx.DecodedOrder=0 decode.DecodeHeader.par.mfx.ExtendedPicStruct=0 decode.DecodeHeader.par.mfx.TimeStampCalc=UNKNOWN decode.DecodeHeader.par.Protected=0 decode.DecodeHeader.par.IOPattern=IN_SYSTEM_MEMORY|OUT_SYSTEM_MEMORY decode.DecodeHeader.par.NumExtParam=0 decode.DecodeHeader.par.ExtParam=NULL decode.DecodeHeader.status=MFX_ERR_NONE decode.QueryIOSurf.par.AsyncDepth=0 decode.QueryIOSurf.par.mfx.BRCParamMultiplier=0 decode.QueryIOSurf.par.mfx.FrameInfo.FourCC=NV12 decode.QueryIOSurf.par.mfx.FrameInfo.Resolution=(1920,1088) decode.QueryIOSurf.par.mfx.FrameInfo.Crop=(0,0,1920,1080) decode.QueryIOSurf.par.mfx.FrameInfo.FrameRate=30000/2002 decode.QueryIOSurf.par.mfx.FrameInfo.AspectRatio=1:1 decode.QueryIOSurf.par.mfx.FrameInfo.PicStruct=PROGRESSIVE decode.QueryIOSurf.par.mfx.FrameInfo.ChromaFormat=4:2:0 decode.QueryIOSurf.par.mfx.CodecId=AVC decode.QueryIOSurf.par.mfx.CodecProfile=77 decode.QueryIOSurf.par.mfx.CodecLevel=40 decode.QueryIOSurf.par.mfx.NumThread=0 decode.QueryIOSurf.par.mfx.SliceGroupsPresent=0 decode.QueryIOSurf.par.mfx.DecodedOrder=0 decode.QueryIOSurf.par.mfx.ExtendedPicStruct=0 decode.QueryIOSurf.par.mfx.TimeStampCalc=UNKNOWN decode.QueryIOSurf.par.Protected=0 decode.QueryIOSurf.par.IOPattern=IN_SYSTEM_MEMORY|OUT_SYSTEM_MEMORY decode.QueryIOSurf.par.NumExtParam=0 decode.QueryIOSurf.par.ExtParam=NULL decode.QueryIOSurf.request.Info.FourCC=NV12 decode.QueryIOSurf.request.Info.Resolution=(1920,1088) decode.QueryIOSurf.request.Info.Crop=(0,0,1920,1080) decode.QueryIOSurf.request.Info.FrameRate=30000/2002 decode.QueryIOSurf.request.Info.AspectRatio=1:1 decode.QueryIOSurf.request.Info.PicStruct=PROGRESSIVE decode.QueryIOSurf.request.Info.ChromaFormat=4:2:0 decode.QueryIOSurf.request.Type=SYSTEM_MEMORY|FROM_DECODE|EXTERNAL_FRAME decode.QueryIOSurf.request.NumFrameMin=4 decode.QueryIOSurf.request.NumFrameSuggested=4 decode.QueryIOSurf.status=MFX_ERR_NONE vpp.QueryIOSurf.par.AsyncDepth=0 vpp.QueryIOSurf.par.vpp.In.FourCC=NV12 vpp.QueryIOSurf.par.vpp.In.Resolution=(1920,1088) vpp.QueryIOSurf.par.vpp.In.Crop=(0,0,1920,1080) vpp.QueryIOSurf.par.vpp.In.FrameRate=30000/2002 vpp.QueryIOSurf.par.vpp.In.AspectRatio=1:1 vpp.QueryIOSurf.par.vpp.In.PicStruct=PROGRESSIVE vpp.QueryIOSurf.par.vpp.In.ChromaFormat=4:2:0 vpp.QueryIOSurf.par.vpp.Out.FourCC=NV12 vpp.QueryIOSurf.par.vpp.Out.Resolution=(960,544) vpp.QueryIOSurf.par.vpp.Out.Crop=(0,0,960,540) vpp.QueryIOSurf.par.vpp.Out.FrameRate=30/1 vpp.QueryIOSurf.par.vpp.Out.AspectRatio=1:1 vpp.QueryIOSurf.par.vpp.Out.PicStruct=PROGRESSIVE vpp.QueryIOSurf.par.vpp.Out.ChromaFormat=4:2:0 vpp.QueryIOSurf.par.Protected=0 vpp.QueryIOSurf.par.IOPattern=IN_SYSTEM_MEMORY|OUT_SYSTEM_MEMORY vpp.QueryIOSurf.par.NumExtParam=0 vpp.QueryIOSurf.par.ExtParam=NULL vpp.QueryIOSurf.request[0].Info.FourCC=NV12 vpp.QueryIOSurf.request[0].Info.Resolution=(1920,1088) vpp.QueryIOSurf.request[0].Info.Crop=(0,0,1920,1080) vpp.QueryIOSurf.request[0].Info.FrameRate=30000/2002 vpp.QueryIOSurf.request[0].Info.AspectRatio=1:1 vpp.QueryIOSurf.request[0].Info.PicStruct=PROGRESSIVE vpp.QueryIOSurf.request[0].Info.ChromaFormat=4:2:0 vpp.QueryIOSurf.request[0].Type=SYSTEM_MEMORY|FROM_VPPIN|EXTERNAL_FRAME vpp.QueryIOSurf.request[0].NumFrameMin=7 vpp.QueryIOSurf.request[0].NumFrameSuggested=7 vpp.QueryIOSurf.request[1].Info.FourCC=NV12 vpp.QueryIOSurf.request[1].Info.Resolution=(960,544) vpp.QueryIOSurf.request[1].Info.Crop=(0,0,960,540) vpp.QueryIOSurf.request[1].Info.FrameRate=30/1 vpp.QueryIOSurf.request[1].Info.AspectRatio=1:1 vpp.QueryIOSurf.request[1].Info.PicStruct=PROGRESSIVE vpp.QueryIOSurf.request[1].Info.ChromaFormat=4:2:0 vpp.QueryIOSurf.request[1].Type=SYSTEM_MEMORY|FROM_VPPOUT|EXTERNAL_FRAME vpp.QueryIOSurf.request[1].NumFrameMin=7 vpp.QueryIOSurf.request[1].NumFrameSuggested=7 vpp.QueryIOSurf.status=MFX_ERR_NONE decode.Init.par.AsyncDepth=0 decode.Init.par.mfx.BRCParamMultiplier=0 decode.Init.par.mfx.FrameInfo.FourCC=NV12 decode.Init.par.mfx.FrameInfo.Resolution=(1920,1088) decode.Init.par.mfx.FrameInfo.Crop=(0,0,1920,1080) decode.Init.par.mfx.FrameInfo.FrameRate=30000/2002 decode.Init.par.mfx.FrameInfo.AspectRatio=1:1 decode.Init.par.mfx.FrameInfo.PicStruct=PROGRESSIVE decode.Init.par.mfx.FrameInfo.ChromaFormat=4:2:0 decode.Init.par.mfx.CodecId=AVC decode.Init.par.mfx.CodecProfile=77 decode.Init.par.mfx.CodecLevel=40 decode.Init.par.mfx.NumThread=0 decode.Init.par.mfx.SliceGroupsPresent=0 decode.Init.par.mfx.DecodedOrder=0 decode.Init.par.mfx.ExtendedPicStruct=0 decode.Init.par.mfx.TimeStampCalc=UNKNOWN decode.Init.par.Protected=0 decode.Init.par.IOPattern=IN_SYSTEM_MEMORY|OUT_SYSTEM_MEMORY decode.Init.par.NumExtParam=0 decode.Init.par.ExtParam=NULL decode.Init.status=MFX_ERR_NONE vpp.Init.par.AsyncDepth=0 vpp.Init.par.vpp.In.FourCC=NV12 vpp.Init.par.vpp.In.Resolution=(1920,1088) vpp.Init.par.vpp.In.Crop=(0,0,1920,1080) vpp.Init.par.vpp.In.FrameRate=30000/2002 vpp.Init.par.vpp.In.AspectRatio=1:1 vpp.Init.par.vpp.In.PicStruct=PROGRESSIVE vpp.Init.par.vpp.In.ChromaFormat=4:2:0 vpp.Init.par.vpp.Out.FourCC=NV12 vpp.Init.par.vpp.Out.Resolution=(960,544) vpp.Init.par.vpp.Out.Crop=(0,0,960,540) vpp.Init.par.vpp.Out.FrameRate=30/1 vpp.Init.par.vpp.Out.AspectRatio=1:1 vpp.Init.par.vpp.Out.PicStruct=PROGRESSIVE vpp.Init.par.vpp.Out.ChromaFormat=4:2:0 vpp.Init.par.Protected=0 vpp.Init.par.IOPattern=IN_SYSTEM_MEMORY|OUT_SYSTEM_MEMORY vpp.Init.par.NumExtParam=0 vpp.Init.par.ExtParam=NULL vpp.Init.status=MFX_ERR_NONE decode.Close.status=MFX_ERR_NONE decode.perf.frames=660 decode.perf.async_exec_time=0.000416783 (s/f) decode.perf.async_exec_rate=0.032225 (s/f) vpp.Close.status=MFX_ERR_NONE vpp.perf.frames=330 vpp.perf.async_exec_time=3.12144e-005 (s/f) vpp.perf.async_exec_rate=0.064291 (s/f) vpp.perf.frames_sync=660 vpp.perf.exec_time=7754.63 (s/f) decode.Close.status=MFX_ERR_NOT_INITIALIZED decode.perf.frames=660 decode.perf.async_exec_time=0.000416783 (s/f) decode.perf.async_exec_rate=0.032225 (s/f) vpp.Close.status=MFX_ERR_NOT_INITIALIZED vpp.perf.frames=330 vpp.perf.async_exec_time=3.12144e-005 (s/f) vpp.perf.async_exec_rate=0.064291 (s/f) vpp.perf.frames_sync=660 vpp.perf.exec_time=7754.63 (s/f) transcode.perf.frames=660 transcode.perf.exec_time=0.0327184 (s/f) =====mfxSTATUS MAP===== DecodeFrameAsync: EXTERNAL : MFX_ERR_MORE_DATA (660) DecodeFrameAsync: EXTERNAL : MFX_ERR_NONE (660) DecodeFrameAsync: EXTERNAL : MFX_WRN_VIDEO_PARAM_CHANGED (26) RunFrameVPPAsync: EXTERNAL : MFX_ERR_MORE_SURFACE (330) RunFrameVPPAsync: EXTERNAL : MFX_ERR_NONE (330) SyncOperation(V): EXTERNAL : MFX_ERR_NONE (660) ====Unique Surfaces==== DecodeFrameAsync : 1 SyncOperation(D) : 0 RunFrameVPPAsync(IN) : 1 RunFrameVPPAsync(OUT) : 1 SyncOperation(VPP_IN) : 1 SyncOperation(VPP_OUT): 1 EncodeFrameAsync : 0 SyncOperation(E) : 0
0 Kudos
Reply