Hi, All
We tried to make use of OMAP encoder to encode different resolution video in different time in our application. For example, network condition is very very good, we want to encode 720P video and send them, but when network condition become worse, we have to decrease the resolution such as 180P.
Currently, we found one issue that OMAP encoder will fail to work when we switch different input resolution frequently.
We did two kinds of testing case:
case 1. only initialize and un-initialize OMAP encoder (that is, create and destroy OMAP encoder handle only once) when switching different input resolution, OMAP encoder will work normally about ten times then return error value (OMX_ErrorUndefined);
case 2. create and destroy OMAP encoder handle when switching different input resolution, OMAP encoder will work normally about dozens of times then return error value (OMX_ErrorHardware).
My question is:
Q1. OMAP encoder doesn't support the frequent resolution switching, right?
Q2. If we succeed to switch different resolution repeatedly with OMAP encoder, what we should do?
We are looking forward to your reply and thanks in advance.
Best Regards
-Juanny Wang