Hello,
I use the decode_display example to decode 3 1080P video, in the third way decoder allocates memory, OMX_AllocateBuffer () blocking, HDVICP memory is insufficient, how to modify the memory allocation of Linux and hdvicp?
thanks
lonly
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.
Hello,
I use the decode_display example to decode 3 1080P video, in the third way decoder allocates memory, OMX_AllocateBuffer () blocking, HDVICP memory is insufficient, how to modify the memory allocation of Linux and hdvicp?
thanks
lonly
Hello,
You could check this guide for the memory map:
You could also check OMX mosaic demo.
You could try gstreamer also :
gst-launch filesrc location=/usr/share/ti/data/videos/dm816x_1080p_demo.264 ! 'video/x-h264' ! h264parse access-unit=true ! omx_h264dec ! omx_scaler ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 ! gstperf ! fakesink filesrc location=/usr/share/ti/data/videos/dm816x_1080p_demo.264 ! 'video/x-h264' ! h264parse access-unit=true ! omx_h264dec ! omx_scaler! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 ! fakesink filesrc location=/usr/share/ti/data/videos/dm816x_1080p_demo.264 ! 'video/x-h264' ! h264parse access-unit=true ! omx_h264dec ! omx_scaler! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 ! fakesink
BR
Margarita
Hello,
Could you try the gst pipeline and let me know the result.
gst-launch filesrc location=/usr/share/ti/data/videos/dm816x_1080p_demo.264 ! 'video/x-h264' ! h264parse access-unit=true ! omx_h264dec ! omx_scaler ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 ! gstperf ! fakesink silent=true filesrc location=/usr/share/ti/data/videos/dm816x_1080p_demo.264 ! 'video/x-h264' ! h264parse access-unit=true ! omx_h264dec ! omx_scaler! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 ! fakesink silent=true filesrc location=/usr/share/ti/data/videos/dm816x_1080p_demo.264 ! 'video/x-h264' ! h264parse access-unit=true ! omx_h264dec ! omx_scaler! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 ! fakesink silent=true
This pipeline will not display the videos.
You could try to increase the heap memory. Refer to Memory map user guide.
It also would be better to provide the debug log for your OMX demo.
BR
Margarita