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.

H264 codecs cannot use in demo

Hi,

 

I tried to use the DVSDK 3.10.0.19 with the DM6467. I tried the dmai sample (video_decode_io2) with the mpeg2 and it works fine. However, when I tried the same software with the h264dec codecs with the same combo. It always complain that "Failed to create video decoder: h264dec".

I am sure the h264 decode codecs is included in the combo. Please give me some advice?

 

Philip

  • Hi Philip,

    Can you please send logs with CE_DEBUG=3. We can analyze it further from there.

    regards

    Yashwant

  • Hi Yashwant,

     

    Here is the debug message.


    6467 # CE_DEBUG=3 ./video_decode_io2_dm6467.x470MV -c h264dec -e decode -i davin

    cieffect_ntsc_1_50s.264 -o test3.yuv
    Starting application...
    @0,034,709us: [+4 T:0x4001f050 S:0xbe9944dc] OG - Global_init> This program was built with the following packages:
    @0,035,287us: [+4 T:0x4001f050 S:0xbe9944dc] OG -     package gnu.targets.arm.rtsv5T (/home/dvsdk/dvsdk_3_10_00_19/xdctools_3_16_01_27/packages/gnu/targets/arm/rtsv5T/) [1, 0, 0, 0]
    @0,035,542us: [+4 T:0x4001f050 S:0xbe9944dc] OG -     package ti.sdo.codecs.aachedec (/home/dvsdk/dvsdk_3_10_00_19/cs2dm6467_1_00_00_10/packages/ti/sdo/codecs/aachedec/) [1, 0, 0]
    @0,035,717us: [+4 T:0x4001f050 S:0xbe9944dc] OG -     package ti.sdo.codecs.h264dec (/home/dvsdk/dvsdk_3_10_00_19/cs2dm6467_1_00_00_10/packages/ti/sdo/codecs/h264dec/) [1, 0, 0]
    @0,035,883us: [+4 T:0x4001f050 S:0xbe9944dc] OG -     package ti.sdo.codecs.h2641080p60vdec (/home/dvsdk/dvsdk_3_10_00_19/cs2dm6467_1_00_00_10/packages/ti/sdo/codecs/h2641080p60vdec/) [1, 0, 0]
    @0,036,048us: [+4 T:0x4001f050 S:0xbe9944dc] OG -     package ti.sdo.codecs.mpeg2dec (/home/dvsdk/dvsdk_3_10_00_19/cs2dm6467_1_00_00_10/packages/ti/sdo/codecs/mpeg2dec/) [1, 0, 0]
    @0,036,211us: [+4 T:0x4001f050 S:0xbe9944dc] OG -     package ti.sdo.codecs.mpeg4dec (/home/dvsdk/dvsdk_3_10_00_19/cs2dm6467_1_00_00_10/packages/ti/sdo/codecs/mpeg4dec/) [1, 0, 0]
    @0,036,432us: [+4 T:0x4001f050 S:0xbe9944dc] OG -     package ti.sdo.codecs.mp3dec (/home/dvsdk/dvsdk_3_10_00_19/cs2dm6467_1_00_00_10/packages/ti/sdo/codecs/mp3dec/) [1, 0, 0]
    @0,036,601us: [+4 T:0x4001f050 S:0xbe9944dc] OG -     package ti.sdo.codecs.dolbyac3dec (/home/dvsdk/dvsdk_3_10_00_19/cs2dm6467_1_00_00_10/packages/ti/sdo/codecs/dolbyac3dec/) [1, 0, 0]
    @0,036,767us: [+4 T:0x4001f050 S:0xbe9944dc] OG -     package ti.sdo.ce.global (/home/dvsdk/dvsdk_3_10_00_19/codec_engine_2_25_05_16/packages/ti/sdo/ce/global/) [1, 0, 0]
    @0,036,929us: [+4 T:0x4001f050 S:0xbe9944dc] OG -     package dsplink.gpp (/home/dvsdk/dvsdk_3_10_00_19/dsplink_linux_1_64/dsplink/gpp/) [5, 0, 0]
    @0,037,087us: [+4 T:0x4001f050 S:0xbe9944dc] OG -     package ti.sdo.linuxutils.cmem (/home/dvsdk/dvsdk_3_10_00_19/linuxutils_2_25_04_10/packages/ti/sdo/linuxutils/cmem/) [2, 2, 0]
    @0,037,247us: [+4 T:0x4001f050 S:0xbe9944dc] OG -     package ti.xdais.dm (/home/dvsdk/dvsdk_3_10_00_19/xdais_6_25_02_11/packages/ti/xdais/dm/) [1, 0, 5]
    @0,037,404us: [+4 T:0x4001f050 S:0xbe9944dc] OG -     package ti.sdo.utils.trace (/home/dvsdk/dvsdk_3_10_00_19/framework_components_2_25_02_06/packages/ti/sdo/utils/trace/) [1, 0, 0]
    @0,037,565us: [+4 T:0x4001f050 S:0xbe9944dc] OG -     package ti.sdo.ce.utils.xdm (/home/dvsdk/dvsdk_3_10_00_19/codec_engine_2_25_05_16/packages/ti/sdo/ce/utils/xdm/) [1, 0, 2]
    @0,037,727us: [+4 T:0x4001f050 S:0xbe9944dc] OG -     package ti.xdais (/home/dvsdk/dvsdk_3_10_00_19/xdais_6_25_02_11/packages/ti/xdais/) [1, 2.0, 1]
    @0,037,882us: [+4 T:0x4001f050 S:0xbe9944dc] OG -     package ti.sdo.ce.node (/home/dvsdk/dvsdk_3_10_00_19/codec_engine_2_25_05_16/packages/ti/sdo/ce/node/) [1, 0, 0]
    @0,038,074us: [+4 T:0x4001f050 S:0xbe9944dc] OG -     package ti.sdo.fc.global (/home/dvsdk/dvsdk_3_10_00_19/framework_components_2_25_02_06/packages/ti/sdo/fc/global/) [1, 0, 0]
    @0,038,241us: [+4 T:0x4001f050 S:0xbe9944dc] OG -     package ti.sdo.fc.memutils (/home/dvsdk/dvsdk_3_10_00_19/framework_components_2_25_02_06/packages/ti/sdo/fc/memutils/) [1, 0, 0]
    @0,038,407us: [+4 T:0x4001f050 S:0xbe9944dc] OG -     package ti.sdo.fc.utils (/home/dvsdk/dvsdk_3_10_00_19/framework_components_2_25_02_06/packages/ti/sdo/fc/utils/) [1, 0, 2]
    @0,038,568us: [+4 T:0x4001f050 S:0xbe9944dc] OG -     package ti.sdo.fc.dman3 (/home/dvsdk/dvsdk_3_10_00_19/framework_components_2_25_02_06/packages/ti/sdo/fc/dman3/) [1, 0, 4]
    @0,038,732us: [+4 T:0x4001f050 S:0xbe9944dc] OG -     package ti.sdo.fc.acpy3 (/home/dvsdk/dvsdk_3_10_00_19/framework_components_2_25_02_06/packages/ti/sdo/fc/acpy3/) [1, 0, 4]
    @0,038,892us: [+4 T:0x4001f050 S:0xbe9944dc] OG -     package gnu.targets (/home/dvsdk/dvsdk_3_10_00_19/xdctools_3_16_01_27/packages/gnu/targets/) [1, 0, 1]
    @0,039,047us: [+4 T:0x4001f050 @0,040,804us: [+4 T:0x4001f050 S@0,043,708us: [+0 T:0x4001f050 S@0,046,336us: [+0 T:0x4001f050 S@0,049,091us: [+0 T:0x4001f050 S@0,055,612us: [+0 T:0x4001f050 S:0xbe9944a4] CE - Engine_open> E@0,057,676us: [+0 T:0x40afe490 S@0,060,473us: [+3 T:0x40afe490 S@0,063,298us: [+3 T:0x40afe490 S@0,065,990us: [+3 T:0x40afe490 S@0,068,803us: [+3 T:0x40afe490 S@0,071,600us: [+3 T:0x40afe490 S@0,074,433us: [+3 T:0x40afe490 S@0,080,571us: [+2 T:0x40afe490 S:0x40afdd64] OP - Processor_crea@0,091,687us: [+2 T:0x40afe490 S:0x40afdd64] OP - Processor_create_d> Opening MSGQ pool...
    @0,092,489us: [+2 T:0x40afe490 S:0x4@0,385,184us: [+2 T:0x40afe490 S:0x40afdd64] OP - Processor_create_d> Starting DSP PROC...
    @0,426,415us: [+2 T:0x40afe490 S:0x40afdd64] OP - Processor_create_d> Opening remote transport...
    @0,428,222us: [+2 T:0x40afe490 S:0x40afdd64] OP - Processor_create_d> return (1)
    @0,428,454us: [+0 T:0x40afe490 S:0x40afdd54] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x531d8]
    @0,428,683us: [+0 T:0x4001f050 S:0xbe99442c] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x531d8] status[0]
    @0,428,868us: [+0 T:0x4001f050 S:0xbe99444c] OP - doCmd> Exit (result=1)
    @0,429,021us: [+0 T:0x4001f050 S:0xbe99446c] OP - Processor_create> return (0x53670)
    @0,429,176us: [+0 T:0x4001f050 S:0xbe9944a4] CE - rserverOpen('decode.x64P'): 0x522ac done.
    @0,429,333us: [+0 T:0x4001f050 S:0xbe99448c] OM - Memory_alloc> Enter(0x24)
    @0,429,493us: [+0 T:0x4001f050 S:0xbe99448c] OM - Memory_alloc> return (0x538d0)
    @0,429,725us: [+0 T:0x4001f050 S:0xbe99447c] OC - Comm_create> Enter(queueName='decode_1953_0', queue=0x53650, attrs=0x0)
    @0,429,899us: [+0 T:0x4001f050 S:0xbe994464] OM - Memory_alloc> Enter(0x4)
    @0,430,060us: [+0 T:0x4001f050 S:0xbe994464] OM - Memory_alloc> return (0x538f8)
    @0,431,753us: [+0 T:0x4001f050 S:0xbe99447c] OC - Comm_create> return (0x538f8)
    @0,431,961us: [+0 T:0x4001f050 S:0xbe994484] OM - Memory_free> Enter(0x538d0, 0x24)
    @0,432,183us: [+0 T:0x4001f050 S:0xbe994484] OM - Memory_free> return (0x1)
    @0,432,354us: [+0 T:0x4001f050 S:0xbe994484] OC - Comm_alloc> Enter(poolId=0x0, msg=0x5365c, size=576)
    @0,432,561us: [+0 T:0x4001f050 S:0xbe994484] OC - Comm_alloc> msg=0x4130b900, returning (0)
    @0,432,727us: [+0 T:0x4001f050 S:0xbe99446c] OC - Comm_locate> Enter(queueName='rmsq', queue=0x5364c)
    @0,433,410us: [+0 T:0x40afe490 S:0x40afdd64] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x531d8]
    @0,433,611us: [+0 T:0x40afe490 S:0x40afdd64] OP - getCmd_d> Enter (proc=0x40afddd8)
    @0,434,254us: [+0 T:0x4001f050 S:0xbe99446c] OC - Comm_locate> return (0)
    @0,434,463us: [+0 T:0x4001f050 S:0xbe9944a4] CE - checkServer(0x53640)
    @0,434,694us: [+0 T:0x4001f050 S:0xbe994474] OC - Comm_put> Enter(queue=0x0, msg=0x4130b900)
    @0,434,944us: [+0 T:0x4001f050 S:0xbe994474] OC - Comm_put> return (0)
    @0,435,175us: [+0 T:0x4001f050 S:0xbe99446c] OC - Comm_get> Enter(queue=0x10000, msg=0xbe994510, timeout=-1)
    @0,435,562us: [+0 T:0x4001f050 S:0xbe99446c] OC - Comm_get> MSGQ_get() status=0x8000, return (0)
    @0,435,774us: [+0 T:0x4001f050 S:0xbe9944a4] CE - rmsInit> RMS initialized(0x53640); CE_DEBUG on, setting DSP trace mask to *+01234567,GT_prefix=12345,GT_time=3
    @0,435,957us: [+0 T:0x4001f050 S:0xbe99447c] CE - Engine_setTrace> Enter(engine=0x53640, mask='*+01234567,GT_prefix=12345,GT_time=3')
    @0,436,148us: [+1 T:0x4001f050 S:0xbe99447c] CE - Engine_setTrace> Requesting DSP set trace ...
    @0,436,295us: [+0 T:0x4001f050 S:0xbe99444c] OC - Comm_put> Enter(queue=0x0, msg=0x4130b900)
    @0,436,518us: [+0 T:0x4001f050 S:0xbe99444c] OC - Comm_put> return (0)
    @0,436,688us: [+0 T:0x4001f050 S:0xbe994444] OC - Comm_get> Enter(queue=0x10000, msg=0xbe9944c4, timeout=-1)
    @0,436,991us: [+0 T:0x40afe490 S:0x40afdd44] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x531c0] timeout[0xffffffff]
    @0,439,024us: [+0 T:0x4001f050 S:0xbe994444] OC - Comm_get> MSGQ_get() status=0x8000, return (0)
    @0,439,229us: [+0 T:0x4001f050 S:0xbe99447c] CE - Engine_setTrace> return(0)
    @0,439,405us: [+0 T:0x4001f050 S:0xbe99440c] OC - Comm_put> Enter(queue=0x0, msg=0x4130b900)
    @0,439,670us: [+0 T:0x4001f050 S:0xbe99440c] OC - Comm_put> return (0)
    @0,439,895us: [+0 T:0x4001f050 S:0xbe994404] OC - Comm_get> Enter(queue=0x10000, msg=0xbe9944a4, timeout=-1)
    @0,440,283us: [+0 T:0x4001f050 S:0xbe994404] OC - Comm_get> MSGQ_get() status=0x8000, return (0)
    [DSP] @0x000001b0:[T:0x00000000] codec_unitserver - main> Welcome to CS2DM6467 1.00.00.10 DSP server's main().
    [DSP] @0,023,639tk: [+0 T:0x8680006c S:0x86803fe4] OG - Global_setSpecialTrace> enter(mask='*+01234[DSP] @0,024,155tk: [+4 T:0x8680[DSP] @0,025,249tk: [+4 T:0x8680[DSP] @0,025,879tk: [+4 T:0x8680[DSP] @0,027,008tk: [+4 T:0x8680[DSP] @0,027,688tk: [+4 T:0x8680[DSP] @0,028,681tk: [+4 T:0x8680@0,459,191us: [+0 T:0x4001f050 S@0,461,811us: [+0 T:0x4001f050 S@0,547,592us: [+0 T:0x4001f050 S:0xbe99421c] OC - Comm_get> MSGQ_get() status=0x8000, return (0)
    @0,547,804us: [+0 T:0x4001f050 S:0xbe99421c] OC - Comm_delete> Enter (comm=0x53b20)
    @0,548,509us: [+0 T:0x4001f050 S:0xbe9941fc] OM - Memory_free> Enter(0x53b20, 0x4)
    @0,548,718us: [+0 T:0x4001f050 S:0xbe9941fc] OM - Memory_free> return (0x1)
    @0,548,876us: [+0 T:0x4001f050 S:0xbe99423c] OC - Comm_delete> return
    @0,549,067us: [+0 T:0x4001f050 S:0xbe994224] OM - Memory_free> Enter(0x538d0, 0x20)
    @0,549,228us: [+0 T:0x4001f050 S:0xbe994224] OM - Memory_free> return (0x1)
    @0,549,378us: [+6 T:0x4001f050 S:0xbe994244] CE - Engine_createNode> Remote node creation FAILED (0x80008008).
    @0,549,543us: [+0 T:0x4001f050 S:0xbe9941ac] OC - Comm_put> Enter(queue=0x0, msg=0x4130b900)
    @0,549,774us: [+0 T:0x4001f050 S:0xbe9941ac] OC - Comm_put> return (0)
    @0,550,149us: [+0 T:0x4001f050 S:0xbe9941a4] OC - Comm_get> Enter(queue=0x10000, msg=0xbe994244, timeout=-1)
    @0,550,374us: [+0 T:0x4001f[DSP] @0,083,998tk: [+0 T:0x8680[DSP] @0,279,568tk: [+0 T:0x8680[DSP] @0,280,469tk: [+0 T:0x8680@0,560,208us: [+0 T:0x4001f050 S@0,562,933us: [+0 T:0x4001f050 S@0,566,124us: [+2 T:0x40afe490 S@0,571,619us: [+2 T:0x40afe490 S:0x40afdd4c] OP - Processor_dele@0,574,190us: [+0 T:0x4001f050 S@0,576,989us: [+2 T:0x4001f050 S@0,579,796us: [+0 T:0x4001f050 S@0,582,616us: [+2 T:0x4001f050 S6467 # 

    Thks.

    Philip