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.

mp3dec doesn't work with decode in DVSDK

I tested AAC file with decode test application  in DVSDK. It works fine. I know mp3 codec doesn't come with cs.x64C codec engine. I downloaded a copy of mp3 codec (c64xplus_mp3dec_01_31_01_001_production.bin) and copy its packages directory into dvsdk with other codecs. I added mp3 config in server.cfg and built it with other codecs successfully. I think it has be incorporated into cs.x64C codec. When I tested it with decode with CE_DEUG=3, it complains with following message,

@5,611,206us: [+0 T:0x413a5490 S:0x413a4cd4] CE - Engine_open> return(460816)
@5,611,297us: [+0 T:0x413a5490 S:0x413a4c14] ti.sdo.ce.audio1.AUDDEC1 - AUDDEC1_create> Enter (engine=0x70810, name)
@5,611,389us: [+0 T:0x413a5490 S:0x413a4be4] CV - VISA_create(0x70810, 'mp3dec', 0x413a4d90, 0x488, 'ti.sdo.ce.audi)
@5,611,450us: [+0 T:0x413a5490 S:0x413a4ae4] CV - VISA_create2(0x70810, 'mp3dec', 0x413a4d90, 0x10, 0x488, 'ti.sdo.)
@5,611,511us: [+6 T:0x413a5490 S:0x413a4ac4] CE - Engine_getConstName> Unable to locate alg "mp3dec" (type "ti.sdo..
@5,611,572us: [+6 T:0x413a5490 S:0x413a4ae4] CV - VISA_create2> Unable to locate alg "mp3dec".
@5,611,633us: [+0 T:0x413a5490 S:0x413a4abc] CV - VISA_delete(0x0)
@5,611,694us: [+0 T:0x413a5490 S:0x413a4c14] ti.sdo.ce.audio1.AUDDEC1 - AUDDEC1_create> return (0x0)
@5,611,755us: [+7 T:0x413a5490 S:0x413a4c3c] ti.sdo.dmai - [Adec1] Failed to open audio decode algorithm: mp3dec
Error: Failed to create audio decoder mp3dec

I don't know what are missing.

  • Did you rebuild the ARM-side app?

    That "Engine_getConstName" error msg might be indicating the Engine you opened doesn't have a codec in it named 'mp3dec'.  When you change things in the Server, you have to rebuild (actually reconfig and relink) the ARM-side app.  That way, the ARM-side representation of what codecs the Engine has is updated.

    Chris