[Live-devel] How to get the time_scale value from H264/RTSP stream

Sergio Andrés Basurco Mancisidor sergio.b at coherentsynchro.com
Thu Sep 28 22:10:28 PDT 2017


What I observe is that the NAL units used for a single decoded frame have
different presentation times. In that case I don't know which time to use
for the given frame.

El vie., 29 sept. 2017 a las 0:19, Ross Finlayson (<finlayson at live555.com>)
escribió:

> > Indeed I am using Live555 as the RTSP client side, and I'm able to
> connect and receive the NAL units and the sps-pps information from the
> camera.
> >
> > Maybe you're right and my issue is completely on the decoding side, as
> I'm failing to find the timestamp values that will allow me to playback the
> stream.
> >
> > Specifically, I receive a "presentationTimestamp" from Live555 together
> with the NAL unit. I am not certain on how to use it in order to
> synchronize playback.
>
> This “presentationTimestamp” is exactly what you use.  It represents the
> (relative) time at which the corresponding NAL unit should be displayed.
>
> Developers who use our software (including you) never need to concern
> themselves with RTP timestamps.  (Our software automatically converts RTP
> timestamps to presentation times.)  For more information, see
>         http://live555.com/liveMedia/faq.html#separate-rtp-streams
>
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20170929/0bd1aba0/attachment.html>


More information about the live-devel mailing list