[Bug 766832] encoder: Add CBR and VBR support in VP9

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jun 2 06:29:02 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=766832

--- Comment #8 from sreerenj <bsreerenj at gmail.com> ---
Quick note:
Fractional fps should be submitting like this:
    /*
     * The framerate is specified as a number of frames per second, as a
     * fraction.  The denominator of the fraction is given in the top half
     * (the high two bytes) of the framerate field, and the numerator is
     * given in the bottom half (the low two bytes).
     *
     * That is:
     * denominator = framerate >> 16 & 0xffff;
     * numerator   = framerate & 0xffff;
     * fps         = numerator / denominator;
     *
     * For example, if framerate is set to (100 << 16 | 750), this is
     * 750 / 100, hence 7.5fps.
     *
     * If the denominator is zero (the high two bytes are both zero) then
     * it takes the value one instead, so the framerate is just the integer
     * in the low 2 bytes.
     */

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list