Preparing PetaLinux to Run VDU Applications - 2023.2 English

H.264/H.265 Video Decode Unit Solutions LogiCORE IP Product Guide (PG414)

Document ID
PG414
Release Date
2024-03-29
Version
2023.2 English
  1. source <path/to/petalinux-installer>/tool/petalinux-v2023.1-final/settings.sh
  2. petalinux-create -t project -s <path/to/petalinux-installer>/bsp/release/xilinx-vek280-es1-v2023.1-final.bsp 
  3. cd xilinx-vek280-es1-v2023.1-final
  4. Petalinux-build
  5. Boot the board using a PetaLinux pre-built image 
  6. Login with username:petalinux and password:root

Now, the GStreamer, OMX, and Control Software pipelines can be run on the board.

Below are the sample commands to decode a stream:
  1. Control Software
    • ctrlsw_decoder -avc -i input.avc -noyuv --device /dev/allegroDecodeIP0
  2. OMX
    • omx_decoder input.avc -avc --device /dev/allegroDecodeIP0 -o /dev/null
  3. Gstreamer
    • gst-launch-1.0 filesrc location=input.avc ! h264parse ! queue ! omxh264dec device="/dev/allegroDecodeIP0" ! queue max-size-bytes=0 ! fakevideosink