Memory leak in VPU Decoder

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Memory leak in VPU Decoder

1,217件の閲覧回数
davidshabat
Contributor I

We've seen memory leak in VPU decoder when decoding TS over UDP stream in Gstreamer with the following command.

 

gst-launch-1.0 udpsrc port=3000 ! video/mpegts ! tsdemux ! h265parse ! queue ! vpudec ! queue ! kmssink

 

The source stream is off the shelf encoder.

 

The leak occurs in the function gst_vpu_dec_object_decode. When VPU_DecDecodeBuf returens  VPU_DEC_NO_ENOUGH_INBUF and VPU_DEC_INPUT_USED, the code leaves the buffer allocated and moves to next frame. With our encoder it happens on all frames. It does not happen when playing a file locally.

 

Please advise the proper way to fix it.

 

Regards,

David

0 件の賞賛
3 返答(返信)

1,048件の閲覧回数
davidshabat
Contributor I

We are using DART-MX8M from Variscite with Yocto Sumo (kernel 4.14.78) BSP.

0 件の賞賛

1,048件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

this is the third party commany board, we couldn't test it, how about try to use waylandsink or glimagesink ? any difference?

0 件の賞賛

1,048件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

what board and bsp version do you use?

0 件の賞賛