TI中文支持网
TI专业的中文技术问题搜集分享网站

DM6467 VIDENC1_create失败

调用:

venc1Hdl = VIDENC1_create(hdl, "h264enc", (IVIDENC1_Params *) (&venc1Params));

失败,打印信息如下

@22,560,436us: [+0 T:0x4001e320 S:0xbe98c6ac] ti.sdo.ce.video1.VIDENC1 – VIDENC1_create> Enter (engine=0x424e0, name='h264enc', params=0xbe98cc2c)
@22,560,594us: [+0 T:0x4001e320 S:0xbe98c67c] CV – VISA_create(0x424e0, 'h264enc', 0xbe98cc2c, 0x520, 'ti.sdo.ce.video1.IVIDENC1')
@22,560,724us: [+0 T:0x4001e320 S:0xbe98c574] CV – VISA_create2(0x424e0, 'h264enc', 0xbe98cc2c, 0x48, 0x520, 'ti.sdo.ce.video1.IVIDENC1')
@22,560,860us: [+0 T:0x4001e320 S:0xbe98c55c] OM – Memory_alloc> Enter(0x34)
@22,560,978us: [+0 T:0x4001e320 S:0xbe98c55c] OM – Memory_alloc> return (0x42800)
@22,561,089us: [+0 T:0x4001e320 S:0xbe98c55c] OM – Memory_alloc> Enter(0x4)
@22,561,205us: [+0 T:0x4001e320 S:0xbe98c55c] OM – Memory_alloc> return (0x42838)
@22,561,315us: [+0 T:0x4001e320 S:0xbe98c554] OC – Comm_alloc> Enter(poolId=0x0, msg=0x42838, size=520)
@22,561,460us: [+0 T:0x4001e320 S:0xbe98c554] OC – Comm_alloc> msg=0x41192900, returning (0)
@22,561,578us: [+0 T:0x4001e320 S:0xbe98c4fc] CE – Engine_createNode(0x424e0, 'h264enc', 520, 0xbe98cc2c, 0x48, 0xbe98c670)
@22,561,730us: [+0 T:0x4001e320 S:0xbe98c4fc] CE – Engine> allocNode Enter(engine=0x424e0, impId='h264enc')
@22,561,847us: [+0 T:0x4001e320 S:0xbe98c4e4] OM – Memory_alloc> Enter(0x20)
@22,561,963us: [+0 T:0x4001e320 S:0xbe98c4e4] OM – Memory_alloc> return (0x42848)
@22,562,092us: [+0 T:0x4001e320 S:0xbe98c4fc] CE – Engine> allocNode(). Calling (Comm_create(gppfromnode_1059_1, 0x42850, NULL)
@22,562,286us: [+0 T:0x4001e320 S:0xbe98c4d4] OC – Comm_create> Enter(queueName='gppfromnode_1059_1', queue=0x42850, attrs=0x0)
@22,562,422us: [+0 T:0x4001e320 S:0xbe98c4bc] OM – Memory_alloc> Enter(0x4)
@22,562,541us: [+0 T:0x4001e320 S:0xbe98c4bc] OM – Memory_alloc> return (0x42870)
@22,563,067us: [+0 T:0x4001e320 S:0xbe98c4d4] OC – Comm_create> return (0x42870)
@22,563,224us: [+0 T:0x4001e320 S:0xbe98c4dc] OC – Comm_put> Enter(queue=0x0, msg=0x41190900)
@22,563,394us: [+0 T:0x4001e320 S:0xbe98c4dc] OC – Comm_put> return (0)
@22,563,557us: [+0 T:0x4001e320 S:0xbe98c4d4] OC – Comm_get> Enter(queue=0x10000, msg=0xbe98c584, timeout=-1)
@22,563,830us: [+0 T:0x4001e320 S:0xbe98c4d4] OC – Comm_get> MSGQ_get() status=0x8000, return (0)
@22,563,967us: [+0 T:0x4001e320 S:0xbe98c4d4] OC – Comm_delete> Enter (comm=0x42870)
@22,564,246us: [+0 T:0x4001e320 S:0xbe98c4b4] OM – Memory_free> Enter(0x42870, 0x4)
@22,564,395us: [+0 T:0x4001e320 S:0xbe98c4b4] OM – Memory_free> return (0x1)
@22,564,541us: [+0 T:0x4001e320 S:0xbe98c4f4] OC – Comm_delete> return
@22,564,653us: [+0 T:0x4001e320 S:0xbe98c4dc] OM – Memory_free> Enter(0x42848, 0x20)
@22,564,767us: [+0 T:0x4001e320 S:0xbe98c4dc] OM – Memory_free> return (0x1)
@22,564,874us: [+6 T:0x4001e320 S:0xbe98c4fc] CE – Engine_createNode> Remote node creation FAILED (0x80008017).
@22,564,996us: [+0 T:0x4001e320 S:0xbe98c464] OC – Comm_put> Enter(queue=0x0, msg=0x41190900)
@22,565,156us: [+0 T:0x4001e320 S:0xbe98c464] OC – Comm_put> return (0)
@22,565,319us: [+0 T:0x4001e320 S:0xbe98c45c] OC – Comm_get> Enter(queue=0x10000, msg=0xbe98c4fc, timeout=-1)
@22,565,590us: [+0 T:0x4001e320 S:0xbe98c45c] OC – Comm_get> MSGQ_get() status=0x8000, return (0)

求指导

Shine:

请问使用是最新版本的codec和DVSDK吗?

jy chen1:

回复 Shine:

之前那问题在更改server.cfg后重新编译解决了,但是现在出现新的问题

CMEMK Error: get_phys: Unable to find phys addr for 0x40065d5c

CMEMK Error: get_phys: get_user_pages() failed: -14CMEMK Error: GETPHYS: Failed to convert virtual 0x40065d5c to physical.CMEM Error: getPhys: Failed to gCMEMK Error: get_phys: Unable to find phys addr for 0x8008ccbbet physical address of 0x40065d5CMEMK Error: get_phys: get_user_pages() failed: -14cCMEMK Error: GETPHYS: Failed to convert virtual 0x8008ccbb to physical.CMEM Error: getPhys: Failed to get physical address of 0x8008ccbbError (-1), Codec Error (1073908289) in Video Encoder ControlUnable to set encoder dynamic parameters

////////////////////////////////

loadmodules.sh内容如下:

CMEM_MODPARAMS="phys_start=0x87800000 phys_end=0x88000000 pools=80×4096,40×131072,2×1048576"

麻烦帮忙看下

赞(0)
未经允许不得转载:TI中文支持网 » DM6467 VIDENC1_create失败
分享到: 更多 (0)