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.

DRA72XEVM: gstreamer textoverlay in pipeline shows error.

Part Number: DRA72XEVM

Hi,

So i am facing an issue with gstreamer pipeline. The pipeline is as follows:

gst-launch-1.0 --gst-debug=3 -e rtspsrc location = "rtsp://admin:password@192.168.15.51:554/cam/realmonitor?channel=1&subtype=1" ! rtph264depay ! h264parse ! decodebin ! textoverlay text="sam" ! fakesink

On executing, the above pipeline throws a continuous error like

0:00:05.261870945  1521 0xb582dd50 ERROR             GST_BUFFER gstbuffer.c:558:gst_buffer_copy_into: failed to copy meta 0x1b8aa4 of API type GstMetaDucatiBufferPrivAPI
0:00:05.270166844  1521 0xb582dd50 ERROR             GST_BUFFER gstbuffer.c:558:gst_buffer_copy_into: failed to copy meta 0x1b8ae4 of API type GstMetaDucatiBufferPrivAPI
0:00:05.278431836  1521 0xb582dd50 ERROR             GST_BUFFER gstbuffer.c:558:gst_buffer_copy_into: failed to copy meta 0x1b89c4 of API type GstMetaDucatiBufferPrivAPI
0:00:05.286522940  1521 0xb582dd50 ERROR             GST_BUFFER gstbuffer.c:558:gst_buffer_copy_into: failed to copy meta 0x1bc924 of API type GstMetaDucatiBufferPrivAPI
0:00:05.294446337  1521 0xb582dd50 ERROR             GST_BUFFER gstbuffer.c:558:gst_buffer_copy_into: failed to copy meta 0x1b8b44 of API type GstMetaDucatiBufferPrivAPI
0:00:05.302806163  1521 0xb582dd50 ERROR             GST_BUFFER gstbuffer.c:558:gst_buffer_copy_into: failed to copy meta 0x1b8bc4 of API type GstMetaDucatiBufferPrivAPI
0:00:05.311009668  1521 0xb582dd50 ERROR             GST_BUFFER gstbuffer.c:558:gst_buffer_copy_into: failed to copy meta 0x1bc944 of API type GstMetaDucatiBufferPrivAPI
0:00:05.319171043  1521 0xb582dd50 ERROR             GST_BUFFER gstbuffer.c:558:gst_buffer_copy_into: failed to copy meta 0x1bc804 of API type GstMetaDucatiBufferPrivAPI
0:00:05.327374061  1521 0xb582dd50 ERROR             GST_BUFFER gstbuffer.c:558:gst_buffer_copy_into: failed to copy meta 0x1b8b24 of API type GstMetaDucatiBufferPrivAPI
0:00:05.335495583  1521 0xb582dd50 ERROR             GST_BUFFER gstbuffer.c:558:gst_buffer_copy_into: failed to copy meta 0x1bc9c4 of API type GstMetaDucatiBufferPrivAPI
0:00:05.343637764  1521 0xb582dd50 ERROR             GST_BUFFER gstbuffer.c:558:gst_buffer_copy_into: failed to copy meta 0x1b88a4 of API type GstMetaDucatiBufferPrivAPI
0:00:05.351809875  1521 0xb582dd50 ERROR             GST_BUFFER gstbuffer.c:558:gst_buffer_copy_into: failed to copy meta 0x1b8b64 of API type GstMetaDucatiBufferPrivAPI
0:00:05.359888453  1521 0xb582dd50 ERROR             GST_BUFFER gstbuffer.c:558:gst_buffer_copy_into: failed to copy meta 0x1bc9a4 of API type GstMetaDucatiBufferPrivAPI

  • Hi Sam,
    What is the issue you are seeing from this error? Are you not able to see the decoded video?
    Please insert vpe element with a caps filter and give a try.

    h264parse ! ducatih264dec ! vpe ! 'video/x-raw, format=(string)NV12, width=(int)1280, height=(int)720' ! textoverlay text="sam" ! fakesink
    This should work. Let me know the results

    Ram
  • Thanks Ram,

    It solved the issue and i am getting the video feed with text along with a continuous warning.

    0:00:02.792925126  1221   0x185950 WARN                     vpe gstvpebufferpool.c:462:gst_vpe_buffer_pool_import: Allocating a new input buffer index: 0/128, 0
    0:00:02.805466035  1221   0x15ec00 WARN              bufferpool gstbufferpool.c:300:do_alloc_buffer:<vpebufferpool1> alloc function failed
    0:00:02.808361655  1221   0x185950 WARN                     vpe gstvpebufferpool.c:462:gst_vpe_buffer_pool_import: Allocating a new input buffer index: 1/128, 1
    0:00:02.811348205  1221   0x185950 WARN                     vpe gstvpebufferpool.c:462:gst_vpe_buffer_pool_import: Allocating a new input buffer index: 2/128, 2
    0:00:02.842306825  1221   0x15ec00 WARN              bufferpool gstbufferpool.c:300:do_alloc_buffer:<vpebufferpool1> alloc function failed
    0:00:02.845360556  1221   0x185950 WARN                     vpe gstvpebufferpool.c:462:gst_vpe_buffer_pool_import: Allocating a new input buffer index: 3/128, 0
    0:00:02.847354681  1221   0x185950 WARN                     vpe gstvpebufferpool.c:462:gst_vpe_buffer_pool_import: Allocating a new input buffer index: 4/128, 1
    0:00:02.859876557  1221   0x15ec00 WARN              bufferpool gstbufferpool.c:300:do_alloc_buffer:<vpebufferpool1> alloc function failed
    0:00:02.862343389  1221   0x185950 WARN                     vpe gstvpebufferpool.c:462:gst_vpe_buffer_pool_import: Allocating a new input buffer index: 5/128, 0
    0:00:02.864347599  1221   0x185950 WARN                     vpe gstvpebufferpool.c:462:gst_vpe_buffer_pool_import: Allocating a new input buffer index: 6/128, 1
    0:00:02.877244584  1221   0x15ec00 WARN              bufferpool gstbufferpool.c:300:do_alloc_buffer:<vpebufferpool1> alloc function failed
    0:00:02.879346556  1221   0x185950 WARN                     vpe gstvpebufferpool.c:462:gst_vpe_buffer_pool_import: Allocating a new input buffer index: 7/128, 0
    0:00:02.881348976  1221   0x185950 WARN                     vpe gstvpebufferpool.c:462:gst_vpe_buffer_pool_import: Allocating a new input buffer index: 8/128, 1
    0:00:02.894481339  1221   0x15ec00 WARN              bufferpool gstbufferpool.c:300:do_alloc_buffer:<vpebufferpool1> alloc function failed
    0:00:02.897347028  1221   0x185950 WARN                     vpe gstvpebufferpool.c:462:gst_vpe_buffer_pool_import: Allocating a new input buffer index: 9/128, 0
    0:00:02.899347008  1221   0x185950 WARN                     vpe gstvpebufferpool.c:462:gst_vpe_buffer_pool_import: Allocating a new input buffer index: 10/128, 1
    0:00:02.911609270  1221   0x15ec00 WARN              bufferpool gstbufferpool.c:300:do_alloc_buffer:<vpebufferpool1> alloc function failed
    0:00:02.914353448  1221   0x185950 WARN                     vpe gstvpebufferpool.c:462:gst_vpe_buffer_pool_import: Allocating a new input buffer index: 11/128, 0
    0:00:02.916350175  1221   0x185950 WARN                     vpe gstvpebufferpool.c:462:gst_vpe_buffer_pool_import: Allocating a new input buffer index: 12/128, 1
    0:00:02.929061883  1221   0x15ec00 WARN              bufferpool gstbufferpool.c:300:do_alloc_buffer:<vpebufferpool1> alloc function failed
    0:00:02.931341649  1221   0x185950 WARN                     vpe gstvpebufferpool.c:462:gst_vpe_buffer_pool_import: Allocating a new input buffer index: 13/128, 0
    0:00:02.933347648  1221   0x185950 WARN                     vpe gstvpebufferpool.c:462:gst_vpe_buffer_pool_import: Allocating a new input buffer index: 14/128, 1
    0:00:02.946576959  1221   0x15ec00 WARN              bufferpool gstbufferpool.c:300:do_alloc_buffer:<vpebufferpool1> alloc function failed
    0:00:02.949342447  1221   0x185950 WARN                     vpe gstvpebufferpool.c:462:gst_vpe_buffer_pool_import: Allocating a new input buffer index: 15/128, 0
    0:00:02.951349584  1221   0x185950 WARN                     vpe gstvpebufferpool.c:462:gst_vpe_buffer_pool_import: Allocating a new input buffer index: 16/128, 1
    0:00:02.963688136  1221   0x15ec00 WARN              bufferpool gstbufferpool.c:300:do_alloc_buffer:<vpebufferpool1> alloc function failed
    0:00:02.966343010  1221   0x185950 WARN                     vpe gstvpebufferpool.c:462:gst_vpe_buffer_pool_import: Allocating a new input buffer index: 17/128, 0
    0:00:02.968347708  1221   0x185950 WARN                     vpe gstvpebufferpool.c:462:gst_vpe_buffer_pool_import: Allocating a new input buffer index: 18/128, 1
    0:00:02.981137984  1221   0x15ec00 WARN              bufferpool gstbufferpool.c:300:do_alloc_buffer:<vpebufferpool1> alloc function failed
    0:00:02.998710807  1221   0x15ec00 WARN              bufferpool gstbufferpool.c:300:do_alloc_buffer:<vpebufferpool1> alloc function failed
    0:00:03.016261182  1221   0x15ec00 WARN              bufferpool gstbufferpool.c:300:do_alloc_buffer:<vpebufferpool1> alloc function failed
    0:00:03.033361785  1221   0x15ec00 WARN              bufferpool gstbufferpool.c:300:do_alloc_buffer:<vpebufferpool1> alloc function failed
    0:00:03.050451327  1221   0x15ec00 WARN              bufferpool gstbufferpool.c:300:do_alloc_buffer:<vpebufferpool1> alloc function failed
    0:00:03.067478243  1221   0x15ec00 WARN              bufferpool gstbufferpool.c:300:do_alloc_buffer:<vpebufferpool1> alloc function failed
    0:00:03.084361199  1221   0x15ec00 WARN              bufferpool gstbufferpool.c:300:do_alloc_buffer:<vpebufferpool1> alloc function failed
    0:00:03.101262536  1221   0x15ec00 WARN              bufferpool gstbufferpool.c:300:do_alloc_buffer:<vpebufferpool1> alloc function failed
    0:00:03.118294982  1221   0x15ec00 WARN              bufferpool gstbufferpool.c:300:do_alloc_buffer:<vpebufferpool1> alloc function failed
    0:00:03.135141989  1221   0x15ec00 WARN              bufferpool gstbufferpool.c:300:do_alloc_buffer:<vpebufferpool1> alloc function failed
    0:00:03.151765167  1221   0x15ec00 WARN              bufferpool gstbufferpool.c:300:do_alloc_buffer:<vpebufferpool1> alloc function failed
    0:00:03.169282196  1221   0x15ec00 WARN              bufferpool gstbufferpool.c:300:do_alloc_buffer:<vpebufferpool1> alloc function failed

  • HI Sam,
    Why do you want to have --gst-debug set ? Some warnings will be always printed with the debug option set but there is no harm
  • Thanks,

    Just to be on safe side. Sometimes it may create issues while converting the command to a c file.
    Thanks once again.

    Regards,
    Sam