2545 views|2 replies

20

Posts

0

Resources
The OP
 

[Mill Edge AI Computing Box FZ5 Review] VCU with DP interface plays mp4 video [Copy link]

This time we will try to use the VCU function of the board , which is a special function of the EV series chips. Using the official image of Edgeboard , we can realize many functions of VCU . Here, for the purpose of learning, we will build our own software and hardware platform to realize the function of playing mp4 videos using VCU . First, create a new vivado project, and then add the IP of VCU . The configuration is as follows:

It can be seen that VCU will consume a lot of bandwidth. In this example, we use the DDR on the PS side for cache, so we need to reserve enough HP interfaces to ensure bandwidth. After the configuration is completed, other parts need to be connected. The basic structure is as follows :

After the project is built, the hdf file will be compiled and generated. The result is as follows:

It can be seen that the VCU peripherals still need to consume some programmable logic resources, and when the VCU is used , the power consumption is very high, directly reaching about 6W . Next, we will build a petalinux project. The specific process is basically the same as the previous porting process. The difference is that we need to add Gstreamer , etc. in the root file system :

After the configuration is complete, compile the image, copy a video to the SD card, and then run the following command:

gst-launch-1.0 filesrc location= /home/root/new.mp4 ! qtdemux name=demux demux.video_0 ! h264parse ! omxh264dec ! queue max-size-bytes=0 ! kmssink bus-id=fd4a0000.zynqmp-display fullscreen- overlay=1

The result is as follows:

This post is from Embedded System

Latest reply

It feels pretty good! How about the resolution and refresh rate?   Details Published on 2021-4-6 10:51

赞赏

1

查看全部赞赏


6548

Posts

0

Resources
2
 

That is, VCU will consume a lot of bandwidth and occupy a lot of resources.

The effect may be good

This post is from Embedded System
 
 

1942

Posts

2

Resources
3
 

It feels pretty good! How about the resolution and refresh rate?

This post is from Embedded System
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list