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.

[FAQ] SK-TDA4VM: Why Does Encoding Fail in TDA4VM-SK Edge-AI 9.1 SDK?

Part Number: SK-TDA4VM

Why is my basic GStreamer encode pipeline failing as a result of "Failed to allocate required memory" in Edge-AI 9.1 SDK?

  • This is to address the FAQ of the memory allocation failure that persists when running a GStreamer encoding pipeline in SDK 9.1.

    Encode Pipeline Testing:

    This can be seen running any encoding pipeline as shown below:

    GST_DEBUG=v4l2*:5 gst-launch-1.0 videotestsrc num-buffers=100 ! video/x-raw, format=NV12, width=1280, height=720 ! v4l2h264enc ! fakesink


    A patch was released as part of the 9.1 SDK in the release image to GStreamer in order to reduce latency in CSI. This had resulted in the failure to allocate memory issue you are seeing. Patches to fix this are being worked on but will likely be released as a part of the 9.2 SDK. Any further updates will be posted here.