H.264 hardware decoding increases CPU usage and memory usage continuously on i.MX8M-mini

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

H.264 hardware decoding increases CPU usage and memory usage continuously on i.MX8M-mini

761件の閲覧回数
Hata-kun
Contributor I

I'm decoding H.264 file with GStreamer  vpudec plug-in, but CPU and memory usage are increased continuously.

Result of top command is as follows.

                                Memory          CPU         Elapsed
				usage		usage	    time
-----------------------------------------------------------------------------------
18344 root      20   0  212284  12432   6692 S  13.9  0.6   0:00.14 gst-launch-1.0
18344 root      20   0  212284  14808   6692 S  21.6  0.7   0:00.36 gst-launch-1.0
18344 root      20   0  212284  17184   6692 S  22.8  0.9   0:00.59 gst-launch-1.0
18344 root      20   0  212284  19560   6692 S  22.5  1.0   0:00.82 gst-launch-1.0
18344 root      20   0  212284  21672   6692 S  23.5  1.1   0:01.06 gst-launch-1.0
18344 root      20   0  212284  24048   6692 S  24.5  1.2   0:01.31 gst-launch-1.0
18344 root      20   0  212284  26160   6692 S  25.7  1.3   0:01.57 gst-launch-1.0
18344 root      20   0  212284  28272   6692 S  26.5  1.4   0:01.84 gst-launch-1.0
...
...
18344 root      20   0  277820 137888   6692 S  65.3  6.9   0:44.82 gst-launch-1.0
18344 root      20   0  277820 138944   6692 S  63.7  6.9   0:45.47 gst-launch-1.0
18344 root      20   0  277820 140000   6692 S  62.7  7.0   0:46.11 gst-launch-1.0

As I suspect it depends on a video file, could some NXP engineer help me ?

The video file is too big to offer in this community because of the file size limit.

0 件の賞賛
返信
1 返信

741件の閲覧回数
Hata-kun
Contributor I

The tested command is 

'gst-launch-1.0 filesrc location=./h264.ts ! tsdemux ! vpudec ! fakesink'.

Also, some contents cause CPU load and allocated memory increasing, and other contents don't cause them.

Please prepare upload site that I can offer my contents, 2 files are 53MB and 81MB. 

0 件の賞賛
返信