You should use GST_PAD_PROBE_TYPE_BUFFER_LIST (in C++, I'm not familiar with Rust api) for rtph265pay
GST_PAD_PROBE_TYPE_BUFFER_LIST
rtph265pay