请教:avserver在运行到VINDENC1_process时返回-1,我打印outArgs.extendedError,得到0x8007,请问此错误代码是什么意义?应该看那些资料解决此问题?
谢谢!
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.
请教:avserver在运行到VINDENC1_process时返回-1,我打印outArgs.extendedError,得到0x8007,请问此错误代码是什么意义?应该看那些资料解决此问题?
谢谢!
输入信号是YUV420 ,分辨率是736*576,我用YUVtool看输入的流生成的文件是正常的。且我用demo: ./video_encode_io1_dm368.x470MV -c h264enc -i VD_0001.YUV -o test.264 -r 736x576 -n 58
是可生成264文件的。也就是说源是没有问题的。差别在于我的代码是使用的mcvip和capture的buf而没有用OSA_cmemAlloc分配新的buffer从文件读取而已。
概括来说我capture到视频数据后用resizer把422的数据转换成420的然后交给codecengine去encoder,我觉得这样可以实现的,现在只能怀疑这些buf是不是在codecengine做虚拟转物理的时候失败了导致DSP拿不到数据。。。
下面是proces在执行时打印的一些信息:
@15,667,107us: [+0 T:0x4180c320] ti.sdo.ce.video1.VIDENC1 - VIDENC1_process> Enter (handle=0x2e6150, inBufs=0x4180ba0c, outBufs=0x4180bb70, inArgs=0x4180bb64, outArgs=0x4180badc)
@15,667,385us: [+5 T:0x4180c320] CV - VISA_entvpfe_vdint1_isr,894
er(visa=0x2e6150): algHandle = 0x2e6188
@15,667,526us: [+0 T:0x4180c320] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x2e6188)
@15,667,779us: [+0 T:0x4180c320] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
@15,667,989us: [+5 T:0x4180c320] CV - VISA_exit(visa=0x2e6150): algHandle = 0x2e6188
@15,668,153us: [+0 T:0x4180c320] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0x2e6188)
@15,668,362us: [+0vpfe_vdint1_isr,894
T:0x4180c320] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit
@15,668,495us: [+0 T:0x4180c320] ti.sdo.ce.video1.VIDENC1 - VIDENC1_process> Exit (handle=0x2e6150, retVal=0xffffffff)
请帮忙分析,谢谢!!!