请教下libx265下如何使用TWO-PASS
dwing吧
全部回复
仅看楼主
level 1
zxc921231 楼主
使用FFMPEG WIKI的参数
ffmpeg -i input -c:v libx265 -b:v 2600k -x265-params pass=2 -c:a aac -b:a 128k output.mp4
总是会报错
Cannot open libx265 encoder.
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height。
我的参数写的有问题吗?
2020年02月18日 14点02分 1
level 1
zxc921231 楼主
找到原因了,pass=1那个没运行,原来是要运行两遍[哈哈]
2020年02月18日 14点02分 2
吧务
level 14
你需要先跑first pass呀[阴险]
2020年02月18日 14点02分 3
吧主能否帮忙写下x265 pass1和pass2的命令行例子。两个是一样的,就1改为2吗?
2021年10月13日 04点10分
1