Hello, everyone!
I have a question about VIDENC1_create.
When I use CE_DEBUG=1, I can see the error:
Encode demo started.
@0,882,873us: [+6 T:0x4001ec90] CE - Engine_init> CE debugging on (CE_DEBUG=1; allowed CE_DEBUG levels: 1=min, 2=good, 3=max)
engine open..............
[DSP] @0x000001bd:[T:0x00000000] codec_unitserver - main> Welcome to CS1OMAP3530 DSP server's main().
videnc create............
@1,048,950us: [+6 T:0x4001ec90] CE - Engine_createNode> Remote node creation FAILED (0x80008008).
[DSP] @0,038,304tk: [+7 T:0x87f17114] ti.sdo.ce.alg.Algorithm - Algorithm_create> Algorithm creation FAILED; make sure that 1) alg params are correct/appropriate, 2) there is enough internal and external algorithm memory available -- check DSKT2 settings for heap assignments and
scratch allocation
[DSP] @0,038,455tk: [+6 T:0x87f17114] CV - VISA_create2> FAILED to create local codec.
@1,049,957us: [+6 T:0x4001ec90] CV - VISA_create2> FAILED to create remote codec (0x8).
error: can't create mpeg4enc
In addition , if I use CE_DEBUG=2, I can see the error:
videnc create............
@3,451,995us: [+0 T:0x4001ec90] ti.sdo.ce.video1.VIDENC1 - VIDENC1_create> Enter (engine=0x4e7f8, name='mpeg4enc', params=0xbeb69ac8)
@3,452,056us: [+0 T:0x4001ec90] CV - VISA_create(0x4e7f8, 'mpeg4enc', 0xbeb69ac8, 0x520, 'ti.sdo.ce.video1.IVIDENC1')
@3,452,148us: [+0 T:0x4001ec90] CV - VISA_create2(0x4e7f8, 'mpeg4enc', 0xbeb69ac8, 0x30, 0x520, 'ti.sdo.ce.video1.IVIDENC1')
@3,452,239us: [+0 T:0x4001ec90] CE - Engine_createNode(0x4e7f8, 'mpeg4enc', 520, 0xbeb69ac8, 0x30, 0xbeb69a24)
@3,452,300us: [+0 T:0x4001ec90] CE - Engine> allocNode Enter(engine=0x4e7f8, impId='mpeg4enc')
@3,452,362us: [+0 T:0x4001ec90] CE - Engine> allocNode(). Calling (Comm_create(gppfromnode_1696_1, 0x4ebe0, NULL)
@3,473,510us: [+6 T:0x4001ec90] CE - Engine_createNode> Remote node creation FAILED (0x80008008).
[DSP] @1,769,511tk: [+0 T:0x87f17114] OM - Memory_alloc> Enter(size=0x18)
[DSP] @1,769,563tk: [+0 T:0x87f17114] OM - Memory_alloc> return (0x87f1bbf8)
[DSP] @1,769,605tk: [+0 T:0x87f17114] OM - Memory_alloc> Enter(size=0xb)
[DSP] @1,769,642tk: [+0 T:0x87f17114] OM - Memory_alloc> return (0x87f1bc10)
[DSP] @1,769,690tk: [+0 T:0x87f17114] OM - Memory_alloc> Enter(size=0x20)
[DSP] @1,769,728tk: [+0 T:0x87f17114] OM - Memory_alloc> return (0x87f1bc20)
[DSP] @1,769,771tk: [+0 T:0x87f17114] OM - Memory_alloc> Enter(size=0x24)
[DSP] @1,769,809tk: [+0 T:0x87f17114] OM - Memory_alloc> return (0x87f1bc40)
[DSP] @1,769,872tk: [+0 T:0x87f17114] ti.sdo.ce.video1.VIDENC1 - VIDENC1_create> Enter (engine=0x0, name='mpeg4enc', params=0x873048c0)
[DSP] @1,769,943tk: [+0 T:0x87f17114] CV - VISA_create(0x0, 'mpeg4enc', 0x873048c0, 0x520, 'ti.sdo.ce.video1.IVIDENC1')
[DSP] @1,770,006tk: [+0 T:0x87f17114] CV - VISA_create2(0x0, 'mpeg4enc', 0x873048c0, 0x30, 0x520, 'ti.sdo.ce.video1.IVIDENC1')
[DSP] @1,770,080tk: [+0 T:0x87f17114] CE - Engine_open> Enter('local', 0x87f1ae04, 0x873048c0)
[DSP] @1,770,135tk: [+0 T:0x87f17114] OM - Memory_alloc> Enter(size=0x2c)
[DSP] @1,770,173tk: [+0 T:0x87f17114] OM - Memory_alloc> return (0x87f1bcb0)
[DSP] @1,770,225tk: [+0 T:0x87f17114] CE - Engine_open> return(-2014200656)
[DSP] @1,770,281tk: [+0 T:0x87f17114] OM - Memory_alloc> Enter(size=0x34)
[DSP] @1,770,319tk: [+0 T:0x87f17114] OM - Memory_alloc> return (0x87f1bce0)
[DSP] @1,770,364tk: [+0 T:0x87f17114] ti.sdo.ce.alg.Algorithm - Algorithm_create> Enter(fxns=0x87e9e540, idma3Fxns=0x87e9e56c, iresFxns=0x0,
params=0x873048c0, attrs=0x87f1af18)
[DSP] @1,770,452tk: [+0 T:0x87f17114] OM - Memory_alloc> Enter(size=0x10)
[DSP] @1,770,490tk: [+0 T:0x87f17114] OM - Memory_alloc> return (0x87f1bd18)
[DSP] @1,801,424tk: [+7 T:0x87f17114] ti.sdo.ce.alg.Algorithm - Algorithm_create> Algorithm creation FAILED; make sure that 1) alg params are correct/appropriate, 2) there is enough internal and external algorithm memory available -- check DSKT2 settings for heap assignments and
scratch allocation
[DSP] @1,801,550tk: [+0 T:0x87f17114] ti.sdo.ce.alg.Algorithm - Algorithm_delete> Enter(alg=0x87f1bd18)
[DSP] @1,801,603tk: [+0 T:0x87f17114] OM - Memory_free> Enter(addr=0x87f1bd18, size=16)
[DSP] @1,801,652tk: [+0 T:0x87f17114] OM - Memory_free> return (0x1)
[DSP] @1,801,699tk: [+0 T:0x87f17114] ti.sdo.ce.alg.Algorithm - Algorithm_delete> Exit
[DSP] @1,801,742tk: [+0 T:0x87f17114] ti.sdo.ce.alg.Algorithm - Algorithm_create> return (0x0)
[DSP] @1,801,788tk: [+6 T:0x87f17114] CV - VISA_create2> FAILED to create local codec.
[DSP] @1,801,830tk: [+0 T:0x87f17114] CV - VISA_delete(0x87f1bce0)
[DSP] @1,801,867tk: [+5 T:0x87f17114] CV - VISA_delete> deleting codec (localQueue=0xffff, remoteQueue=0xffff)
[DSP] @1,801,922tk: [+0 T:0x87f17114] OM - Memory_free> Enter(addr=0x87f1bce0, size=52)
[DSP] @1,801,968tk: [+0 T:0x87f17114] OM - Memory_free> return (0x1)
[DSP] @1,802,007tk: [+0 T:0x87f17114] ti.sdo.ce.video1.VIDENC1 - VIDENC1_create> return (0x0)
[DSP] @1,802,063tk: [+0 T:0x87f17114] OM - Memory_free> Enter(addr=0x87f1bc40, size=36)
[DSP] @1,802,109tk: [+0 T:0x87f17114] OM - Memory_free> return (0x1)
[DSP] @1,802,143tk: [+0 T:0x87f17114] OM - Memory_free> Enter(addr=0x87f1bc20, size=32)
[DSP] @1,802,189tk: [+0 T:0x87f17114] OM - Memory_free> return (0x1)
[DSP] @1,802,224tk: [+0 T:0x87f17114] OM - Memory_free> Enter(addr=0x87f1bc10, size=11)
[DSP] @1,802,270tk: [+0 T:0x87f17114] OM - Memory_free> return (0x1)
[DSP] @1,802,304tk: [+0 T:0x87f17114] OM - Memory_free> Enter(addr=0x87f1bbf8, size=24)
[DSP] @1,802,350tk: [+0 T:0x87f17114] OM - Memory_free> return (0x1)
@3,823,730us: [+0 T:0x4001ec90] CE - Engine_fwriteTrace> returning count [3674]
@3,823,760us: [+2 T:0x4001ec90] CE - Engine_createNode> Returning 0x0
@3,823,791us: [+6 T:0x4001ec90] CV - VISA_create2> FAILED to create remote codec (0x8).
@3,823,852us: [+0 T:0x4001ec90] CV - VISA_delete(0x4ec60)
@3,823,883us: [+5 T:0x4001ec90] CV - VISA_delete> deleting codec (localQueue=0xffff, remoteQueue=0xffff)
@3,823,944us: [+0 T:0x4001ec90] ti.sdo.ce.video1.VIDENC1 - VIDENC1_create> return (0x0)
error: can't create mpeg4enc
I don't know why this happened.
So, Can you tell me what the problem is??
Thank you!