Re: Estimate bytes per second from th_info-settings
Ralph Giles <[email protected]>
| Newsgroups | gmane.comp.multimedia.ogg.theora.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Jul 7, 2009 at 3:13 PM, Bjoern Rasmussen<[email protected]> 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