JM8.6配置文件中参数的解释
来源:互联网 发布:黑暗之魂3世界观知乎 编辑:程序博客网 时间:2024/05/21 17:30
参考JVT-Q042文档,可以学到很多东西. 说明: 不同profile的配置文件中参数一样,只是取值不一样而已,本人认为这样并不好,在baseline的配置文件中带有B帧的信息,非常不好,容易误导人,因为baseline根本就不支持B帧. 下面将对配置文件重要的参数进行解释.
##########################################################################################
# Files
##########################################################################################
InputFile = "foreman_part_qcif.yuv" # Input sequence, YUV 4:2:0
Description: Input sequence name. Name could include file path. Current software only supports concatenated input sources (i.e. all components and frames should be included in a single file) .必须是yuv420的形式,如果不是,需要先转.
Note: For Unix/Linux based systems directories should be separated using a backslash “\”, while for DOS\Windows systems, directories should be separated using a forward slash “/”. 注意Windows和Unix/Linux的不同
InputHeaderLength = 0 # If the inputfile has a header, state it's length in byte here
Description: Specifies inputfile header size in terms of bytes. For RAW data files (i.e. YUV) this is usually 0 (default).
StartFrame = 0 # Start frame for encoding. (0-N)
Description: Specifies initial frame for encoding. Default value is 0.
FramesToBeEncoded = 1 # Number of frames to be coded
Description: Specifies number of frames to be coded excluding B slice coded frames. Default is set to 1. We shall call this as the primary layer of the bitstream. If B slices (or Explicit Coding Structure) are to be used (we will call this as the secondary layer) then:
FramesToBeEncoded = int((TotalNumberOfFrames-1)/(NumberBFrames + 1)) + 1 本人尝试过,有B帧,还真是不一样.
FrameRate = 30 # Frame Rate per second (1-100)
Description: Input File Frame rate. Supports values in the range [0.0, 100.0]. Default value is 30.0.
Note: For interlace material (i.e. 60 or 50 fields), value should be set equal to FieldRate/2 (i.e. 30.0 and 25.0 respectively).
SourceWidth = 176 # Image width in Pels, must be multiple of 16
Description: Image width in Luminance Samples. If the value is not a multiple of 16 the image is automatically cropped to the next number that is a multiple of 16. Default is 176. 不是16的倍数,则需扩展
SourceHeight = 144 # Image height in Pels, must be multiple of 16
Description: Image height in Luminance Samples. If no Interlace tools are used and if the value is not a multiple of 16 the image is automatically cropped to the next number that is a multiple of 16. Otherwise if the value is not a multiple of 32 the image is automatically cropped to the next number that is a multiple of 32. Default is 144. 竖直方向高度,赢考虑扩展,还要考虑帧或场.
TraceFile = "trace_enc.txt"
Description: Bitstream Tracefile. File is useful for debugging. To enable, code needs to be compiled by setting the define TRACE in defines.h to 1.
TraceFile在分析码流时很有用,要学会利用
Warning!!!
Enabling this option may result in the generation of very large files, while would also slow down encoding considerably. Enable with caution. Parameter recommended for debugging purposes.
ReconFile = "test_rec.yuv"
Description: Output reconstructed name. Name could include file path. If empty, no output is generated.
OutputFile = "test.264"
Description: Output bitstream name. Name could include file path.
至于其他参数的含义,可以参考JVT-Q042文档, 这个文档非常非常详细,在此不再赘述.
- JM8.6配置文件中参数的解释
- JM8.6配置文件中参数的解释
- JM8.6中读取配置文件
- JM8.6中关于PSNR(峰值信噪比), img->quad的解释
- 从JM8.6解码器中学习多级指针的应用
- 关于JM8.6中MAX_LIST_SIZE值的选取
- jm8.6之参数,函数简介
- Log4Net中配置文件的解释
- xcache 的安装及配置文件参数解释
- Zookeeper的配置文件zoo.cfg参数解释
- JM8.6解码端是如何从配置文件decoder.cfg获取数据的? (init_conf函数)
- MySQL配置文件参数解释
- Hibernate配置文件参数解释
- JM8.6中重要结构体说明
- ubuntu下mysql中my.cnf配置文件参数解释
- JM8.6 的核心编码函数研究
- JM8.6 的核心编码函数研究
- 题目: JM8.6中帧内帧间模式的选择
- 真XX项目 TP连贯操作总结
- Github集成服务和实用工具汇总(待续)
- 基于.NET平台开发的常识
- GridView常用属性概括
- 使用阿里云服务来部署云桌面
- JM8.6配置文件中参数的解释
- C#菜鸟版SQL Server 类封装(C#数据库增删改查)
- 对象的拷贝 - $.extend方法
- IOS 添加下拉刷新
- 利用cookie实现iframe刷新时停留在当前页面
- java报错:The reference to entity "characterEncoding" must end with the ';' delimiter.
- 我的“创客”朦胧开篇章
- springcloud与mina完美结合
- 每天一个 Linux 命令(4):mkdir命令------学习笔记