JSVM的安装与运行

Jsvm的安装稍简单,只需要将jsvm文件夹拷贝进虚拟机,再进行make就好了。具体操作如下:

解压后找到JSVM文件夹,将文件全部复制到虚拟机

 

打开终端,进入jsvm->JSVM->H264Extension->build->linux,进行make

 

这样就安装好了

编码尝试

首先尝试单层编码模式,回到jsvm目录下,进入bin文件夹,新建文档,我命名为one_level.cfg,打开文档,复制配置信息,具体如下:

# JSVM Configuration File in AVC mode

 

#====================== GENERAL ================================================

AVCMode                 1          # must be one for AVC simulations

InputFile               input.yuv  # input file

OutputFile              stream.264 # bitstream file

ReconFile               rec.yuv    # reconstructed file

SourceWidth             352        # input  frame width

SourceHeight            288        # input  frame height

FrameRate               25.0       # frame rate [Hz]

FramesToBeEncoded       300        # number of frames

 

#====================== CODING =================================================

SymbolMode              1          # 0=CAVLC, 1=CABAC

Enable8x8Transform      1          # 8x8 luma trafo (0:diabled, 1:enabled)

ConstrainedIntraPred    0          # constrained intra prediction (0:off, 1:on)

ScalingMatricesPresent  1          # scaling matrices (0:flat, 1:default)

BiPred8x8Disable        0          # disable bi-predicted blocks smaller than 8x8

MCBlocksLT8x8Disable    0          # blocks smaller than 8x8 are disabled

BasisQP                 31         # Quantization parameters

 

#====================== STRUCTURE ==============================================

DPBSize                 16         # decoded picture buffer in frames

NumRefFrames            16

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值