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.

capture_encode application problem using V4l2 in Dm816x EVM

Hi
In DM8168 EVM we tried to load and run the capture_encode sample application loading the V4l2 firmware ( Available in EZSDK ).
using the following steps ( EZSDK Version is v5.04.00.11 )

We are Using EVM Boad:  Rev-E  , Daughter card : Rev-C.

1. Loaded the vpss driver application & Kernel modules using the script "usr/share/ti/ti-media-controller-utils/load-hd-v4l2-firmware.sh"
2. Executed the capture_encode application

It give the follwing error while running the application.

root@dm816x-evm:/usr/share/ti/ti-omx# ./capture_encode_a8host_debug.xv5T -o sample.h264 -m 1080p -f 60 -b 1000000 -d 0 -n 1000
output file: sample.h264
bit_rate: 1000000
frame_rate: 60
num_frames: 1000
mode: 1080p
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: 3110400
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 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 0x120708 for component OMX.TI.VPSSM3.VFDC
 got display handle
found handle 0x124210 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 event*** unrecoverable error: OMX_ErrorUndefined (0x80001001)
Press a key to proceed

Can any one tell us what is the cause of this issue? Thanks in advance.

  • You have to use the non-V4L2 media controller firmware. You have a choice of using the V4L2 software with the V4L2 binary, or using the OpenMAX encoding software (as the capture_encode demo uses) with the OpenMAX media controller firmware.

    You are trying to mix the two APIs which won't work.

    Ralph