yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
RDK X3 Board📖
1. RDK X3 Board Introduction
  • 1.1 About RDK X3 board
  • 1.2 Write system
  • 1.3 SD expansion
  • 1.4 Hardware interface
  • 1.5 Install case antenna
2. Basic setting
  • 2.1 Network Configuration
  • 2.2 Remote Login
  • 2.3 System Update
  • 2.4 Configure srpi-config
  • 2.5 confit.txt file
  • 2.6 Thermal control-CPU frequency
  • 2.7 Auto-start at boot
  • 2.8 RDK-specific commands usage
  • 2.9 Linux command usage
  • 2.10 GPIO read write
  • 2.11 Image classification algorithm
  • 2.12 USB camera usage
  • 2.13 MIPI camera uasge
3. Basic course
C language
  • 1. Camera image display
  • 2. Save camera image
  • 3. Camera image encoding
  • 4. Video decoding display
  • 5. VPS scaling example
  • 6. Object detection algorithm-fcos
  • 7. Object detection algorithm—YOLOv5
Python
  • 1. Using GPIO
  • 2. Using PWM
  • 3. Using serial port
  • 4. Using I2C
  • 5. Using SPI
Download
  • Image_system
  • Code
  • Software_Tools
Download ZIP

Welcome to RDK X3 Board repository

4. Video decoding display

Video decoding display

Video decoding display1. Preparation2. Running method3. Result

1. Preparation

This example decoder2display implements the decoding of video files and outputs them through the HDMI interface. Users can preview the images on the display.

The example flow chart is as follows.

image-capture-105e9e82cfdfa2101b0b9bd99545d0a2

  • Connect the board to the monitor via HDMI cable
  • Power on the board and log in
  • Prepare the video encoding file test.h264 as input.

2. Running method

The sample code is provided in source code form and needs to be compiled and run using the make command.

The steps are as follows.

sunrise@ubuntu:~$ cd /app/cdev_demo/decode2display
sunrise@ubuntu:/app/cdev_demo/decode2display$ cp  /app/cdev_demo/vio2encoder/test.h264 .
sunrise@ubuntu:/app/cdev_demo/decode2display$ sudo make
sunrise@ubuntu:/app/cdev_demo/decode2display$ sudo ./decoder2display -w 1920 -h 1080 -i test.h264

The following command copies the test.h264 file saved in [3. Camera image encoding] to the current directory for use.

xxxxxxxxxx
cp  /app/cdev_demo/vio2encoder/test.h264 .

Parameter Description.

  • -h: video file height
  • -w: video file width
  • -i: video file path

3. Result

运行

After the program runs correctly, the video screen will be output through the HDMI interface of the development board, and the user can preview the video screen through the monitor.

The running log is as follows.

xxxxxxxxxx
sunrise@ubuntu:/app/cdev_demo/decode2display$ sudo ./decoder2display -w 1920 -h 1080 -i test.h264
disp_w=1024, disp_h=600
[x3_av_open_stream]:[380]:probesize: 5000000
sp_start_decode success!
libiar: hb_disp_set_timing done!
sp_start_display success!
sp_open_vps success!

结果

Camera image encoding
VPS scaling example

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文