测试用的源是一段我用采集卡录制的PS4游戏录像,录制规格是720P@60F,码率给了60M,AVC编码。
然后把这段原视频分别用x264、x265和AME调用NVENC_HEVC进行编码,码率都在3M左右。
源文件和编码过的文件我都放到下载里大家可以下来看看。
AME就是Adobe Media Encoder,然后我找了一个调用NVENC的插件,大家有兴趣的话可以看这个帖子。
下载链接: http://pan.baidu.com/s/1kTkylQB 密码: 6ris
帖一下参数:
x264
代码: 全选
cabac=1 / ref=6 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=10 / psy=1 / psy_rd=0.40:0.00 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=1440 / keyint_min=2 / scenecut=40 / intra_refresh=0 / rc_lookahead=90 / rc=2pass / mbtree=1 / bitrate=3000 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
代码: 全选
wpp / ctu=64 / min-cu-size=8 / max-tu-size=32 / tu-intra-depth=2 / tu-inter-depth=2 / me=3 / subme=3 / merange=25 / no-rect / no-amp / max-merge=3 / temporal-mvp / no-early-skip / rdpenalty=0 / no-tskip / no-tskip-fast / no-strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / no-fast-intra / no-open-gop / no-temporal-layers / interlace=0 / keyint=600 / min-keyint=1 / scenecut=40 / rc-lookahead=90 / lookahead-slices=0 / bframes=8 / bframe-bias=0 / b-adapt=2 / ref=3 / limit-refs=0 / weightp / weightb / aq-mode=1 / qg-size=32 / aq-strength=0.90 / cbqpoffs=0 / crqpoffs=0 / rd=5 / psy-rd=0.80 / rdoq-level=1 / psy-rdoq=10.00 / signhide / deblock / no-sao / no-sao-non-deblock / b-pyramid / cutree / rc=2 / pass / bitrate=3000 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ipratio=1.40 / pbratio=1.30
NVENC那个码率控制不够精确,我试了几次之后得到了一个成品体积差不多大小的文件。
以下是我截取的相同的一帧的图片
► 显示剧情透露 Source
► 显示剧情透露 x264
► 显示剧情透露 x265
► 显示剧情透露 NVENC
大家试试看用x265压个3M码率的是什么效果,我是搞不定了……