Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

sample not working #2

@kriskep

Description

@kriskep

The sample does not work for me.


> Use [Intel Media SDK] and [Intel OpenVINO SDK].

> Init OpenVINO Inference session.
> start to build inference instance on device:GPU
>  set batch size: 1
   maxProposalCount:600
	 gNet_input_width: 300 gNet_input_height: 300
>  Initialize OpenVNIO session success.
>  start to initialize decoding sessions with MSDK.
channels of stream:1
 FPS of each inference workload:30
	. Open input file: ../../test_content/video/0.h264

> Declare Intel Media SDK video session and Init.
opening /dev/dri/renderD128
libva info: VA-API version 1.4.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_4
libva info: va_openDriver() returns 0
	. Start preparing video parameters for decoding.
		.. Suppport H.264(AVC) and use video memory.
	. Done preparing video parameters.
	. Start preparing VPP In/ Out parameters.
Num of ext params=1
	. VPP ( 640 x 480 ) -> ( 300 x 300 ), ( 304 x 304 )
	. Done preparing VPP In/ Out parameters.
	. Query number of required surfaces for decoder and memory allocation.
	. Query number of required surfaces for VPP and memory allocation.
		. Decode Surface Actual Number: 0
		. VPP In Surface Actual Number: 0
		. VPP Out Surface Actual Number: 0
	. Init Intel Media SDK Decoder
> Complete execution !

further analysis shows that it errors at line 2043:
Error -4 file: media-lab/video_analytics_Intel_GPU/video_analytics_example/main.cpp:L2043
Error -4 means MFX_ERR_MEMORY_ALLOC = -4, /* failed to allocate memory */

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions