enable hardware acceleration on imx6 VPU with ffmpeg on a headless system (BUILDROOT)

  • I wand to accelerate video decoding via ffmpeg using the internel imx6 VPU on the efusA9X module. Currently ffmpeg is running on our headless system and does all decoding in software (CPU). But I want wo enable hardware acceleration using the internel VPU. Is there any detailed instructions how to achive this? I currently researched the following links:



    libimxvpuapi - frontend for i.MX hardware video codecs:

    https://github.com/Freescale/libimxvpuapi


    i.MX 6Dual/6Quad VPU Application Programming Interface Linux Reference Manual:

    https://hands.com/~lkcl/eoma/i…_API_RM_L3.0.35_1.1.0.pdf

  • I checked out the BUILDROOT symboles and noticed that the i.MX platform (imx6sl/imx6sx) ---> has only a GPU but no VPU. According [1], the i.MX 6SoloX Processor contains a Vivante GC400T GPU, which is not a VPU. Regarding this information, I configured the BUILDROOT system according [2] and the Linux Kernel according [3].


    [1]:

    https://www.nxp.com/products/p…d-cortex-m4-cores:i.MX6SX


    [2]:


    [3]:

  • This case seems to be closed according [1] under the chapter "4.10 Multimedia (gstreamer support)" there is the statement that the efusA9X which is based on a imx6sx chip does not provide any hardware acceleration:


    Quote

    Boards based on fsimx6sx do not have any hardware accelerated video or audio processing

    in gstreamer. Decoding or encoding can only be done in software.

  • Yes, the conclusion is correct, the i.MX6-Solo-X, which is the CPU on the efusA9X, does not have a VPU and thus there is no hardware acceleration for video decoding available.


    Your F&S Support Team

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.