[theora-dev] Estimate bytes per second from th_info-settings

Ralph Giles giles at xiph.org
Tue Jul 7 17:03:37 PDT 2009


On Tue, Jul 7, 2009 at 3:13 PM, Bjoern
Rasmussen<bjoern_rasmussen at hotmail.com> wrote:

> Is there a way to estimate the number of bytes per second from the information passed in the th_info-struct to the Theora encoder's th_encode_alloc()? I'm trying to be able to give users a rough estimate of the file size needed to encode with the setting provided to th_info-struct (frame width/height, fps_numerator/fps_denominator, target_bitrate and quality).

It's difficult to estimate from the frame size and rate. If you give
the 1.1/thusnelda encoder a target bitrate it will respect that, but
the 1.0 encoder pretty much ignores it. For a particular input set and
and quality setting, you just have to measure it.

 -r


More information about the theora-dev mailing list