Is it possible to use gst_base_parse_set_pts_interpolation() in tsparse similar to h264parse?

Hi,

In h264parse element in GStreamer utilizes the
gst_base_parse_set_pts_interpolation() function in its gsth264parse.c

Is it possible to use the same functionality in the tsparse element. ?
Can tsparse call gst_base_parse_set_pts_interpolation() directly, or would additional modifications be required to enable this feature?

Any guidance or insights on how to achieve PTS interpolation in tsparse would be greatly appreciated!

Thankyou in advance !

tsparae have its own mechanism to extract timestamp, it does not need interpolation due to the nature of TS.

To enable that feature enable set-timestamps and adjust the smoothing-latency until you are satisfied with the results. While HW streamers send packets at a perfect pace, software streamers tends to burst data, often driven by video frame interval or audio frame size (or both).