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.

mpeg4 decode display on 8168Evm with omtb

Hi

i m trying to decode mpeg4 file and display as like the sample given in scripts for h264 but I am getting the error I am attaching my script file and also the terminal dump can you help me.I have converted the same h.264 file to mp4 file and it is being displayed in my local pc media player

script

omx api init
omx setp 0 vdec ip_compression_format mpeg4
omx setp 0 vdec frame_width 1920
omx setp 0 vdec frame_height 1080
omx setp 0 vdec inbuf allocate
omx setp 0 vdec outbuf allocate
omx setp 0 vdec inbufsize_flag enable
omx setp 0 vdec outbufsize_flag enable
omx setp 0 vdec inbufsize 2088960
omx setp 0 vdec outbufsize 3612672
omx setp 0 vdec infile /home/nimfor.mp4
omx setp 0 vdec data_opmode driver
omx setp 0 vdec numinbuf 6
omx setp 0 vdec numoutbuf 8
omx setp 0 vdec framerate 60
omx setp 0 sc frame_width 1920
omx setp 0 sc frame_height 1080
omx setp 0 sc op_chromat_format 422YUYV
omx setp 0 sc ip_chromat_format 420SP
omx setp 0 sc numinbuf 8
omx setp 0 sc inbufalign 0
omx setp 0 sc inbuf_contig disable
omx setp 0 sc inbufsize_flag enable
omx setp 0 sc inbufsize 3612672
omx setp 0 sc numoutbuf 8
omx setp 0 sc outbufalign 0
omx setp 0 sc outbuf_contig disable
omx setp 0 sc outbufsize_flag enable
omx setp 0 sc outbufsize 4147200
omx setp 0 sc data_opmode driver
omx setp 0 sc inbuf use
omx setp 0 vfdc frame_width 1920
omx setp 0 vfdc frame_height 1080
omx setp 0 vfdc ip_chromat_format 422YUYV
omx setp 0 vfdc numinbuf 8
omx setp 0 vfdc inbufalign 0
omx setp 0 vfdc inbuf_contig disable
omx setp 0 vfdc inbufsize 4147200
omx setp 0 vfdc inbuf use
omx setp 0 vfdc graphics_flag disable
#omx setp 0 vfdc vcdemo_flag enable
omx setp 0 vfdc mosaic_window_config vs
omx setp 0 dc insmod_hdmi disable
omx api gethandle vdec 0 0
omx api gethandle sc 0 0
omx api gethandle vfdc 0 0
omx api gethandle dc 0 0
omx api getparam sc 0 0 0 OMX_IndexParamPortDefinition
omx setp 0 sc OMX_IndexParamPortDefinition video.nStride 2048
omx api setparam sc 0 0 0 OMX_IndexParamPortDefinition
omx api getparam vfdc 0 0 0 OMX_IndexParamPortDefinition
omx setp 0 vfdc OMX_IndexParamPortDefinition video.nStride 3840
omx api setparam vfdc 0 0 0 OMX_IndexParamPortDefinition
omx setp 0 vfdc OMX_TI_IndexParamVFDCDriverInstId nDrvInstID 0
omx setp 0 vfdc OMX_TI_IndexParamVFDCDriverInstId eDispVencMode 1080p60
omx api setparam vfdc 0 0 0 OMX_TI_IndexParamVFDCDriverInstId
omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout winStartX 0
omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout winStartY 0
omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout winWidth 1920
omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout winHeight 1080
omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout pitch.VFDC_YUV_INT_ADDR_IDX 3840
omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout pitch.VFDC_YUV_SP_Y_ADDR_IDX 3840
omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout pitch.VFDC_YUV_SP_CBCR_ADDR_IDX 3840
omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout dataFormat 422I_YUYV
omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout bpp bits16
omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout priority 0
omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout nLayoutId 0
omx setp 0 vfdc mosaicNumRows 1
omx setp 0 vfdc mosaicNumCols 1
omx setp 0 vfdc mosaicDispWindowWidth 1920
omx setp 0 vfdc mosaicDispWindowHeight 1080
omx api setparam vfdc 0 0 0 OMX_TI_IndexParamVFDCCreateMosaicLayout
omx setp 0 vfdc OMX_TI_IndexConfigVFDCMosaicPort2WinMap nLayoutId 0
omx api setconfig vfdc 0 0 0 OMX_TI_IndexConfigVFDCMosaicPort2WinMap 1 0
omx setp 0 vfdc OMX_TI_IndexParamBuffMemType eBufMemoryType default
omx setp 0 vfdc OMX_IndexParamCompBufferSupplier eBufferSupplier unspecified
omx setp 0 vfdc OMX_IndexParamVideoInit nPorts 1
omx setp 0 vfdc OMX_IndexParamVideoInit nStartPortNumber 0
#************************************************************
#SET ALL THE PARAMS FOR DC#0
omx setp 0 dc OMX_TI_IndexParamVFDCDriverInstId nDrvInstID 0
omx setp 0 dc OMX_TI_IndexParamVFDCDriverInstId eDispVencMode 1080p60
omx api setparam dc 0 0 0 OMX_TI_IndexParamVFDCDriverInstId
omx setp 0 sc OMX_TI_IndexParamVFPCNumChPerHandle nNumChannelsPerHandle 1
omx api setparam sc 0 0 0 OMX_TI_IndexParamVFPCNumChPerHandle
omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm0Width 1920
omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm0Height 1080
omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm0Pitch 2048
omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm1Width 0
omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm1Height 0
omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm1Pitch 0
omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmStartX 0
omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmStartY 0
omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmCropWidth 0
omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmCropHeight 0
omx setp 0 sc OMX_TI_IndexConfigVidChResolution eDir input
omx setp 0 sc OMX_TI_IndexConfigVidChResolution nChId 0
omx api setconfig sc 0 0 0 OMX_TI_IndexConfigVidChResolution
omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm0Width 1920
omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm0Height 1080
omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm0Pitch 3840
omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm1Width 0
omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm1Height 0
omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm1Pitch 0
omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmStartX 0
omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmStartY 0
omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmCropWidth 0
omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmCropHeight 0
omx setp 0 sc OMX_TI_IndexConfigVidChResolution eDir output
omx setp 0 sc OMX_TI_IndexConfigVidChResolution nChId 0
omx api setconfig sc 0 0 16 OMX_TI_IndexConfigVidChResolution
omx setp 0 sc OMX_TI_IndexParamBuffMemType eBufMemoryType default
omx api setparam sc 0 0 0 OMX_TI_IndexParamBuffMemType
omx setp 0 sc OMX_TI_IndexParamBuffMemType eBufMemoryType default
omx api setparam sc 0 0 16 OMX_TI_IndexParamBuffMemType
omx setp 0 sc OMX_TI_IndexConfigAlgEnable bAlgBypass disable
omx setp 0 sc OMX_TI_IndexConfigAlgEnable nChId 0
omx api setconfig sc 0 0 0 OMX_TI_IndexConfigAlgEnable
omx api sendcommand port sc 0 enable 0
omx api sendcommand port sc 0 waitforsem 0
omx api sendcommand port sc 0 enable 16
omx api sendcommand port sc 0 waitforsem 16
omx api sendcommand port vdec 0 enable 0
omx api sendcommand port vdec 0 waitforsem 0
omx api sendcommand port vfdc 0 enable 0
omx api sendcommand port vfdc 0 waitforsem 0
omx api sendcommand port vdec 0 enable 1
omx api sendcommand port vdec 0 waitforsem 1
omx api connect vdec 0 1 sc 0 0
omx api connect sc 0 16 vfdc 0 0
omx api sendcommand state vdec 0 idle
omx api sendcommand state vdec 0 waitforsem
omx api sendcommand state sc 0 idle
omx api sendcommand state sc 0 waitforsem
omx api sendcommand state dc 0 idle
omx api sendcommand state dc 0 waitforsem
omx api sendcommand state vfdc 0 idle
omx api sendcommand state vfdc 0 waitforsem
omx api sendcommand state dc 0 exec
omx api sendcommand state dc 0 waitforsem
omx api sendcommand state vfdc 0 exec
omx api sendcommand state vfdc 0 waitforsem
omx api sendcommand state sc 0 exec
omx api sendcommand state sc 0 waitforsem
omx api sendcommand state vdec 0 exec
omx api sendcommand state vdec 0 waitforsem
sleep 60000
omx api sendcommand state vdec 0 idle
omx api sendcommand state vdec 0 waitforsem
omx api sendcommand state sc 0 idle
omx api sendcommand state sc 0 waitforsem
omx api sendcommand state dc 0 idle
omx api sendcommand state dc 0 waitforsem
omx api sendcommand state vfdc 0 idle
omx api sendcommand state vfdc 0 waitforsem
omx api sendcommand state vdec 0 loaded
omx api sendcommand state vdec 0 waitforsem
omx api sendcommand state sc 0 loaded
omx api sendcommand state sc 0 waitforsem
omx api sendcommand state dc 0 loaded
omx api sendcommand state dc 0 waitforsem
omx api sendcommand state vfdc 0 loaded
omx api sendcommand state vfdc 0 waitforsem
omx api freehandle vdec 0
omx api freehandle sc 0
omx api freehandle vfdc 0
omx api freehandle dc 0
omx api uninit


dump of terminal

omx api init
omx setp 0 vdec ip_compression_format mpeg4
omx setp 0 vdec frame_width 1920
omx setp 0 vdec frame_height 1080
omx setp 0 vdec inbuf allocate
omx setp 0 vdec outbuf allocate
omx setp 0 vdec inbufsize_flag enable
omx setp 0 vdec outbufsize_flag enable
omx setp 0 vdec inbufsize 2088960
omx setp 0 vdec outbufsize 3612672
omx setp 0 vdec infile /home/nimfor.mp4
omx setp 0 vdec data_opmode driver
omx setp 0 vdec numinbuf 6
omx setp 0 vdec numoutbuf 8
omx setp 0 vdec framerate 60
omx setp 0 sc frame_width 1920
omx setp 0 sc frame_height 1080
omx setp 0 sc op_chromat_format 422YUYV
omx setp 0 sc ip_chromat_format 420SP
omx setp 0 sc numinbuf 8
omx setp 0 sc inbufalign 0
omx setp 0 sc inbuf_contig disable
omx setp 0 sc inbufsize_flag enable
root@dm816x-evm:/usr/share/ti/ti-omtb# ./omtb_dm81xxbm_a8host.xv5T nim.oms

OMTB> omx api init
OMTB-OMX_ErrorNone
OK

OMTB> omx setp 0 vdec ip_compression_format mpeg4
OK

OMTB> omx setp 0 vdec frame_width 1920
OK

OMTB> omx setp 0 vdec frame_height 1080
OK

OMTB> omx setp 0 vdec inbuf allocate
OK

OMTB> omx setp 0 vdec outbuf allocate
OK

OMTB> omx setp 0 vdec inbufsize_flag enable
OK

OMTB> omx setp 0 vdec outbufsize_flag enable
OK

OMTB> omx setp 0 vdec inbufsize 2088960
OK

OMTB> omx setp 0 vdec outbufsize 3612672
OK

OMTB> omx setp 0 vdec infile /home/nimfor.mp4
OK

OMTB> omx setp 0 vdec data_opmode driver
OK

OMTB> omx setp 0 vdec numinbuf 6
OK

OMTB> omx setp 0 vdec numoutbuf 8
OK

OMTB> omx setp 0 vdec framerate 60
OK

OMTB> omx setp 0 sc frame_width 1920
OK

OMTB> omx setp 0 sc frame_height 1080
OK

OMTB> omx setp 0 sc op_chromat_format 422YUYV
OK

OMTB> omx setp 0 sc ip_chromat_format 420SP
OK

OMTB> omx setp 0 sc numinbuf 8
OK

OMTB> omx setp 0 sc inbufalign 0
OK

OMTB> omx setp 0 sc inbuf_contig disable
OK

OMTB> omx setp 0 sc inbufsize_flag enable
OK

OMTB> omx setp 0 sc inbufsize 3612672
OK

OMTB> omx setp 0 sc numoutbuf 8
OK

OMTB> omx setp 0 sc outbufalign 0
OK

OMTB> omx setp 0 sc outbuf_contig disable
OK

OMTB> omx setp 0 sc outbufsize_flag enable
OK

OMTB> omx setp 0 sc outbufsize 4147200
OK

OMTB> omx setp 0 sc data_opmode driver
OK

OMTB> omx setp 0 sc inbuf use
OK

OMTB> omx setp 0 vfdc frame_width 1920
OK

OMTB> omx setp 0 vfdc frame_height 1080
OK

OMTB> omx setp 0 vfdc ip_chromat_format 422YUYV
OK

OMTB> omx setp 0 vfdc numinbuf 8
OK

OMTB> omx setp 0 vfdc inbufalign 0
OK

OMTB> omx setp 0 vfdc inbuf_contig disable
OK

OMTB> omx setp 0 vfdc inbufsize 4147200
OK

OMTB> omx setp 0 vfdc inbuf use
OK

OMTB> omx setp 0 vfdc graphics_flag disable
OK

OMTB> #omx setp 0 vfdc vcdemo_flag enable

OMTB> omx setp 0 vfdc mosaic_window_config vs
OK

OMTB> omx setp 0 dc insmod_hdmi disable
omx setp <template #> dc compname <omx_comp_name>
omx setp <template #> dc OMX_TI_IndexParamVFDCDriverInstId <params>
omx setp <template #> dc OMX_TI_IndexParamVFDCCustomModeInfo <params>

OMTB> omx api gethandle vdec 0 0


OMTB-vdec Instance #: 0

OK

OMTB> omx api gethandle sc 0 0


OMTB-sc Instance #: 0

OK

OMTB> omx api gethandle vfdc 0 0


OMTB-vfdc Instance #: 0

OK

OMTB> omx api gethandle dc 0 0


OMTB-dc Instance #: 0

OK

OMTB> omx api getparam sc 0 0 0 OMX_IndexParamPortDefinition

OMX_IndexParamPortDefinition:
nSize..................96
nVersion...............131329
nPortIndex.............0
eDir...................0
nBufferCountActual.....8
nBufferCountMin........1
nBufferSize............3612672
bEnabled...............0
bPopulated.............0
eDomain................1
bBuffersContiguous.....0
nBufferAlignment.......128
OMTB-OMX_ErrorNone
OK

OMTB> omx setp 0 sc OMX_IndexParamPortDefinition video.nStride 2048
OK

OMTB> omx api setparam sc 0 0 0 OMX_IndexParamPortDefinition
OMTB-OMX_ErrorNone
OK

OMTB> omx api getparam vfdc 0 0 0 OMX_IndexParamPortDefinition

OMX_IndexParamPortDefinition:
nSize..................96
nVersion...............131329
nPortIndex.............0
eDir...................0
nBufferCountActual.....8
nBufferCountMin........0
nBufferSize............4147488
bEnabled...............0
bPopulated.............0
eDomain................1
bBuffersContiguous.....0
nBufferAlignment.......128
OMTB-OMX_ErrorNone
OK

OMTB> omx setp 0 vfdc OMX_IndexParamPortDefinition video.nStride 3840
OK

OMTB> omx api setparam vfdc 0 0 0 OMX_IndexParamPortDefinition
OMTB-OMX_ErrorNone
OK

OMTB> omx setp 0 vfdc OMX_TI_IndexParamVFDCDriverInstId nDrvInstID 0
OK

OMTB> omx setp 0 vfdc OMX_TI_IndexParamVFDCDriverInstId eDispVencMode 1080p60
OK

OMTB> omx api setparam vfdc 0 0 0 OMX_TI_IndexParamVFDCDriverInstId
OMTB-OMX_ErrorNone
OK

OMTB> omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout winStartX 0
OK

OMTB> omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout winStartY 0
OK

OMTB> omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout winWidth 1920
OK

OMTB> omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout winHeight 1080
OK

OMTB> omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout pitch.VFDC_YUV_IN0
OK

OMTB> omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout pitch.VFDC_YUV_SP0
OK

OMTB> omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout pitch.VFDC_YUV_SP0
OK

OMTB> omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout dataFormat 422I_YV
OK

OMTB> omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout bpp bits16
OK

OMTB> omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout priority 0
OK

OMTB> omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout nLayoutId 0
OK

OMTB> omx setp 0 vfdc mosaicNumRows 1
OK

OMTB> omx setp 0 vfdc mosaicNumCols 1
OK

OMTB> omx setp 0 vfdc mosaicDispWindowWidth 1920
OK

OMTB> omx setp 0 vfdc mosaicDispWindowHeight 1080
OK

OMTB> omx api setparam vfdc 0 0 0 OMX_TI_IndexParamVFDCCreateMosaicLayout
OMTB-OMX_ErrorNone
OK

OMTB> omx setp 0 vfdc OMX_TI_IndexConfigVFDCMosaicPort2WinMap nLayoutId 0
OK

OMTB> omx api setconfig vfdc 0 0 0 OMX_TI_IndexConfigVFDCMosaicPort2WinMap 1 0
OMTB-OMX_ErrorNone
OK

OMTB> omx setp 0 vfdc OMX_TI_IndexParamBuffMemType eBufMemoryType default
OK

OMTB> omx setp 0 vfdc OMX_IndexParamCompBufferSupplier eBufferSupplier unspecifd
OK

OMTB> omx setp 0 vfdc OMX_IndexParamVideoInit nPorts 1
OK

OMTB> omx setp 0 vfdc OMX_IndexParamVideoInit nStartPortNumber 0
OK

OMTB> #************************************************************

OMTB> #SET ALL THE PARAMS FOR DC#0

OMTB> omx setp 0 dc OMX_TI_IndexParamVFDCDriverInstId nDrvInstID 0
OK

OMTB> omx setp 0 dc OMX_TI_IndexParamVFDCDriverInstId eDispVencMode 1080p60
OK

OMTB> omx api setparam dc 0 0 0 OMX_TI_IndexParamVFDCDriverInstId
OMTB-OMX_ErrorNone
OK

OMTB> omx setp 0 sc OMX_TI_IndexParamVFPCNumChPerHandle nNumChannelsPerHandle 1
OK

OMTB> omx api setparam sc 0 0 0 OMX_TI_IndexParamVFPCNumChPerHandle
OMTB-OMX_ErrorNone
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm0Width 1920
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm0Height 1080
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm0Pitch 2048
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm1Width 0
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm1Height 0
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm1Pitch 0
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmStartX 0
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmStartY 0
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmCropWidth 0
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmCropHeight 0
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution eDir input
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution nChId 0
OK

OMTB> omx api setconfig sc 0 0 0 OMX_TI_IndexConfigVidChResolution
OMTB-OMX_ErrorNone
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm0Width 1920
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm0Height 1080
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm0Pitch 3840
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm1Width 0
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm1Height 0
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm1Pitch 0
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmStartX 0
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmStartY 0
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmCropWidth 0
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmCropHeight 0
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution eDir output
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigVidChResolution nChId 0
OK

OMTB> omx api setconfig sc 0 0 16 OMX_TI_IndexConfigVidChResolution
OMTB-OMX_ErrorNone
OK

OMTB> omx setp 0 sc OMX_TI_IndexParamBuffMemType eBufMemoryType default
OK

OMTB> omx api setparam sc 0 0 0 OMX_TI_IndexParamBuffMemType
OMTB-OMX_ErrorNone
OK

OMTB> omx setp 0 sc OMX_TI_IndexParamBuffMemType eBufMemoryType default
OK

OMTB> omx api setparam sc 0 0 16 OMX_TI_IndexParamBuffMemType
OMTB-OMX_ErrorNone
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigAlgEnable bAlgBypass disable
OK

OMTB> omx setp 0 sc OMX_TI_IndexConfigAlgEnable nChId 0
OK

OMTB> omx api setconfig sc 0 0 0 OMX_TI_IndexConfigAlgEnable
OMTB-OMX_ErrorNone
OK

OMTB> omx api sendcommand port sc 0 enable 0
OMTB-OMX_ErrorNone
OK

OMTB> omx api sendcommand port sc 0 waitforsem 0
OMTB-In OMTB_ClientEventHandler: OMX_CommandPortEnable on 0 port
OMTB-OMTB_OmxSendCommandPort: Obtained port enable/disable command completion e
OMTB-OMX_ErrorNone
OK

OMTB> omx api sendcommand port sc 0 enable 16
OMTB-OMX_ErrorNone
OK

OMTB> omx api sendcommand port sc 0 waitforsem 16
OMTB-In OMTB_ClientEventHandler: OMX_CommandPortEnable on 16 port
OMTB-OMTB_OmxSendCommandPort: Obtained port enable/disable command completion e
OMTB-OMX_ErrorNone
OK

OMTB> omx api sendcommand port vdec 0 enable 0
OMTB-OMX_ErrorNone
OK

OMTB> omx api sendcommand port vdec 0 waitforsem 0
OMTB-In OMTB_ClientEventHandler: OMX_CommandPortEnable on 0 port
OMTB-OMTB_OmxSendCommandPort: Obtained port enable/disable command completion e
OMTB-OMX_ErrorNone
OK

OMTB> omx api sendcommand port vfdc 0 enable 0
OMTB-OMX_ErrorNone
OK

OMTB> omx api sendcommand port vfdc 0 waitforsem 0
OMTB-In OMTB_ClientEventHandler: OMX_CommandPortEnable on 0 port
OMTB-OMTB_OmxSendCommandPort: Obtained port enable/disable command completion e
OMTB-OMX_ErrorNone
OK

OMTB> omx api sendcommand port vdec 0 enable 1
OMTB-OMX_ErrorNone
OK

OMTB> omx api sendcommand port vdec 0 waitforsem 1
OMTB-In OMTB_ClientEventHandler: OMX_CommandPortEnable on 1 port
OMTB-OMTB_OmxSendCommandPort: Obtained port enable/disable command completion e
OMTB-OMX_ErrorNone
OK

OMTB> omx api connect vdec 0 1 sc 0 0
OMTB-OMX_ErrorNone
OK

OMTB> omx api connect sc 0 16 vfdc 0 0
OMTB-OMX_ErrorNone
OK

OMTB> omx api sendcommand state vdec 0 idle
OMTB-OMX_ErrorNone
OK

OMTB> omx api sendcommand state vdec 0 waitforsem
OMTB-In OMTB_ClientEventHandler: OMX_EventCmdComplete - OMX_CommandStateSet
OMTB-OMX_StateIdle
OK

OMTB> omx api sendcommand state sc 0 idle
OMTB-OMX_ErrorNone
OK

OMTB> omx api sendcommand state sc 0 waitforsem
OMTB-In OMTB_ClientEventHandler: OMX_EventCmdComplete - OMX_CommandStateSet
OMTB-OMX_StateIdle
OK

OMTB> omx api sendcommand state dc 0 idle
OMTB-OMX_ErrorNone
OK

OMTB> omx api sendcommand state dc 0 waitforsem
OMTB-In OMTB_ClientEventHandler: OMX_EventCmdComplete - OMX_CommandStateSet
OMTB-OMX_StateIdle
OK

OMTB> omx api sendcommand state vfdc 0 idle
OMTB-OMX_ErrorNone
OK

OMTB> omx api sendcommand state vfdc 0 waitforsem
OMTB-In OMTB_ClientEventHandler: OMX_EventCmdComplete - OMX_CommandStateSet
OMTB-OMX_StateIdle
OK

OMTB> omx api sendcommand state dc 0 exec
OMTB-OMX_ErrorNone
OK

OMTB> omx api sendcommand state dc 0 waitforsem
OMTB-In OMTB_ClientEventHandler: OMX_EventCmdComplete - OMX_CommandStateSet
OMTB-OMX_StateExecuting
OK

OMTB> omx api sendcommand state vfdc 0 exec
OMTB-OMX_ErrorNone
OK

OMTB> omx api sendcommand state vfdc 0 waitforsem
OMTB-In OMTB_ClientEventHandler: OMX_EventCmdComplete - OMX_CommandStateSet
OMTB-OMX_StateExecuting
OMTB-Create OMTB_ClientApiTsk
OK

OMTB> omx api sendcommand state sc 0 exec
OMTB-Entering <Thread , instance #> : <OMTB_ClientApiTsk , 0>
OMTB-Entering <Thread , instance #> : <OMTB_Client_ConnIn_ConnOut_Tsk>
OMTB-OMX_ErrorNone
OK

OMTB> omx api sendcommand state sc 0 waitforsem
OMTB-In OMTB_ClientEventHandler: OMX_EventCmdComplete - OMX_CommandStateSet
OMTB-OMX_StateExecuting
OMTB-Create OMTB_ClientApiTsk
OK

OMTB> omx api sendcommand state vdec 0 exec
OMTB-Entering <Thread , instance #> : <OMTB_ClientApiTsk , 0>
OMTB-OMX_ErrorNone
OK

OMTB> omx api sendcommand state vdec 0 waitforsem
OMTB-Entering <Thread , instance #> : <OMTB_Client_ConnIn_ConnOut_Tsk>
OMTB-In OMTB_ClientEventHandler: OMX_EventCmdComplete - OMX_CommandStateSet
OMTB-OMX_StateExecuting
OMTB-Create OMTB_ClientApiTsk
OK

OMTB> sleep 60000
OMTB-OMTB script reading task sleeping for 60000 msecs
OMTB-Entering <Thread , instance #> : <OMTB_ClientApiTsk , 0>
OMTB-Entering <Thread , instance #> : <OMTB_Client_ConnIn_ConnOut_Tsk>
OMTB-Entering <Thread , instance #> : <OMTB_InputDataRead , 0>
OMTB-Entering <Thread , instance #> : <OMTB_FileRead , 0>
frameSize = 1360552
frameSize = 16
frameSize = 78
frameSize = 26
frameSize = 16
frameSize = 131
OMTB-In OMTB_ClientEventHandler: OMX_EventError - 8000100b
OMTB-FAIL: OMX_ErrorStreamCorrupt
OMTB-In OMTB_ClientEventHandler: OMX_EventError - 8000100b
OMTB-FAIL: OMX_ErrorStreamCorrupt
OMTB-In OMTB_ClientEventHandler: OMX_EventError - 8000100b
OMTB-FAIL: OMX_ErrorStreamCorrupt
OMTB-In OMTB_ClientEventHandler: OMX_EventError - 8000100b
OMTB-FAIL: OMX_ErrorStreamCorrupt
OMTB-In OMTB_ClientEventHandler: OMX_EventError - 8000100b
OMTB-FAIL: OMX_ErrorStreamCorrupt
frameSize = 32
OMTB-In OMTB_ClientEventHandler: OMX_EventError - 8000100b
OMTB-FAIL: OMX_ErrorStreamCorrupt
OMTB-In OMTB_ClientEventHandler: OMX_EventError - 8000100b
OMTB-FAIL: OMX_ErrorStreamCorrupt
OMTB-In OMTB_ClientEventHandler: OMX_EventError - 8000100b
OMTB-FAIL: OMX_ErrorStreamCorrupt
frameSize = 12