博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
JM8.6配置文件中参数的解释
阅读量:4142 次
发布时间:2019-05-25

本文共 3188 字,大约阅读时间需要 10 分钟。

      参考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文档, 这个文档非常非常详细,在此不再赘述.

转载地址:http://zjzti.baihongyu.com/

你可能感兴趣的文章
kali 使用u盘安装提示“无法挂在光盘..”的解决方案
查看>>
kali2.0安装完乱码
查看>>
VirtualBox 安装 Kali linux 之后的简单设置
查看>>
Ubuntu系统上安装Nginx服务器的简单方法
查看>>
Ubuntu Linux系统下apt-get命令详解
查看>>
ubuntu 16.04 下重置 MySQL 5.7 的密码(忘记密码)
查看>>
Ubuntu Navicat for MySQL安装以及破解方案
查看>>
HTTPS那些事 用java实现HTTPS工作原理
查看>>
mysql游标嵌套循环
查看>>
oracle函数trunc的使用
查看>>
MySql四舍五入
查看>>
在navicat上设置定时计划执行存储过程
查看>>
mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解决方法
查看>>
js 阻止form表单提交
查看>>
MySQL 将查询出来的一列数据拼装成一个字符串
查看>>
MySQL 存储过程或者函数中传参数实现where id in(1,2,3,...)IN条件拼接
查看>>
iOS 报错信息: dyld: Library not loaded: @rpath/XCTest.framework/XCTest Referenced framework
查看>>
分布式服务框架 Zookeeper -- 管理分布式环境中的数据
查看>>
基于Spring Boot和Spring Cloud实现微服务架构学习(一)-Spring框架介绍
查看>>
自建framework提交审核报错 ERROR ITMS-90087解决办法
查看>>