Chris@1: Chris@1: Chris@1: Chris@1: vorbis - datatype - ovectl_ratemanage_arg Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1:

libvorbisenc documentation

libvorbisenc version 1.3.2 - 20101101

Chris@1: Chris@1:

ovectl_ratemanage_arg

Chris@1: Chris@1:

declared in "vorbis/vorbisenc.h"

Chris@1: Chris@1:

Chris@1: Chris@1: The ovectl_ratemanage_arg structure is used with vorbis_encode_ctl() and the OV_ECTL_RATEMANAGE_GET, Chris@1: OV_ECTL_RATEMANAGE_SET, OV_ECTL_RATEMANAGE_AVG, Chris@1: OV_ECTL_RATEMANAGE_HARD calls in order to query and modify specifics Chris@1: of the encoder's bitrate management configuration. Note that this is Chris@1: a deprecated interface; please use vorbis_encode_ctl() with the ovectl_ratemanage2_arg struct Chris@1: and OV_ECTL_RATEMANAGE2_GET and OV_ECTL_RATEMANAGE2_SET calls in new Chris@1: code. Chris@1: Chris@1:

Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1:
Chris@1:
struct ovectl_ratemanage_arg {
Chris@1:   int    management_active;
Chris@1: 
Chris@1:   long   bitrate_hard_min;
Chris@1:   long   bitrate_hard_max;
Chris@1:   double bitrate_hard_window;
Chris@1: 
Chris@1:   long   bitrate_av_lo;
Chris@1:   long   bitrate_av_hi;
Chris@1:   double bitrate_av_window;
Chris@1:   double bitrate_av_window_center;
Chris@1: };
Chris@1:
Chris@1: Chris@1:

Relevant Struct Members

Chris@1:
Chris@1: Chris@1:
management_active
Chris@1:
nonzero if bitrate management is active
Chris@1: Chris@1:
bitrate_hard_min
Chris@1:
hard lower limit (in kilobits per second) below which the stream bitrate will never be allowed for any given bitrate_hard_window seconds of time.
Chris@1:
bitrate_hard_max
Chris@1:
hard upper limit (in kilobits per second) above which the stream bitrate will never be allowed for any given bitrate_hard_window seconds of time.
Chris@1:
bitrate_hard_window
Chris@1:
the window period (in seconds) used to regulate the hard bitrate minimum and maximum
Chris@1: Chris@1:
bitrate_av_lo
Chris@1:
soft lower limit (in kilobits per second) below which the average bitrate tracker will start nudging the bitrate higher.
Chris@1:
bitrate_av_hi
Chris@1:
soft upper limit (in kilobits per second) above which the average bitrate tracker will start nudging the bitrate lower.
Chris@1:
bitrate_av_window
Chris@1:
the window period (in seconds) used to regulate the average bitrate minimum and maximum.
Chris@1:
bitrate_av_window_center
Chris@1:
Regulates the relative centering of the average and hard windows; in libvorbis 1.0 and 1.0.1, the hard window regulation overlapped but followed the average window regulation. In libvorbis 1.1 a bit-reservoir interface replaces the old windowing interface; the older windowing interface is simulated and this field has no effect.
Chris@1: Chris@1:
Chris@1: Chris@1: Chris@1:

Chris@1:
Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1:

copyright © 2000-2010 Xiph.Org

Ogg Vorbis

libvorbisenc documentation

libvorbisenc version 1.3.2 - 20101101

Chris@1: Chris@1: Chris@1: Chris@1: