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.

DM8168 encode problem

Hi,

I have installed ezsdk 5_04_00_11. I have build omx and its example applications successfully.

I am trying to running encode example application with bellow mention parameters,

./encode_a8host_debug.xv5T -i pal.yuv -o pal.h264 -f 30 -b 1000000 -w 720-h 576 -c h264

here I am giving 720*576 yuv420semiplanner  pal.yuv as a input which gives me encoded (h264) output in pal.h264.

But When I play pal.h264 in my VLC player, the quality of the video is not appropriate and seems different from the input.It is separated to four parts from input video.

Do we change some parameters?

Note: I am using DM8168 EVM.

  • Hello,

    You could check for more information here:

    /ti-ezsdk_dm816x-evm_5_05_02_00/component-sources/omx_05_02_00_48

    Multimedia Sample Applications

    and

    OMX_05_02_00_48_UserGuide.pdf

    2.5 Video Encoder Component (VENC)


    Supports
    only
    YUV420
    semi
    planner
    OMX_COLOR_FormatYUV420PackedSemiPlanar)

    The i/o of the VENC component is YUV 420(NV12).

    jt huang said:
    But When I play pal.h264 in my VLC player, the quality of the video is not appropriate and seems different from the input.It is separated to four parts from input video.

    The formats don't match. 

    Best Regards,

    Margarita

  • Hi ,

    Thank you.

    yes,pal.yuv is OMX_COLOR_FormatYUV420PackedSemiPlanar.It is decoded by decode_a8host_debug.xv5T.So input file is no problem.Any parameter is changed by me.

    And i need to notice some parameters.Thank you.