<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>So, <br>
</p>
<p>I found that as I'm using RTP, a clock rate of 90000Hz must be
used. In some cases cameras specify a different clock rate... but
if none is specified I should be using that one.</p>
<p>My problem now, is that I do get timestamps for the NAL units,
but I don't know the timestamp of my decoded frame... In libav
there's two timestamps dts (decoding timestamp) and pts
(presentation timestamp).</p>
<p>Say that for a given decoded frame I sent 4 NAL units to the
decoder. Each one had its presentationTime set by Live555. Which
of those times should I use for my frame if any?<br>
</p>
<div class="moz-signature">
<p>Saludos / Best regards, <br>
<br>
<b>Sergio Basurco</b> <br>
Coherent Synchro</p>
</div>
<div class="moz-cite-prefix">On 28/09/2017 16:34, Sergio Basurco
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:bd4b82d4-45ff-ba4f-5b27-643dee4c9f5d@coherentsynchro.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<p>Hi,</p>
<p>My goal is to play an H264 stream that comes from a camera. I
am decoding using libav. According to H264 standard, it is not
necessary to specify the time_scale info in the SDP/SPS.<br>
</p>
<p>Everything is working fine, however I need to synchronize
playback to prevent stutters. I am parsing the nal units in my
H264Sink, in which I get a presentationTime (timeval). What I
don't have is the timebase for these timestamps.<br>
</p>
<p>From what I can tell, the timebase / time_scale of the
timestamps provided by Live555 must be available somewhere for
me to set it to my decoder. If it's not in the SPS description,
how can I retrieve it? <br>
</p>
<div class="moz-signature">-- <br>
<p>Saludos / Best regards, <br>
<br>
<b>Sergio Basurco</b> <br>
Coherent Synchro</p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
live-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a>
<a class="moz-txt-link-freetext" href="http://lists.live555.com/mailman/listinfo/live-devel">http://lists.live555.com/mailman/listinfo/live-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>