Does Verdin support HD VPU H265 encode operation?


Does Verdin imx8m plus quad 2GB WB IT support HD VPU H265 encode operation?

If I understood correctly, Alvero.tx has stated that VPU support is added in below thread

Does the latest BSP support HD VPU H265 encode operation out of the box?

Best Regards


Hi @rifo !

I just tested here it worked. Here is what I used:


  • Verdin iMX8M Plus Q 4GB WB IT V1.0B
  • Verdin Development Board V1.1A
  • Verdin DSI to HDMI Adapter Rev. 1.1


  • Reference Multimedia Image from BSP 6.4.0-build.8 (quarterly release, available on Toradex Easy Installer feeds)
root@verdin-imx8mp-06849036:~# tdx-info

Software summary
Bootloader:               U-Boot
Kernel version:           5.15.129-6.4.0+git.67c3153d20ff #1 SMP PREEMPT Wed Sep 27 12:30:36 UTC 2023
Kernel command line:      root=PARTUUID=366b51d0-02 ro rootwait console=tty1 console=ttymxc2,115200 consoleblank=0 earlycon
Distro name:              NAME="TDX Wayland with XWayland"
Distro version:           VERSION_ID=6.4.0-build.8
Hostname:                 verdin-imx8mp-06849036

Hardware info
HW model:                 Toradex Verdin iMX8M Plus WB on Verdin Development Board
Toradex version:          0058 V1.0B
Serial number:            06849036
Processor arch:           aarch64


root@verdin-imx8mp-06849036:~# gst-launch-1.0 videotestsrc num-buffers=300 ! video/x-raw,width=640,height=480 ! vpuenc_hevc ! filesink location=test.h265
Setting pipeline to PAUSED ...
====== VPUENC: 4.7.2 build on Sep  1 2022 09:49:28. ======
        wrapper: 3.0.0 (VPUWRAPPER_ARM64_LINUX Build on Aug 31 2022 01:28:14)
        vpulib: 1.1.1
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
Redistribute latency...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:01.092000018
Setting pipeline to NULL ...
Freeing pipeline ...
root@verdin-imx8mp-06849036:~# gst-discoverer-1.0 test.h265
Analyzing file:///home/root/test.h265

====== V4L2DEC: 1.20.3 build on Sep 15 2022 02:27:06. ======
Done discovering file:///home/root/test.h265

  Duration: 0:00:09.997784858
  Seekable: yes
  Live: no
  video #0: H.265 (Main Profile)
    Stream ID: 13ef953618e06b93e7b74690ee1db4da4b52298eb5f69e49c5fbd2b1b36d3ffb
    Width: 640
    Height: 480
    Depth: 24
    Frame rate: 30/1
    Pixel aspect ratio: 1/1
    Interlaced: false
    Bitrate: 0
    Max bitrate: 0


As you can see from the gst-discover-1.0 of the output video file it is H265.

Side note

I got the Gstremaer pipeline from the WIP that R&D is currently doing for Torizon on this topic: torizon-samples/vpu/generic/vpuGeneric/ at bf2534dc3826d53d3b38f56afc223beb4f475d82 · embdur/torizon-samples · GitHub. Thanks @leon.tx for the tip :v:

Best regards,


Thank you for your help.

1 Like

Hi @rifo ,

Thanks for letting us know.

Best Regards