Hi,
For a few weeks, i write to forums(both of leopard and ti forums) about playing video, but still
cannot succeed. I use LeopardSDK-840402 with dvsdk_2_00_00_22 and
xdctools_3_10_05_61. Problem is about decoding, not about TI or Leopard boards. So i wrote to this forum too.
I tried below command
CE_DEBUG=2 DMAI_DEBUG=2 gst-launch -v filesrc location=/media/lost.mp4 ! dmaidec_mpeg4 ! TIDmaiVideoSink displayDevice=/dev/video3 displayStd=v4l2 videoStd=480P videoOutput=LCD sync=false
A part of response;
.........................
@2,052,621us: [+5 T:0x40f96490] CV - VISA_exit(visa=0xdb8e0): algHandle = 0x7cab0
@2,052,817us: [+0 T:0x40f96490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate>Enter(alg=0x7cab0)
@2,053,046us: [+0 T:0x40f96490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate>Exit
@2,053,238us: [+0 T:0x40f96490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Exit (handle=0xdb8e0, retVal=0xffffffff)
@2,053,438us: [+2 T:0x40f96490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() ret -1 inId 1 inUse 898840 consumed 0
@2,053,638us: [+7 T:0x40f96490] ti.sdo.dmai - [Vdec2] VIDDEC2_process() failed with error (-1 ext: 0xc800)
@2,055,654us: [+2 T:0x40f96490] ti.sdo.dmai - [Buffer] Set user pointer 0x413e3b67 (physical 0x84ee4b67)
@2,056,216us: [+0 T:0x40f96490] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Enter (handle=0xdb8e0, inBufs=0x40f9522c, outBufs=0x40f95220, inArgs=0x40f95a90, outArgs=0x40f952f0)
..............
Somehow "fxns->process()" in "VIDDEC2_process()" return -1 and error code is 0xc800. What does error code mean? I couldnot find. And why does "fxns->process()" return -1.
"lost.mp4" file was converted to mpeg4 as simple profile, level 2 with ArcSoft MediaConverter 7. Is that right?
So thanks.
Mehmet.