JM Reference Software README
============================
The latest version of this software can be obtained from:
http://iphome.hhi.de/suehring/tml
For reporting bugs please use the JM bug tracking system located at:
https://ipbt.hhi.de
Please send comments and additions to suehring@hhi.de and alexis.tourapis@dolby.com
======================================================================================
NOTE: This file contains only a quick overview.
More detailed information can be found the "JM Reference Software Manual" in the
doc/ subdirectory of this package.
======================================================================================
1. Compilation
2. Command line parameters
3. Input/Output file format
4. Configuration files
5. Platform specific notes
1. Compilation
--------------
1.1 Windows
-----------
Workspaces for MS Visual C++ 6.0/2003/2005 are provided with the names
jm.dsw - MS Visual C++ 6.0
jm_vc7.sln - MS Visual C++ 2003
jm_vc8.sln - MS Visual C++ 2005
These contain 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.
5. Platform specific notes
--------------------------
This section contains hints for compiling and running the JM software on different
operating systems.
5.1 MacOS X
-----------
MacOs X has a UNIX core so most of the UNIX compile process will work. You might need
the following modifications:
a) in Makefile change "CC = $(shell which gcc)" to "CC = gcc"
(it seems "which" doesn't work)
b) MacOS X (before "Tiger") doesn't come with ftime. We suggest using a third party ftime
implementation, e.g. from:
http://darwinsource.opendarwin.org/10.3.4/OpenSSL096-3/openssl/crypto/ftime.c
5.2 FreeBSD
-----------
You might need to add "-lcompat" to LIBS in the Makefiles for correct linking.
没有合适的资源?快使用搜索试试~ 我知道了~
JM12.4
共227个文件
c:87个
h:86个
cfg:16个
5星 · 超过95%的资源 需积分: 9 27 下载量 54 浏览量
2008-05-14
08:50:19
上传
评论
收藏 1.33MB ZIP 举报
温馨提示
是一款最新的H.264参考软件,它修改了以前版本中存在的BUG,可以做为编码人员研究时参考.
资源推荐
资源详情
资源评论
收起资源包目录
JM12.4 (227个子文件)
macroblock.c 138KB
macroblock.c 137KB
mbuffer.c 133KB
mbuffer.c 133KB
me_epzs.c 116KB
image.c 105KB
rdopt.c 104KB
lencod.c 100KB
block.c 92KB
rc_quadratic.c 77KB
sei.c 76KB
image.c 73KB
sei.c 73KB
mv-search.c 63KB
erc_do_p.c 58KB
me_umhex.c 55KB
cabac.c 53KB
parset.c 50KB
cabac.c 50KB
block.c 50KB
transform8x8.c 49KB
configfile.c 48KB
slice.c 47KB
me_umhexsmp.c 47KB
mc_prediction.c 45KB
me_distortion.c 45KB
loopFilter.c 42KB
loopFilter.c 41KB
vlc.c 38KB
vlc.c 35KB
mode_decision.c 34KB
me_fullfast.c 33KB
transform8x8.c 33KB
ldecod.c 30KB
me_fullsearch.c 30KB
memalloc.c 30KB
parset.c 28KB
header.c 26KB
q_matrix.c 25KB
md_highfast.c 23KB
output.c 22KB
weighted_prediction.c 21KB
fmo.c 21KB
decoder.c 21KB
md_low.c 20KB
q_offsets.c 20KB
rtp.c 19KB
img_luma.c 19KB
erc_do_i.c 18KB
header.c 18KB
fmo.c 17KB
md_highloss.c 17KB
explicit_gop.c 16KB
mb_access.c 16KB
md_high.c 16KB
mb_access.c 16KB
output.c 15KB
memalloc.c 15KB
erc_api.c 13KB
biariencode.c 12KB
context_ini.c 12KB
rtp.c 11KB
biaridecod.c 11KB
annexb.c 9KB
ratectl.c 9KB
parsetcommon.c 9KB
leaky_bucket.c 9KB
errorconcealment.c 6KB
rdopt_coding_state.c 5KB
filehandle.c 5KB
nal.c 4KB
leaky_bucket.c 4KB
filehandle.c 4KB
img_chroma.c 4KB
context_ini.c 3KB
intrarefresh.c 3KB
annexb.c 3KB
nal.c 3KB
nalu.c 2KB
rdpicdecision.c 2KB
parsetcommon.c 2KB
refbuf.c 2KB
nalucommon.c 2KB
nalucommon.c 1KB
nal_part.c 1KB
symbol.c 1KB
nalu.c 950B
encoder.cfg 33KB
encoder_yuv422.cfg 32KB
encoder_tonemapping.cfg 30KB
encoder_extended.cfg 26KB
encoder_main.cfg 25KB
encoder_baseline.cfg 20KB
q_offset.cfg 3KB
q_matrix.cfg 3KB
ToneMapping.cfg 2KB
q_matrix_def.cfg 1KB
q_matrix2.cfg 1KB
sg6conf.cfg 1KB
decoder.cfg 1KB
共 227 条
- 1
- 2
- 3
资源评论
- bolloom2012-02-20资源不错,不过编译通过后lencod运行没结果。 后来网上查询修改了encoder.cfg配置文件中一个地方,运行正常,感谢!
- angrad2012-06-03还是cl.exe错误
lanbei
- 粉丝: 1
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功