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.

Encode + Decode in TI8148 EVM

Hai,

We have use the following pipeline(USING GSTREAMER) for both ENCODE + DECODE in TI8148 EVM...But i got the following error...kindly can anyone give help to solve this error....

root@dm814x-evm:~# gst-launch-0.10  filesrc location=/media/River.mp4 ! qtdemux ! 'video/x-h264' ! h264parse access-unit=true ! omx_h264dec output-buffers=10 !
fakesink .  v4l2src always-copy=false ! image/jpeg, width=1024, height=768 ! omx_mjpegdec ! omx_h264enc force-idr-period=60 input-buffers=2 output-buffers=4 ! tcpserversink  host=192.168.0.130 port=5000


Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
OMX_EventError: 0x80001000
unrecoverable error: There were insufficient resources to perform the requested operation (0x80001000)
ERROR: from element /GstPipeline:pipeline0/GstOmxMJPEGDec:omxmjpegdec0: GStreamer encountered a general stream error.
Additional debug info:
gstomx_base_filter.c(708): pad_chain (): /GstPipeline:pipeline0/GstOmxMJPEGDec:omxmjpegdec0:
Error from OpenMAX component
Execution ended after 878746800 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Recieved EOS event, press <CTRL+C> to terminate pipeline.
Setting pipeline to NULL ...
Freeing pipeline ...

  • Hello,

    Moorthi Jayaraman said:
    OMX_EventError: 0x80001000
    unrecoverable error: There were insufficient resources to perform the requested operation (0x80001000)

    OMX_ErrorInsufficientResources can indicate several error conditions like unable to allocate memory, error in creating event, error allocating pAppData, error in allocating resources in main, error in event retrieve.

    Could you  run ./loggerSMDump.out 0x9e400000 0x100000 all

    This is available at /usr/share/ti/ti-uia folder in filesystem.

    Moorthi Jayaraman said:

    root@dm814x-evm:~# gst-launch-0.10  filesrc location=/media/River.mp4 ! qtdemux ! 'video/x-h264' ! h264parse access-unit=true ! omx_h264dec output-buffers=10 !
    fakesink .  v4l2src always-copy=false ! image/jpeg, width=1024, height=768 ! omx_mjpegdec ! omx_h264enc force-idr-period=60 input-buffers=2 output-buffers=4 ! tcpserversink  host=192.168.0.130 port=5000

    Could you provide more details regarding what you are trying to do?

    Best Regards,

    Margarita

  • Hi Moorthi

    I am facing the same issue, can u help me to fix this issue.

    I am Using ezsdk following version: ti-ezsdk_dm814x-evm_5_05_02_00

    I have applied the patch (sdocm00097118.zip)  released by TI, still result is negative.

  • Hello,

    It would be better first to try to use omx_mjpegdec with the filesrc and to check is there a problem after applying the patch.

    If you are using usecase network streaming you could use:

    gst-launch udpsrc port=5000 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)JPEG, payload=(int)96, ssrc=(uint) 2006761866, clock-base=(uint) 2211117719,seqnum-base=(uint) 46792" ! rtpjpegdepay ! queue ! jpegparse ! omx_mjpegdec ! omx_scaler ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 ! gstperf ! omx_videosink


    Also it would be better provide more details about what you are observing.

    Let me know the result.

    BR

    Margarita