Hi,各位
我手上有块816X/389X的开发板,芯片是 X8168AX3894ACYG,开发环境为ti-ezsdk_dm816x-evm_5_05_02_00。
我在运行OMX的capture_encode示例程序(未作任何修改)时,出现如下问题:
root@dm816x-evm:/media/net/ti-omx#./capture_encode_a8host_debug.xv5T -o sample.h264 -m 1080i -f 60 -b 5000000 -d 0 -n 1000
output file: sample.h264
bit_rate: 5000000
frame_rate: 60
num_frames: 1000
mode: 1080i
display_id: 0
Capture-Encode example
===============================
OMX_Init completed
UIAClient is ready to send a UIA configuration command
UIAClient received UIA_CONFIGURE_ACK
UIAClient is done sending requests
UIAClient is ready to send a UIA configuration command
UIAClient received UIA_CONFIGURE_ACK
UIAClient is done sending requests
openeing file
capture compoenent is created
control TVP compoenent is created
Buffer Size computed: 2073600
set input port params (width = 1920, height = 1080)enable capture output port
got eventEnable/Disable Event
dei compoenent is created
set input port params (width = 1920, height = 1080)
set output port params (width = 1920, height = 1080)set output port params (width = 1920, height = 1080)set number of channelsset input resolutionset output
got eventEnable/Disable Event
enable dei output port 0
got eventEnable/Disable Event
enable dei output port 1
got eventEnable/Disable Event
encoder compoenent is created
found handle 0x12f4f8 for component OMX.TI.VPSSM3.VFDC
got display handle
found handle 0x133500 for component OMX.TI.VPSSM3.CTRL.DC
Buffer Size computed: 4147200
set input port params (width = 1920, height = 1080)setting input and output memory type to defaultenable input port
got eventEnable/Disable Event
connect call for capture-Dei
connect call for dei- encoder
connect call for dei-display
got eventState changed to: OMX_StateIdle
Capture outport buffers allocated
got eventState changed to: OMX_StateIdle
Capture is in IDLE state
Dei input port use buffer done
DEI outport buffers allocated
got event*** unrecoverable error: OMX_ErrorInsufficientResources (0x80001000)
Press a key to proceed
手册上说这个程序支持1080p,1080i和720p的,为何出现上述错误呢?
有没有遇到和我一样情况的,求助
Louis:
你好,
请查看一下release note看是否有说明支持1080i采集,之前的版本是不支持1080i这种模式的。