I have copied and modified the OMX capture_encode example to only capture and display continuously (no encode).
If I configure the capture with -f 60 after a short and random period of time the capture/display stops.
The DM8148 locks up and a system reset is necessary.
If I configure the capture for with -f 30 the lock up will take much longer but will still occur.
Has anyone seen this problem?
Regards,
John
-----------------------------------------------------------------
OMX Version: omx_05_02_00_48
Video Input: 16bit YUV422 -> VIN0 port
Display : 480x272 LCD
root@DVM8148:~/tools/tests# ./dvm_capture_display_a8host_debug.xv5T -m 1080i -f 60 -d 1
frame_rate: 60
mode: 1080i
display_id: 1
Capture-Display 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
capture component is created
Buffer Size computed: 2073600
set input port params (width = 1920, height = 1080)enable capture output port
got eventEnable/Disable Event
dei component 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
found handle 0x12c850 for component OMX.TI.VPSSM3.VFDC
got display handle
found handle 0x130858 for component OMX.TI.VPSSM3.CTRL.DC
Buffer Size computed: 1036800
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-display
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
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
dei state execute
got eventState changed to: OMX_StateExecuting
capture state execute
Clent exit thread created
dei connect thread created
capture connect thread created
display connect thread created
executing the application now!!
got event*** unrecoverable error: OMX_ErrorBadParameter (0x80001005)
Press a key to proceed
got event*** unrecoverable error: OMX_ErrorBadParameter (0x80001005)
Press a key to proceed
got event*** unrecoverable error: OMX_ErrorBadParameter (0x80001005)
Press a key to proceed
N:VPSS P:2 #:45558 T:000000ba63e0aabb M:xdc.runtime.Main S:VIP-0 PORT-A Dropped Frame Count :43240 Total Capture Frame Count 67218
N:VPSS P:2 #:45559 T:000000ba70dae21d M:xdc.runtime.Main S:VIP-0 PORT-A Dropped Frame Count :43241 Total Capture Frame Count 67250
N:VPSS P:2 #:45560 T:000000bbb7cc7d33 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFPC.DEIMDUALOUT> Entering<_OMX_BASE_DIO_GroupGetMemberHandles> @line<898>
N:VPSS P:2 #:45561 T:000000bbb7cd4a41 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFPC.DEIMDUALOUT> Leaving<_OMX_BASE_DIO_GroupGetMemberHandles> @line<918> with error<0:ErrorNone>
N:VPSS P:2 #:45562 T:000000bbb7cdd85d M:xdc.runtime.Main S: OMX Error in OMX_BASE_DIO_GroupGetCount :: line 1027
N:VPSS P:2 #:45563 T:000000bbb7ce4413 M:xdc.runtime.Main S: OMX Error in _omx_get_iobuf_cnt :: line 2051
N:VPSS P:2 #:45564 T:000000bbb7cea729 M:xdc.runtime.Main S: OMX Error in _omx_get_ready_process_channel_list :: line 3042
N:VPSS P:2 #:45565 T:000000bbb7cf1595 M:xdc.runtime.Main S: OMX Error in OMX_TI_VFPC_DataNotify :: line 1509
N:VPSS P:2 #:45566 T:000000bbeeb459c7 M:xdc.runtime.Main S:VIP-0 PORT-A Dropped Frame Count :43242 Total Capture Frame Count 68209
N:VPSS P:2 #:45567 T:000000bd8d2ce055 M:xdc.runtime.Main S:VIP-0 PORT-A Dropped Frame Count :43243 Total Capture Frame Count 69250
N:VPSS P:2 #:45568 T:000000bed6e60071 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFPC.DEIMDUALOUT> Entering<_OMX_BASE_DIO_GroupGetMemberHandles> @line<898>
N:VPSS P:2 #:45569 T:000000bed6e6c3e9 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFPC.DEIMDUALOUT> Leaving<_OMX_BASE_DIO_GroupGetMemberHandles> @line<918> with error<0:ErrorNone>
N:VPSS P:2 #:45570 T:000000bed6e758ad M:xdc.runtime.Main S: OMX Error in OMX_BASE_DIO_GroupGetCount :: line 1027
N:VPSS P:2 #:45571 T:000000bed6e7c011 M:xdc.runtime.Main S: OMX Error in _omx_get_iobuf_cnt :: line 2051
N:VPSS P:2 #:45572 T:000000bed6e823bb M:xdc.runtime.Main S: OMX Error in _omx_get_ready_process_channel_list :: line 3042
N:VPSS P:2 #:45573 T:000000bed6e89487 M:xdc.runtime.Main S: OMX Error in OMX_TI_VFPC_DataNotify :: line 1509
N:VPSS P:2 #:45574 T:000000bf18f27947 M:xdc.runtime.Main S:VIP-0 PORT-A Dropped Frame Count :43244 Total Capture Frame Count 70244
N:VPSS P:2 #:45575 T:000000c23572d3c3 M:xdc.runtime.Main S:VIP-0 PORT-A Dropped Frame Count :43245 Total Capture Frame Count 72245
N:VPSS P:2 #:45576 T:000000c662d3aefd M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFPC.DEIMDUALOUT> Entering<_OMX_BASE_DIO_GroupGetMemberHandles> @line<898>
N:VPSS P:2 #:45577 T:000000c662d47553 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFPC.DEIMDUALOUT> Leaving<_OMX_BASE_DIO_GroupGetMemberHandles> @line<918> with error<0:ErrorNone>
N:VPSS P:2 #:45578 T:000000c662d50635 M:xdc.runtime.Main S: OMX Error in OMX_BASE_DIO_GroupGetCount :: line 1027
N:VPSS P:2 #:45579 T:000000c662d57309 M:xdc.runtime.Main S: OMX Error in _omx_get_iobuf_cnt :: line 2051
N:VPSS P:2 #:45580 T:000000c662d5d759 M:xdc.runtime.Main S: OMX Error in _omx_get_ready_process_channel_list :: line 3042
N:VPSS P:2 #:45581 T:000000c662d64939 M:xdc.runtime.Main S: OMX Error in OMX_TI_VFPC_DataNotify :: line 1509
N:VPSS P:2 #:45582 T:000000c6dd8aa0cf M:xdc.runtime.Main S:VIP-0 PORT-A Dropped Frame Count :43246 Total Capture Frame Count 75241
N:VPSS P:2 #:45583 T:000000cfca616c15 M:xdc.runtime.Main S:VIP-0 PORT-A Dropped Frame Count :43247 Total Capture Frame Count 80984
N:VPSS P:2 #:45584 T:000000d15626d91b M:xdc.runtime.Main S:VIP-0 PORT-A Dropped Frame Count :43248 Total Capture Frame Count 81978
N:VPSS P:2 #:45585 T:000000d78caae2d3 M:xdc.runtime.Main S:VIP-0 PORT-A Dropped Frame Count :43249 Total Capture Frame Count 85976
N:VPSS P:2 #:45586 T:000000d884a2c61f M:xdc.runtime.Main S:VIP-0 PORT-A Dropped Frame Count :43250 Total Capture Frame Count 86598
N:VPSS P:2 #:45587 T:000000d919657389 M:xdc.runtime.Main S:VIP-0 PORT-A Dropped Frame Count :43251 Total Capture Frame Count 86971