Bjoern Rasmussen
2009-Jul-07 22:13 UTC
[theora-dev] Estimate bytes per second from th_info-settings
Hi 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). -- Bjoern _________________________________________________________________ NY Windows Live Messenger med nye fede funktioner. Hent den her! http://download.live.com/messenger
Ralph Giles
2009-Jul-08 00:03 UTC
[theora-dev] Estimate bytes per second from th_info-settings
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