最近x265的功能越来越完善,组内也开始试着做x265的测试。今天这篇文章总结一下脚本输出给x265的几种常见方法。
因为x265还处于试验阶段,因此并没有加入avs或vs输入的功能(至少是在x265.cc这个网站下的编译版),但是x265能够接受raw流或y4m流的输入。因此我们还是需要常规的pipe方式进行编码。
以下是Avisynth输出给x265的几种方式:
avs4x265
avs4x265.exe -o output.265 source.avs
但是这种pipe经常会吓你一跳,如下图:
但是实际出来的码率还是正常的
avs2yuv
raw
avs2yuv.exe source.avs -raw – | x265 –input-res 1920×1080 –fps 24000/1001 -o output.265 -
y4m
avs2yuv.exe source.avs – | x265 –y4m -o output.265 -
ffmpeg
raw
ffmpeg.exe -i source.avs -f rawvideo -an -v 0 – | x265 –input-res 1920×1080 –fps 24000/1001 -o output.265 -
y4m
ffmpeg.exe -i source.avs -f yuv4mpegpipe -an -v 0 – | x265 –y4m -o output.265 -
以下是VapourSynth输出给x265的方式:
vspipe
raw
vspipe.exe source.vpy – | x265 –input-res 1920×1080 –fps 24000/1001 -o output.265 -
y4m
vspipe.exe source.vpy – -y4m | x265 –y4m -o output.265 -
版权所有: 某水姬的实验室|DHR-Raws Project
本文链接: http://mizuhime.info/avs-vs-x265-pipe/
- 本文固定链接: http://www.ziliaoku8.com/index.php/archives/32
- 转载请注明: admin 于 资料库吧 发表