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.

RTOS/TDA3XEVM: MPEG4venc link implementation

Part Number: TDA3XEVM

Tool/software: TI-RTOS

Hello.

Recently I had some experience with implementation of MPEG4venc alglink added in vsdk307 on TDA3xx.

I made it work after all, but only with some tricks like delayed mpeg4venc initialization or adding a gate link in the usecase etc. I can share the usecases if needed.

I still don`t really understand why it works like this and it will be nice if someone explain this to me or give something to read besides the MPEG4_Encoder_UserGuide.

Thanks.

  • Hi,

    It can be used in a simple usecase also.

    We have 1 usecase with this link where it read from a file encodes it and dump into a file.

    As its a software encoder so its performance is not good.

    But it can be used in any usecase as other links and without adding gate link or any delay.

    Regards,

    Anuj

  • Hello. 

    Can you please check this usecase then. I have the delayed mpeg4 link initialization in it.

    If I set encoder with all other links at mpeg4enc_simple_SetAppPrms function, usecase give me this error -

    [DSP1  ]     12.599798 s:  Assertion @ Line: 305 in src/sources/ALGOLINKS/010_Link_mpeg4venc/mp4vencLink_algPlugin.c: RetVal == IALG_EOK : failed !!!)

    If set them after(at switch-case block), everything works without any problems.https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/UC_5F00_MPEG4_5F00_SIMPLE.7z

  • Hi,

    If you are setting it from switch case then by that time the link is already created by its default params.

    And when you set those params that is not taking effect.

    So if it is working with default params but not with your param that means there is something wrong with your params.

    Please compare it with its default params and available in links header file.

    Also please go through the docs of mp4venc package to know any limitation for the params.

    Regards,

    Anuj

  • Hello.

    Thanks, I understand it a little more now.