h265 crf28是否可视为,一个理想的编码方式
dwing吧
全部回复
仅看楼主
level 3
赵天博 楼主
随着硬盘空间越来越小,最近想试试h265。发现其编码速度是很慢的,用auto2pass明显不现实。所以想到,h265的crf。
通过网上的资料可知,h264的默认值为23,压制出来的体积已经不小。而且画质中上等品质吧。
似乎有资料说h265的默认值28,就相当于h264的crf23。这种压制出来体积会小很多。又是默认值。
想请教一下诸位大神,h265 crf28,是否可视为一个理想的编码方式。
也就是说,压制出来,品质中上等,体积又很小,充分发挥了h265低码率的优势。
2023年01月17日 12点01分 1
level 3
赵天博 楼主
1080P动画,压制速度,不到1倍速,也就是比影片的播放时长还要慢一些。
2023年01月17日 13点01分 2
吧务
level 14
可以,但我不这么认为[滑稽]
2023年01月17日 14点01分 3
level 14
x265默认的crf28不推荐日常使用。如果需要极低码率的使用场景,建议用av1。
2023年01月18日 03点01分 4
av1看笑了。编码速度0.02fps
2023年01月19日 01点01分
关键是码率并没有比x265低多少
2023年01月19日 01点01分
@subvoyager 用svt-av1,没这么慢
2023年01月19日 01点01分
@787633258 svt-av1你调的什么参数?我用svtav1编码出来和x265相比,压缩率并没有显著提高
2023年01月19日 01点01分
level 10
对画面质量没有要求的话可以考虑,否则[开心]……
(Srsly?crf28压出来东西能看?)
2023年01月18日 03点01分 5
level 1
我个人压a片最多接受1080p下crf26,再大画面细节就丢很多了,还不如看在线的
2023年01月18日 11点01分 6
再大直接用硬件编码算了
2023年01月19日 01点01分
压什么片[呵呵]
2023年01月19日 01点01分
那个什么片的,要crf20,细节和原片就差异极小。
2023年02月12日 07点02分
不是应该补成高分假无损永久收藏吗?
2023年05月06日 15点05分
level 9
我用cqp比crf效果好。同等vmaf得分,文件小20%
2023年01月23日 04点01分 7
level 3
赵天博 楼主
h265,刚尝到了点甜头。
crf28一口气压了好几部超清动画。体积确实惊人,720p静态画面多的动画,一集50M左右。
1080p静态多的动画,一集90多M。打戏和特效多的集,也不过250M左右。
体积小巧,用小米3增强版盒子试了试,还是对付不了h265,解码速度跟不上,音画错位。
2023年01月23日 09点01分 8
23年,新设备H265支持度应该比较高
2023年01月30日 09点01分
要不了解一下vvenc编码
2023年02月18日 10点02分
level 5
crf20以上我个人不太接受得了[狂汗]
2023年01月26日 15点01分 9
crf20以下码率太高了
2023年01月30日 09点01分
@贴吧用户_5bNU5WN 看片源吧(
2023年02月05日 15点02分
同感crf20以上可以肉眼看到细节损失
2023年02月12日 07点02分
level 8
你这不是已经压了不少了么 你自己看着能接受就好了
不过如果能再想想将来升级了更好的设备是否还依旧能接受这勉强能看的画质 那就更好了
2023年01月31日 02点01分 11
其实很多视频要么现在看, 要么就堆积很久都想不起来看. 多年以后真想翻出来怀旧的就不会在乎画质了, 就像现在想看30年前的视频, 片源都难达到DVD画质.
2023年01月31日 04点01分
只有27寸电脑显示器。一个26寸的老电视还能看,所以没买新电视。听人说,低码率,在大电视上,缺陷会很明显。准备买硬盘了,空间充足的情况下,我可以接受体积翻一倍。
2023年01月31日 04点01分
@dwing 所以又重新下了一份1080P的,比如犬夜叉[狂汗]
2023年05月11日 11点05分
level 1
外网找到一些关于x265压制动画片参数的讨论
大致总结如下:
1、采用10bit编码
2、bframe=6-8,较高的b帧
3、关闭sao,或limit-sao
4、心理视觉模型?psy-rd=1
5、边缘、纹理控制 aq-mode=3
6、去块deblock=-1,-1
FYI
或者,简化直接crf=28,加上tune=animation
自动调入参数:psy-rd=0.4:aq-strength=0.4:deblock=1,1:bframes=(preset+2).
aq-strength=0.4远低于常规数值1,纹理大量抹平,码率降低显著。
=================原文如下=============原文如下======================
How to preserve dark lines when re-encoding anime to x265?
Summary for x265 Encode Settings
Set preset=slow. Then choose 1 following to override the default parameters. These are my recommended settings, feel free to tune them.
1.1Setting to rule them all: crf=19-20,
Code:limit-sao:bframes=8:psy-rd=1:aq-mode=3
2.Flat, slow anime (slice of life, everything is well lit): crf=19-20,
Code:bframes=8:psy-rd=1:aq-mode=3:aq-strength=0.8:deblock=1,1
3.Some dark scene, some battle scene (shonen, historical, etc.): crf=18-19 (motion + fancy FX),
Code:limit-sao:bframes=8:psy-rd=1.5:psy-rdoq=2:aq-mode=3
4.Movie-tier dark scene, complex grain/detail: crf=16-18,
Code:no-sao:bframes=8:psy-rd=1.5:psy-rdoq=4:aq-mode=3
5.I have infinite storage, a supercomputer, and I want details: preset=veryslow, crf=14,
Code:no-sao:no-strong-intra-smoothing:bframes=8:psy-rd=2:psy-rdoq=5:aq-mode=3:deblock=-1,-1:ref=6
Here an excerpt from a Reddit poster:
· Use the 10-bit encoder. Not the 8-bit nor the 12-bit.
· Optimally, use the slow preset. Veryslow preset is a luxury reserved for very powerful systems and high crf (22+) encodes.
· aq-mode=3! This sets dark scene aq bias, which is really helpful for anime, as this is where most of the artifacts and banding will be.
· Don't use tune animation. The appended options are: psy-rd=0.4:aq-strength=0.4:deblock=1,1:bframes=(preset+2). These are optimized for cartoon-style animation, anything more complex than slice of life is going to suffer, especially with newer BD releases utilizing dynamic grain to prevent banding.
For "Anime" anime, I recommend
psy-rd1 to 2 (more complex/action packed/detailed anime = higher value needed, also increases bitrate),
aq-strength 0.6 to 1 (more complex/detailed = need higher value, don't go beyond 1 as you may introduce ringing artifacts. You will mostly use 0.8-1. Also raises bitrate.),
deblock -1:-1 to 1:1 (depends on source, leave on 0:0 if you don't know what to use)
and bframes 4 to 8 (I highly recommend 6, 8 if possible. Encode penalty is only ~5% going from 4 to 8).
Additionally, if your source has grain, psy-rdoq should be raised from the default 1 to 3-5 depending on source
(note: only combine higher rdoq with crf<18 and no-sao, or you'll end up with grain "blocks" instead of grain "grain").
· Use limit-sao for crf 17-19. Use no-sao for crf<18 if there are fine grain present. Else leave on default.
· Use no-strong-intra-smoothing only for crf<16. This helps preserve fine details. High crf will result in blocking due to lack of smoothing on 32x32 blocks.
2023年01月31日 05点01分 12
英语不够好[滑稽] 人家说的是不要直接用tune animation[滑稽]
2023年02月01日 04点02分
幸好压片前,上网搜索了一番,选择了10bit,关闭了sao。
2023年02月01日 12点02分
level 7
显示dpi 300以上,crf28也很清晰,
dpi300-200,crf28就看起来不那么清晰
dpi200以下,更容易察觉到块、涂抹
2023年02月06日 12点02分 13
如果屏幕大小一样,dpi越高分辨率越高,如果视频尺寸不对应,是需要缩放的,尤其是放大,如果差距过大,真的会更好么?
2023年02月08日 03点02分
@幻の永恒 dpi高以手机受众为主,屏幕足够小,物理限制到6寸,小画面内细节易被忽略;常见电脑显示器达不到300dpi
2023年02月09日 03点02分
不知道我的算法是否正确,就是将1920X1080=2073600像素 然后2073600 除以电视屏幕的长乘宽(得出的是平方厘米,除以2.54就等于英寸)。 这样算的话,65英寸的电视屏幕,以1080分辨率,播放1080P视频。也能达到dpi450。
2023年02月16日 07点02分
@赵天博 不是这么算的,你这数据明显错了,6寸多的手机dpi也才400左右,dpi算的是长度而不是面积,你非要用面积算也行,你最后从平方厘米到平方英寸得除以两次2.54,最后还得开方(假设长宽dpi一样)
2023年02月16日 10点02分
level 11
只不过是6“屏横流的时代,nhd crf 28 h264 完全够用。
2023年02月07日 03点02分 14
level 3
赵天博 楼主
最近压制又试了试CRF23。1080p 一集24分钟时长的动画,大概还是150m-260m这种体积。
这样看来,即使是CRF18,体积也还是很小。估计也就300-400M左右。
看来之前,我设置crf28是大了点,没有必要那么大。
2023年02月09日 13点02分 15
av1编码19分钟1080p不到100MB,折算25分钟110MB的样子ranway.tpddns.cn:99/D%3A/webM/%E5%B0%8F%E5%A6%96%E6%80%AA%E7%9A%84%E5%A4%8F%E5%A4%A9.1080p.Web-DL.av1.opus.2.0.webm
2023年02月27日 15点02分
我目前就是用CRF23压片
2023年08月03日 10点08分
1 2 尾页