[Bug 766832] encoder: Add CBR and VBR support in VP9
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Jun 2 08:43:39 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=766832
--- Comment #9 from Hyunjun Ko <zzoon at igalia.com> ---
(In reply to sreerenj from comment #8)
> 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.
> */
Thanks for information!
I should be working on this.
--
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