DM36x TFP410 720p Video decoding

From RidgeRun Developer Connection
Jump to: navigation, search

Introduction

This wiki page contains test details for 720p Video Decoding. Input to the LI-DVI1 add on card is the 720p video file. RidgeRun offers a pre-built bootable SD card image you can use or you can configure your RidgeRun evaluation or professional SDK to build the image yourself.

Tested Pipelines

Disabling the framebuffer before running the Pipelines:

Please run below command on the board prompt to disable the framebuffer:


fbset -disable 

Display video test pattern

gst-launch -v videotestsrc ! video/x-raw-yuv,width=1280,height=720 ! TIDmaiVideoSink videoStd=720P_60 videoOutput=DVI accelFrameCopy=FALSE sync=false

Decode and play movie

FILE=720pvideotestfile.mp4

gst-launch -e filesrc location=$FILE ! qtdemux ! queue ! dmaidec_h264 numOutputBufs=13 ! queue ! dmaiperf ! TIDmaiVideoSink accelFrameCopy=true /
                                                    videoOutput=DVI videoStd=720P_60

You need to first store the movie file on the SD card or use an NFS mount if you prefer. 

Decode and display a picture

FILE=Test.jpg

gst-launch filesrc location=$FILE ! dmaidec_jpeg ! freeze ! TIDmaiVideoSink videoOutput=DVI videoStd=720P_60

SDK Configurations for 720p output through LI-DVI1

Architecture configurations ---> 
Video Output ---> PRGB
Maximum Video Output Buffer Size (720P) --->
Maximum Video Input Buffer Size (720P) --->
Proprietary Software ---->

Amount of reserved memory from the Kernel ->0X4300000 Amount of reserved memory for cmemk ->0X3500000


Kernel configuration ->

dm365_generic_prgb_encoder.mode=1280x720MR-16@60