[XviD-devel] [BUG] Cofiguration used to generate the bug

Edouard Gomez xvid-devel@xvid.org
Sat, 10 Aug 2002 17:55:25 +0200


--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Dirk Knop (dknop@gwdg.de) wrote:
> I think it's necessary to know what bframes 
> settings were used... (maybe the bitstream written is wrong when set to 
> 0 instead of -1 [max bframes, dunno the respective variable in the core 
> and I'm too tired to fire up devel. studio now ;) ).

In attachment you can find the file i used with transcode. (using the quality0 section and no vbr control)

-- 
Edouard Gomez

--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="xvid.cfg"

##############################################################################
# Config file for transcode + xvidcvs patch
#
# This is a sample file to show you how to configure all XviD flags
#
# If you want to use [qualityX] settings, run transcode with the X quality
# command line option (# transcode -Q X ... ) (X is a number)
#
# You can define whatever quality mode between 0 and 5 (included).
#
# To do so, you have just to create a new [qualityX] block and define
# all the XviD flags using the constant names (read the xvidcvs.h file
# included in the trancode tarball or the xvid.h file available on the
# XviD cvs http://cvs.xvid.org/cgi-bin/cvsweb.cgi/xvidcore/src/)
#
# To config the vbr controler, adapt/modify the [vbr] section
#
##############################################################################


##############################################################################
# VBR SECTION must be defined as [vbr] (case sensitive)
#
# This vbr controler uses lot of parameters, here you have the default values
# but depending on what vbr options you use, parameters are ignored or not.
#
# The problem is I cannot show easily the dependancy between all options in
# a text file. This would be treated in a document... but i hate writing
# documentation.
#
# Feel free to contribute :-)
#
# These settings are the defaults and are good for a "lambda user".
#
##############################################################################

[vbr]

# Keyframe boost
# keyframe_boost = 75

# use_alt_curve = 1
# alt_curve_type = VBR_ALT_CURVE_AGGRESIVE

# quantizers options
# max_iquant = 4
# min_iquant = 2
# max_pquant = 12
# min_pquant = 2
# fixed_quant = 3

##############################################################################
# Quality 0 (general example, shows you how to set flags)
##############################################################################

[quality0]

init.cpu_flags = XVID_CPU_FORCE
param.global = 0
param.max_bframes = 0
param.bquant_ratio = 0
frame.motion  = 0
frame.general = XVID_H263QUANT

##############################################################################
# Quality 1 (example for bframe usage - depends on your compile options)
##############################################################################

[quality1]

init.cpu_flags = 0
param.global = XVID_GLOBAL_DX50BVOP
param.max_bframes = 1
param.bquant_ratio = 120
frame.motion  = PMV_EARLYSTOP16 PMV_HALFPELREFINE16 PMV_EXTSEARCH16 PMV_EARLYSTOP8 PMV_HALFPELREFINE8 PMV_ADVANCEDDIAMOND8 PMV_ADVANCEDDIAMOND16
frame.general = XVID_H263QUANT XVID_HALFPEL XVID_INTER4V

# EOF

--+HP7ph2BbKc20aGI--