Gst-rtsp-server, rtph265pay or rtph264pay, metadata lost on payloader

ypv yuri at
Thu May 20 02:24:45 UTC 2021

Does anyone have experience with losing metadata in rtsp server gstreamer
pipeline when it comes across an rtp payloader on jetson? This has been
tested with gstreamer 1.14 and 1.18.

Here is gstreamer pipeline:

  gst_bin_add_many(GST_BIN(topbin), src, conv, capsfilter, encode, parse,
pay, NULL);

  // listen for newly created pads
  g_signal_connect(src, "pad-added", G_CALLBACK(cb_new_rtspsrc_pad),

  if (!gst_element_link_many(src, conv, capsfilter, encode, parse, pay,
    g_print("Failed to link src, conv, capsfilter, encode, parse, pay,


And here is the src pad data callback creation:

 pay_src_pad = gst_element_get_static_pad(identity, "src");
  gst_pad_add_probe(pay_src_pad, GST_PAD_PROBE_TYPE_BUFFER,
                    (GstPadProbeCallback) pay_src_probe, identity, NULL);
I hand off metadata to rtp manually using the standard gstreamer one byte,
two byte method.

Any help is greatly appreciated!

Sent from:

More information about the gstreamer-devel mailing list