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.

decode_display failed in ezsdk 5.03

hello, everyone

         in ezsdk 5.02, the decode_display demo run well.  i update the sdk to ezsdk5.03, when run the decode_display demo, the following err occurs:

root@dm816x-evm:~/dm816x-evm/test/decode_display# ./decode_display_a8host_debug.
xv5T -i sample.264 -w 1920 -h 1080 -c 264 -f 60 -g 0 -d 1
input file: sample.264
width: 1920
height: 1080
frame_rate: 60
gfx: fbdev disable
codec: 264
display_id: 1
 Decoder-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
 opening file
 decoder compoenent is created
PADX: 0 PADY: 0
 scalar compoenent is created
set input port params (width = 1920, height = 1080)
set output port params (width = 1920, height = 1080)
set number of channels
set input resolution
set output resolution
enable scalar input port
got eventEnable/Disable Event
enable scalar output port
got eventEnable/Disable Event
found handle 0x127ec0 for component OMX.TI.VPSSM3.VFDC
 got display handle
found handle 0x12b9c8 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 default
enable input port
got eventEnable/Disable Event
 connect call for decoder-scalar
  connect call for scalar-display
  decoder inport buffers allocated
 Error in OMX_AllocateBuffer()-Output Port State set : OMX_ErrorBadParameter

can somebody meet this err? please give me some suggest.

   best regards

  • Hi,

    The issue seems to be occurring due to incorrect command line parameters passed. You are using

    ./decode_display_a8host_debug.xv5T -i sample.264 -w 1920 -h 1080 -c 264 -f 60 -g 0 -d 1

    You should be doing:

    ./decode_display_a8host_debug.xv5T -i sample.264 -w 1920 -h 1080 -c h264 -f 60 -g 0 -d 1

    Can you try with this and see if it helps?

    Regards,

    Anirban