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.

Problems with 2.00.00.09 H264 Codec on DM365



Hi to everyone,

I work on dvSDK 2.10.01.18 for DM365.

I was able to successfully encode H264 frames with the H264 Codec that came with the DVSDK (that is, 1.00.00.18.wizardversion.0.5.2). Since this codec version doesn't work with resolutions > 720p, TI Support told me that installing 2.00.00.09 production codec would allow me to get to 1080p resolution on DM365 (is it true? they weren't very clear on this).

By the way, I replaced my old version with 2.00.00.09 (simply moving the old h264enc directory to another one), set the new libraries in my build system and my executable happily compiled and linked.

The problem is that when I set my encodingPreset to XDM_HIGH_SPEED (I think it's platinum mode), the Venc1_create call fails with this trace message:

@1,019,849us: [+7 T:0x4001ee70 S:0xbec2c7a4] ti.sdo.ce.alg.Algorithm - Algorithm_create> Assignment of alg resources through RMAN FAILED (0x8)
@1,020,006us: [+0 T:0x4001ee70 S:0xbec2c78c] ti.sdo.ce.alg.Algorithm - Algorithm_delete> Enter(alg=0x107598)

..while if I set encodingPreset to XDM_DEFAULT (old mode), Venc1_create seems to return ok, but the process segfaults:

@2,123,663us: [+0 T:0x4001ee70] ti.sdo.ce.alg.Algorithm - Algorithm_create> return (0x107590)
@2,125,255us: [+5 T:0x4001ee70] CV - VISA_create> local codec created (name='h264enc', handle=0x107590)
@2,126,698us: [+0 T:0x4001ee70] ti.sdo.ce.video1.VIDENC1 - VIDENC1_create> return (0x107558)
@2,128,292us: [+2 T:0x4001ee70] ti.sdo.dmai - [Venc1] Setting dynParams size 1280x720 bitrate 7000000
@2,129,864us: [+0 T:0x4001ee70] ti.sdo.ce.video1.VIDENC1 - VIDENC1_control> Enter (handle=0x107558, id=1, dynParams=0xbea57a94 (size=0x30), status=0xbea579a0 (size=0x9c)
@2,131,514us: [+5 T:0x4001ee70] CV - VISA_enter(visa=0x107558): algHandle = 0x107590
@2,133,001us: [+0 T:0x4001ee70] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x107590)
@2,134,696us: [+0 T:0x4001ee70] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
Segmentation fault

(This did not happen with the old codec, obviously).
Any hints of what might the problem be?

 

Many thanks and Best Regards,

Cristiano.