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 DM365 support h.264 encode 720P@25fps?

Other Parts Discussed in Thread: TVP7002

Hi

From http://processors.wiki.ti.com/index.php/DM365_Codec_Availability_Schedule
It's seem that H264 HP (standard quality) only 720P@30fps is supported by the codec.

and from dvsdk_2_10_01_18\dmai_1_21_00_10\packages\ti\sdo\dmai\linux\Capture.c
at line 254 there is a comment :

    /* In DM365 the capture driver does not support 720P-30, but the
    LSP has an option to reduce the capture rate to half. So when user
    sets for 720P-30, we treat it as 720P-60 except we set LSP capture
    rate to half. */

It's seem that the codec just support 720P@60fps

Could you kindly let me know how could I encode the video at 720p@25fps for h.264?

Best Regards

 

  • Hi,

    You can control the framerate of codec by changing the targetframerate parameter of the encoder. The codec works at any other frame rate also, other than 30fps.

     

    Regards,

    Anshuman

  • First of all , thanks for your reply.

    Does the capture driver support 25fps too?

    I use compiste analog video input.

    the capture.c in dmai say that DM365 capture doesn't support 30fps, just support 60 fps.

    Does that's mean I cannot change the capture frame to 25fps?

    Best Regards

     

     

  • Steven,

    I dont understand a few things here:

    1. You mentioned about 720P capture, but how are you getting the 720P input using analog composite video input?

     

    For 720P capture, the default fps in the TVP7002 capture driver is 60fps. So DMAI supports just 60fps. There is an option though in the driver where you can skip alternate frames writing to DDR. But still there is no inherent support to get 25fps of 720P capture. You would have to either change the driver for this support or change at application level where you skip captured frames and do not send it to encoder. You can just have dummy DQBUF call and then direclty call QBUF.

    Regards,

    Anshuman

    PS: Please mark this post as verified if you think it answers your question

  • Anshuman

    Many Thanks for your help.