This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/DRA72XEVM: NullSrc + Decode + Display (Only 1920x1080 H264/MJPEG Video Input Bit-Stream Supported) usecase Evaluation

Part Number: DRA72XEVM

Tool/software: Linux

Hi TI,

I am trying to execute "null_src_decode_display" usecase on TDA2Ex setup.

I have followed the procedure to create .hdr file from .h264( playable video ) menioned below.

On Ubuntu 14.04 :

1. Generate index file( all info of video sample) with ffprobe command.

ffprobe -show_packets ./<video-file-name.h264 >index.idx

2. Extract just "Size" from above generated index file with sed command.

PAT=size

sed -n "/$PAT/p" index.idx | cut -d' ' -f3 >> size_extracted.txt

3. Now generate binary file from size extracted file, with below command.

cat size_extracted.txt | perl -n -e 'printf("%08x\n",$_)' | sed 's/\(..\)\(..\)\(..\)\(..\)/0x\4\n0x\3\n0x\2\n0x\1/' | xxd -r -p > Size_test.bin && du -b Size_test.bin

So, we get the following files :

Size_test.bin file, index.idx and size_extracted.txt files

Renamed Size_test.bin as 1920x1080_00.hdr and copied the .h264 video as is in the home dir.

In HDMI display coming with green screen followed by assertion issue !!!

 ASSERT (nullSrcLink_tsk.c|NullSrcLink_fillData|202)


Kindly revert back if I did wrong !!!

Regards,

Rajesh Kannan S