<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 10, 2014 at 7:44 PM, dave <span dir="ltr"><<a href="mailto:dtyx265@gmail.com" target="_blank">dtyx265@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div><div class="h5">
<div><span style="color:rgb(34,34,34)">I think the denominator that you are looking for is already set in
class TimingInfo. vui_num_units_in_tick(</span><span style="color:rgb(34,34,34)">confusingly named, if I
understand it correctly) and vui_time_scale are set based on frame
rate. The other TimingInfo members that are not set depend on the
consistency of timing of the frames.</span><br></div></div></div>
<br>
One other possibility is the hrd parameter m_tickDivisorMinus2. It
is set to 100 - 2 in TComSPS::setHrdParameters though given the
description of tic_divisor_minus2 in the spec I am not sure if this
is an accurate or useful value.<br>
<br>
Since it looks like currently no VUI is generated, perhaps I should
just add what's needed so a VUI can optionally be added to an
encoded video along with filling out the rest of the VUI's fields.<br>
</div>
</blockquote></div><br></div><div class="gmail_extra">That sounds like a good place to start.</div><div class="gmail_extra"><br></div><div class="gmail_extra">--</div><div class="gmail_extra">Steve</div></div>