JM Reference Software Manual
============================
please send comments and additions to suehring@hhi.de
1. Compilation
2. Command line parameters
3. Input/Output file format
4. Configuration files
1. Compilation
--------------
1.1 Windows
-----------
A workspace for MS Visual C++ is provided with the name "tml.dsw". It contains
the encoder and decoder projects.
1.2 Unix
-----------
Before compiling in a UNIX environment please run the "unixprep.sh" script which
will remove the DOS LF characters from the files and create object directories.
Makefiles for GNU make are provided in the lencod and ldecod directory.
2. Command line parameters
--------------------------
2.1 Encoder
-----------
lencod.exe [-h] [-d default-file] [-f file] [-p parameter=value]
All Parameters are initially taken from DEFAULTCONFIGFILENAME, defined in
configfile.h (typically: "encoder.cfg")
-h
Show help on parameters.
-d default-file
Use the specified file as default configuration instead of the file in
DEFAULTCONFIGFILENAME.
-f file
If an -f <config> parameter is present in the command line then
this file is used to update the defaults of DEFAULTCONFIGFILENAME.
There can be more than one -f parameters present.
-p parameter=value
If -p <ParameterName = ParameterValue> parameters are present then
these overide the default and the additional config file's settings,
and are themselfes overridden by future -p parameters. There must
be whitespace between -f and -p commands and their respecitive
parameters.
2.2 Decoder
-----------
ldecod.exe decoder.cfg
The decoder configuration file name must be provided as the first parameter. All
decoding parameters are read from this file.
3. Input/Output file format
---------------------------
The source video material is read from raw YUV 4:2:0 data files.
For output the same format is used.
4. Configuration files
----------------------
Sample encoder and decode configuration files are provided in the bin/ directory.
These contain explanatory comments for each parameter.
The generic structure is explained here.
4.1 Encoder
-----------
<ParameterName> = <ParameterValue> # Comments
Whitespace is space and \t
<ParameterName> are the predefined names for Parameters and are case sensitive.
See configfile.h for the definition of those names and their
mapping to configinput->values.
<ParameterValue> are either integers [0..9]* or strings.
Integers must fit into the wordlengths, signed values are generally
assumed. Strings containing no whitespace characters can be used directly.
Strings containing whitespace characters are to be inclosed in double
quotes ("string with whitespace")
The double quote character is forbidden (may want to implement something
smarter here).
Any Parameters whose ParameterName is undefined lead to the termination of the program
with an error message.
Known bug/Shortcoming: zero-length strings (i.e. to signal an non-existing file
have to be coded as "".
4.2 Decoder
-----------
<value> #comment
The values are read in a predefined order. See the example file for details.
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
1、下载并解压 JM 源代码 2、在源代码根目录下的 bin 文件夹中新建 backup 文件夹,将 bin 文件夹中所有文件移入该文件夹做备份 3、在源代码根目录下新建 encodtest 文件夹,作为编码使用。将编码过程所需要的文件,例如:编码配置文件(encoder_baseline.cfg),待编码视频序列文件(foreman_part_qcif.yuv,对应为编码配置文件中 InputFile 参数的值)复制到该文件夹中 4、在源代码根目录下新建 decodtest 文件夹,作为解码使用。将解码过程所需要的文件,例如:解码配置文件(decoder.cfg)复制到该文件夹中 5、打开源代码根目录下的工作区 tml.dsw
资源推荐
资源详情
资源评论
收起资源包目录
H264 JM8.6 注释版代码 (275个子文件)
ldecod.bsc 723KB
macroblock.c 149KB
macroblock.c 115KB
mbuffer.c 113KB
mbuffer.c 111KB
rdopt.c 98KB
mv-search.c 91KB
image.c 70KB
lencod.c 63KB
block.c 59KB
image.c 56KB
cabac.c 52KB
sei.c 50KB
sei.c 49KB
cabac.c 48KB
ratectl.c 45KB
block.c 39KB
vlc.c 35KB
fast_me.c 34KB
configfile.c 33KB
erc_do_p.c 32KB
vlc.c 29KB
header.c 26KB
parset.c 26KB
slice.c 24KB
fmo.c 22KB
decoder.c 22KB
ldecod.c 22KB
header.c 20KB
loopFilter.c 20KB
loopFilter.c 20KB
erc_do_i.c 20KB
rtp.c 19KB
mb_access.c 18KB
fmo.c 18KB
mb_access.c 18KB
parset.c 16KB
erc_api.c 15KB
output.c 14KB
weighted_prediction.c 13KB
context_ini.c 13KB
rtp.c 12KB
annexb.c 11KB
memalloc.c 11KB
biaridecod.c 11KB
memalloc.c 10KB
leaky_bucket.c 10KB
biariencode.c 10KB
parsetcommon.c 9KB
rdopt_coding_state.c 8KB
output.c 7KB
errorconcealment.c 7KB
nal.c 5KB
leaky_bucket.c 5KB
refbuf.c 5KB
filehandle.c 5KB
filehandle.c 4KB
annexb.c 4KB
context_ini.c 4KB
intrarefresh.c 4KB
nal.c 4KB
parsetcommon.c 4KB
nalu.c 3KB
nalucommon.c 3KB
nalucommon.c 3KB
nal_part.c 2KB
nalu.c 2KB
encoder_baseline.cfg 11KB
encoder_baseline.cfg 11KB
encoder_baseline.cfg 11KB
encoder_extended.cfg 11KB
encoder_main.cfg 11KB
encoder_extended.cfg 11KB
encoder_main.cfg 11KB
sg6conf.cfg 1KB
sg6conf.cfg 1KB
decoder.cfg 753B
decoder.cfg 753B
decoder.cfg 753B
sg2conf.cfg 126B
sg2conf.cfg 126B
sg0conf.cfg 66B
sg0conf.cfg 66B
leakybucketrate.cfg 16B
leakybucketrate.cfg 16B
rtpdump.cpp 2KB
StdAfx.cpp 294B
h26l.css 1KB
Browse.VC.db 3.56MB
coding_style.doc 53KB
ldecod.dox 8KB
lencod.dox 8KB
lencod.dsp 9KB
ldecod.dsp 9KB
rtpdump.dsp 4KB
tml.dsw 919B
ldecod.dsw 535B
lencod.dsw 535B
ldecod.exe 1.35MB
lencod.vcxproj.filters 8KB
共 275 条
- 1
- 2
- 3
资源评论
茜木君
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功