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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

GStreamer-devel mailing list
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),
encode);

  if (!gst_element_link_many(src, conv, capsfilter, encode, parse, pay,
NULL))
    g_print("Failed to link src, conv, capsfilter, encode, parse, pay,
identity\n");

```

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);
  gst_object_unref(pay_src_pad);
```
I hand off metadata to rtp manually using the standard gstreamer one byte,
two byte method.

Any help is greatly appreciated!



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel