Hi:
I haven't gotten any output h264 stream after running the "./capture_encode_a8host_debug.xv5T -o sample.h264 -m 1080p -f 30 -b 10000000 -n 100 -d 1 &" command.
I have connect a 1080P@30fps camera with the DM8148EVM using the composite video port of EIO board(I am not sure this is an input port,I haven't got any document related to this).
The output sample.h264 file have no stream data in it and is 0 bytes of size.
There are several problems I am looking for help.
1) Does the EVM support video capture only for 1080p by default?
If it can support other video input formats like 720p, is there any thing need to change manually or the EVM can handle it automatically with a camera of 720p?
2) There are composite video, S-video and component video ports on the EIO board, can all these server as input port?
If these can all server as input ports, how to configure one port as working input port while keep other port idle?
3) Is there any document related to video capture other the "DM814x_AM387x_VPSS_Video_Driver_User_Guide"?
Beow are serial port print of my executing process.
./capture_encode_a8host_debug.xv5T -o sample.h264 -m 1080p -f 30 -b 10000000 -n 100 -d 1 &
root@dm814x-evm:/usr/share/czj# output file: sample.h264
bit_rate: 10000000
frame_rate: 30
num_frames: 100
mode: 1080p
display_id: 1
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: 3110400
set input port params (width = 1920, height = 1080) applying skip mask
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 resolutionenable dei input port
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 0x1302d0 for component OMX.TI.VPSSM3.VFDC
got display handle
found handle 0x133dd8 for component OMX.TI.VPSSM3.CTRL.DC
Buffer Size computed: 1728000
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 eventState changed to: OMX_StateIdle
DEI is in IDLE state
encoder input port use buffer done
encoder outport buffers allocated
got eventState changed to: OMX_StateIdle
Encoder state IDLE
got eventState changed to: OMX_StateIdle
ctrl-dc state IDLE
display buffers allocated
waiting for IDLEgot eventState changed to: OMX_StateIdle
display state IDLE
got eventState changed to: OMX_StateExecuting
display control state execute
got eventState changed to: OMX_StateExecuting
display state execute
got eventState changed to: OMX_StateExecuting
encoder state execute
got eventState changed to: OMX_StateExecuting
dei state execute
got eventState changed to: OMX_StateExecuting
capture state execute