Hi all
i want to encode 1080p30 on DM6467T but fail with dvsdk_3_10_00_19/codec_engine_2_25_05_16. The demo only encode 720p60 h.264 video,So i have to make some change.Now the demo stops at 'Error: Failed to create video encoder: h264enc'.
with CE_DEBUF=3,i get the debug message and find where the error occured:
[DSP] @0,809,893tk: [+0 T:0x8c0bc2a4 S:0x8c0c1004] ti.sdo.ce.video1.VIDENC1 - VIDENC1_control> Enter (handle=0x8fc66da8, id=1, dynParams=0x8ff04934 (size=0x30), status=0x8ff04964 (size=0x9c)
[DSP] @0,810,000tk: [+5 T:0x8c0bc2a4 S:0x8c0c0fe4] CV - VISA_enter(visa=0x8fc66da8): algHandle = 0x8fc66de0
[DSP] @0,810,061tk: [+0 T:0x8c0bc2a4 S:0x8c0c0fc4] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x8fc66de0)
[DSP] @0,810,203tk: [+0 T:0x8c0bc2a4 S:0x8c0c0fc4] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
[DSP] @0,810,267tk: [+5 T:0x8c0bc2a4 S:0x8c0c0fe4] CV - VISA_exit(visa=0x8fc66da8): algHandle = 0x8fc66de0
[DSP] @0,810,327tk: [+0 T:0x8c0bc2a4 S:0x8c0c0fc4] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0x8fc66de0)
[DSP] @0,810,392tk: [+0 T:0x8c0bc2a4 S:0x8c0c0fc4] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit
[DSP] @0,810,448tk: [+0 T:0x8c0bc2a4 S:0x8c0c1004] ti.sdo.ce.video1.VIDENC1 - VIDENC1_control> Exit (handle=0x8fc66da8, retVal=0xffffffff)
it's very clear that it stops in videnc1.c(in dvsdk_3_10_00_19/codec_engine_2_25_05_16/packages/ti/sdo/ce/video1):
VISA_enter((VISA_Handle)handle);
retVal = fxns->control(alg, id, dynParams, status);
VISA_exit((VISA_Handle)handle);
But i can't go in deeper. is that i make mistake with dynParams?or someone else can give me some example/demo with 1080p
btw: i know 'make dmai' can update dmai with my debug_code but don't know how to do the same with code_engine.can anyone tell me?
Thank you veery much
Regards