RTSP Latency
Sebastian Dröge
sebastian at centricular.com
Mon Apr 4 07:46:16 UTC 2016
On Fr, 2016-04-01 at 07:08 -0700, cowprod wrote:
> Hi Sebastian,
>
> I'm trying to retrieve information about the decoder use to play the current
> RTSP stream.
The easiest would be to just take a look at the debug logs. The second
easiest would be to use the GstBin API to iterate through playbin once
it started playback, i.e. gst_bin_iterate() and
gst_bin_iterate_recurse() could be useful here.
Basically, if there is no audio in your pipeline anymore, the only
latency you will observe from GStreamer is a) the video decoder latency
and b) the rtpjitterbuffer latency.
a) is most likely using vtdec here, Apple VideoToolbox based decoder.
Unfortunately that API does not provide proper latency information so
we're doing guesses here, and those guesses are better if you use
baseline profile.
You could alternatively try the libav software decoder, avdec_h264.
b) is what you configure on rtspsrc.
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160404/5be275d5/attachment.sig>
More information about the gstreamer-devel
mailing list