The 0.5 TMuC release introduces new unified config file and command line
parsing code. This allows all configuration file options to be specified
on the command line and permits the use of multiple config files.
Compatability with command line options in previous TMuC releases is
maintained with the following exceptions:
- Commandline -1/-0 FEN does not implicitly set ASR,
this now matches the behaviour of the config file.
- FramesToBeEncoded is now the preferred name for FrameToBeEncoded
(the old option still exists for compatibility)
- Commandline & Config, setting of GOPSize nolonger unconditionally
sets RateGOPSize. If RateGOPSize is never set, it assumes as its
default value, the value of GOPSize.
Unless it is specifically required, do not set the RateGOPSize to a
value other than -1. This value (the default) causes RateGOPSize
to inherit the final value of GOPSize. While setting config files
to have RateGOPSize = GOPSize does no immediate harm, it causes
confusion when GOPSize is altered (without altering RateGOPSize) and
behaviour changes relating to GPB.
All configuration options may be specified on the command line using the
following syntax:
--CfgOptionName=value
For example,
--InputFile=Kimono1_1920x1080_24.yuv
A list of all options avaliable is provided by running the encoder with
either no options, or the option "--help".
The command line is evaluated in the order of options given, for example:
./encoder -c file1.cfg --UseFoo=7 -c file2.cfg
The following may be observed:
- file2.cfg overrides any arguments set in file1.
- file1.cfg overrides any default arguments
- if file2.cfg specifies "UseFoo", this value will be used
otherwise, "UseFoo" will have the value 7.
====================
Notes for developers
====================
The new unified config file and command line parsing code allows all
configuration options, storage location, defaults, help text to be specified
in a single place. No custom value parsing code is required.
Options are specified in TAppEncCfg::parseCfg() using the following syntax:
{{{
/* storage for options */
int storage_variable_int;
unsigned storage_variable_unsigned;
float storage_variable_float;
bool storage_variable_bool;
string storage_variable_string;
/* set up configuration */
namespace po = df::program_options_lite;
po::Options opts;
opts.addOptions()
/*( option spec , reference to storage, default, help text)*/
("option_spec0", storage_variable_int, -42, "help text")
("option_spec1", storage_variable_unsigned, 17u, "help text")
("option_spec2", storage_variable_bool, true, "help text")
("option_spec3", storage_variable_float, 4.0f, "help text")
("option_spec4", storage_variable_string, string("foo"), "help text")
;
}}}
NB, the help text is optional.
Where, the option_spec is a string containing comma separated names in
the following forms:
- multi-charcter names are longopts that are handled in gnu style
(and may be handled in a config file)
- single-character names are short opts that are handled in posix style
(and are not handled in a config file)
prefixing a multi-character name stops it being handled in the config.
For example:
option spec | config file formats | command line formats
"Name" | Name:value | --Name=value
"n" | --none-- | -n value
"-name" | --none-- | -name value
"Name,n" | Name:value | "--Name=value" or "-n value"
Caveats:
- The default values need to be specified in the same type as the storage
variable. Eg, an unsigned int, would need to be specified as "17u" not
"17"
Help text formatting:
- Help text will be automatically wrapped and aligned if longer than the
available space.
- To force wrapping at a particular point, insert a newline character '\n'
Eg: "Foo values:\n value1 - a\n value2 - b\n value3 - c"
Gives:
Foo values:
value1 - a
value2 - b
value3 - c
Please report any issues, or requests for support with the configuration to:
David Flynn <davidf@rd.bbc.co.uk>
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
HEVC/H265 HM3.2 (615个子文件)
all-wcprops 7KB
all-wcprops 4KB
all-wcprops 3KB
all-wcprops 3KB
all-wcprops 1KB
all-wcprops 1KB
all-wcprops 1KB
all-wcprops 802B
all-wcprops 802B
all-wcprops 536B
all-wcprops 472B
all-wcprops 426B
all-wcprops 407B
all-wcprops 398B
all-wcprops 393B
all-wcprops 346B
all-wcprops 326B
all-wcprops 252B
all-wcprops 252B
all-wcprops 250B
all-wcprops 250B
all-wcprops 250B
all-wcprops 248B
all-wcprops 248B
all-wcprops 242B
all-wcprops 234B
all-wcprops 218B
all-wcprops 218B
all-wcprops 105B
all-wcprops 105B
all-wcprops 104B
all-wcprops 101B
all-wcprops 100B
all-wcprops 100B
all-wcprops 100B
all-wcprops 100B
all-wcprops 99B
all-wcprops 99B
all-wcprops 96B
all-wcprops 95B
all-wcprops 95B
makefile.base 12KB
libmd5.c 8KB
encoder_randomaccess_loco.cfg 6KB
encoder_randomaccess.cfg 6KB
encoder_lowdelay_loco.cfg 6KB
encoder_lowdelay.cfg 6KB
encoder_lowdelay_P.cfg 6KB
encoder_lowdelay_P_loco.cfg 6KB
encoder_intra_loco.cfg 5KB
encoder_intra.cfg 5KB
PeopleOnStreet.cfg 547B
SteamLocomotiveTrain_10bit.cfg 545B
BasketballDrive.cfg 543B
BasketballDrill.cfg 541B
BasketballPass.cfg 540B
BlowingBubbles.cfg 540B
Traffic.cfg 540B
NebutaFestival_10bit.cfg 539B
BQTerrace.cfg 537B
ParkScene.cfg 537B
RaceHorses.cfg 536B
RaceHorsesC.cfg 536B
PartyScene.cfg 536B
Kimono.cfg 535B
BQSquare.cfg 534B
Cactus.cfg 534B
Vidyo1.cfg 533B
Vidyo3.cfg 533B
Vidyo4.cfg 533B
BQMall.cfg 532B
COPYING 2KB
TComTrQuant.cpp 205KB
TEncSearch.cpp 196KB
TEncAdaptiveLoopFilter.cpp 181KB
TComDataCU.cpp 175KB
TComRdCost.cpp 175KB
TComRom.cpp 169KB
TComAdaptiveLoopFilter.cpp 139KB
TDecCAVLC.cpp 96KB
TEncCavlc.cpp 87KB
TEncCu.cpp 67KB
TEncSbac.cpp 62KB
TDecSbac.cpp 55KB
TEncGOP.cpp 51KB
TComPattern.cpp 50KB
TDecEntropy.cpp 45KB
TComLoopFilter.cpp 42KB
TEncEntropy.cpp 42KB
TComPrediction.cpp 40KB
TDecCu.cpp 38KB
TEncSlice.cpp 36KB
TAppEncCfg.cpp 32KB
TComSlice.cpp 26KB
TComYuv.cpp 22KB
TDecTop.cpp 17KB
program_options_lite.cpp 15KB
TDecGop.cpp 15KB
TAppEncTop.cpp 14KB
TEncTop.cpp 14KB
共 615 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
资源评论
- catchun0422014-01-04什么东西啊,解压后没看明白。晕~
JIH488
- 粉丝: 9
- 资源: 23
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功