imx8dx VPUDEC not available

cancel
Showing results for 
Search instead for 
Did you mean: 

imx8dx VPUDEC not available

242 Views
Contributor III

 Is vpudec plugin for gstreamer available in imx8dx SOC ? We are not seeing the vpudec listed using gst-inspect.

Gstreamer version gstreamer-0.10.36

          Software - 4.14.98 kernel and yocto release. SOC - imx8dx.

v4l2h264dec is harsware based decoder?

Why VPUdec is not available/

what are all the hardware VPU based decoder can be used?

danweiluo

Thanks,

Arunkumar

3 Replies

169 Views
NXP Employee
NXP Employee

Hi Arunkumar Rajagopal,

Yes, v4l2h264dec is the VPU decoder.

Best regards,

Danwei

169 Views
Contributor III

Hi Danwei,

Gstreamer version gstreamer-1.14.4

root@imx8dxpsa2020:~# gst-inspect-1.0 v4l2h264dec

Plugin Details:
Name video4linux2
Description elements for Video 4 Linux
Filename /usr/lib/gstreamer-1.0/libgstvideo4linux2.so
Version 1.14.4
License LGPL
Source module gst-plugins-good
Source release date 2018-10-02
Binary package GStreamer Good Plug-ins source release
Origin URL Unknown package origin
We could see the source module is an open source module and not a NXP proprietary module. Please can confirm if this is the plugin used for V4l2h264dec in imx8dx.
 
Problem we are facing is that the decoder not pushing the frames to the screen until the buffer is completely filled.
Meaning even a single buffer/frame is ready from the decoder, which needs to be pushed. That is not happening with this decoder. We are using this decoder for rendering CAR PLAY projection so if there is any update in the stream then only rendering will happen. So the buffering for this feature is not required.
 
How do we remove/configure the buffering/frame count from the plugin?
0 Kudos

169 Views
NXP Employee
NXP Employee

Hi Arunkumar Rajagopal

1. Our VPU driver follows the V4L2 framework, so it will provide a V4L2 device for user space application to use.

The Gstreamer plugin "v4l2h264dec" will use the V4L2 device our VPU driver provided. So these are two seperated things but connected.

2. For the problem you are facing, I think that may related to the Gstreamer plugin "v4l2h264dec". Because from our VPU work flow, it will not have this problem.

pastedImage_1.png

Pleaese check Chapter 3 Amphion VPU Interface in our BSP release document "i.MX_VPU_Application_Programming_Interface_Linux_Reference_Manual.pdf".

Best regards,

Danwei