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.

Does DM3725 support 800x600 resolution H264 encoding?

Other Parts Discussed in Thread: DM3725, DM3730

We know the 720P H264 encoding is supported from 4.02 DVSDK, however, we want to know whether only standard resolutions (VGA, D1, 720P) are supported and 800x600 resolution is not supported. When we use the demo application or our-self application written with DMAI to encode 800x600 resolution video, it always reports "failed to create h264enc". Can you help to confirm this?

BTW, we also want add some OSD data  in the encoded video, however, we found the blend function isn't supported for DM3725. Is there any way to implement this? Thanks!

  • Hi Max,

    The DM3725 is able to encode video in H264 at video resolution 800x600. About your issue I'm not sure what demo application you are using to start debugging the issue. Could you give more detail about the application which you are using and what parameters you are using. Would be useful to attach the whole log of successful encoding at 720p and unsuccessful encoding at video resolution 800x600 which reports "failed to create h264enc". At now I only could guess that it should be some limitation of the used application.

    BR

    Tsvetolin Shulev

  • Hi Tsvetolin

    Thanks for your feedback.

    The following is the command I used to encoding 800x600 video

    ./video_encode_io1_dm3730.x470MV -i 1.raw -r 800x600 -c h264enc -o 1.h264 -n 30

    The Output is as the following:

    Starting application...

    Failed to create video encoder: h264enc

    If I changed "800x600" to "1280x720", there is no problem for encoding, except that the output video is not correct since the raw file is 800x600 resolution.

    So I guess maybe only VGA, D1 and 720P resolution are supported while 800x600 is not supported. I checked the "resizer" module in DMAI and found only these standard resolution is supported for resize; I am not sure whether it is same for the encoding.

  • Hi Max,

    I made some tests of the video_encode_to1 demo with various resolutions of the output file which height is multiple of 8 (for example 800x592 and 800x608) the encoding complete successfully but only when the resolution is 800x600 the encoding fails with the "Failed to create video encoder: h264enc" message.

    As I analyzing the source code of the video_encode_to1 demo file appMain.c calling of the Venc1_create function which returns NULL. Passing through Venc1.c function Venc1_create and videnc1.c function VIDENC1_create I can conclude the resolution of 800x600 is restricted by the "ti.sdo.ce.video1.IVIDENC1".

    BR

    Tsvetolin Shulev

  • Hi Tsvetolin

    Thanks!

    So this means 800x600 H264 encoding can't be supported, right?

    BTW, Do you have any suggestion about OSD supporting? Thanks!

  • Hi Max,

    Yes, that's right till the "ti.sdo.ce.video1.IVIDENC1" video encoder is used the video resolution 800x600 H264 encoding could not be successful. I guess if you try with some different H264 video encoder the encoding to H264 800x600 could be successful but the "ti.sdo.ce.video1.IVIDENC1" is the only H264 encoder in the DVSDK.

    BR

    Tsvetolin Shulev