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.

DM365 H.264 Encoder YUV test files

Hi,

I am trying to encode YUV test files by using digital video test bench on DM365 processor. For this purpose, I have downloaded some YUV test sequences and convert as defined in the dvtb_user_guide.pdf. But, the encoded files have some problems; the color is different from the original clip, there are some shadows passing. I think this is related to the YUV format. 

My question is; do I need to use only 4:2:0 semi planar YUV test files? Is it possible for me to use the downloaded test files with some kind of conversion with an external software or by using DM365? If I can only use 4:2:0 format, then can you please tell me where can I find those clips? Most of the clips I have downloaded are not in this format.

Thanks&Best Regards,

Fikret

  • Hi,

    You need ti use only YUV420 semi planer YUV files for DM365 H.264 codecs. You can convert file from one YUV format to other through ffmpeg.

    regards

    Yashwant

  • Dear Yashwant,

    Thank you for your prompt response. I have already tried to convert the file with ffmpeg with the following command. 

    avconv -s 720x480 -pix_fmt yuv420p -i CITY_704x576_30_orig_01_yuv/ -pix_fmt nv12 city_nv12.yuv
    avconv version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
    built on Jun 12 2012 16:52:09 with gcc 4.6.3
    CITY_704x576_30_orig_01_yuv/: Operation not permitted

    I have also tried ffmpeg command instead of avconv, but the result is same. Do you have an idea about that?

    BR,

    Fikret

  • Ok, no problem that's my fault. I haven't entered the source file correctly. So it is OK. Thanks again.

    Fikret