qyz1
帖子: 15
注册时间: 2013-03-01 9:47

CRF19 经常压出的大于源文件。求教各位大大是我用的参水有地方不对么?

用小丸工具箱 自己替了最新的taro x264.exe进去。都压x64 8bit。
参数是:--crf 19.5 --deblock -1:-1 --psy-rd 0.5:0 --keyint 300 --direct auto --b-adapt 2 --scenecut 60 --ref 6 --qpstep 5 --rc-lookahead 150 --merange 48 --me umh --subme 9 --partitions all --trellis 2 --aq-mode 2 --aq-strength 0.8

最近发觉经常会压出的大于源头文件好多,尤其是vc-1。不知道问题出在哪。我内存够用 rclookahead经常开的很大 是不是因为这个?
另外似乎感觉更新到r2359后概率大了很多。
比如:

Video
ID : 2
Format : VC-1
Format profile : Advanced@L3
Codec ID : WVC1
Codec ID/Hint : Microsoft
Description of the codec : Windows Media Video 9 Advanced Profile
Duration : 1h 15mn
Bit rate mode : Constant
Bit rate : 5 744 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 30.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.092
Stream size : 3.03 GiB (96%)

5700压到一半发觉已经跑的近700kbps了 一些低分低码也会这样。压些xvid divx的也是不能压太低crf。
akw28888
帖子: 171
注册时间: 2012-02-24 17:12

Re: CRF19 经常压出的大于源文件。求教各位大大是我用的参水有地方不对么?

參水是什麼?
我想這是你的source碼率太低了
qyz1
帖子: 15
注册时间: 2013-03-01 9:47

Re: CRF19 经常压出的大于源文件。求教各位大大是我用的参水有地方不对么?

举个栗子
有个东京热原档AV 分3段的VC-1 头2段之前压果了 第三段还没压
源文件:
Video
ID : 2
Format : VC-1
Format profile : MP@HL
Codec ID : WMV3
Codec ID/Info : Windows Media Video 9
Codec ID/Hint : WMV3
Description of the codec : Windows Media Video 9 - Professional
Duration : 31mn 11s
Bit rate mode : Variable
Bit rate : 4 000 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.145
Stream size : 893 MiB (90%)
Language : Japanese

以前压的:

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Writing library : x264 core 129 r2245+704+35 dbbd7a1 tMod [8-bit@all X86_64]
Encoding settings : cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / fade_compensate=0.00 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=600 / keyint_min=29 / scenecut=50 / intra_refresh=0 / rc_lookahead=150 / rc=crf / mbtree=1 / crf=18.9000 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=5 / ip_ratio=1.40 / aq=1:1.00
Default : Yes
Forced : No


CRF18.9 基本上压出来的略小于源文件。
头像
msg7086
帖子: 600
注册时间: 2011-02-19 0:49

Re: CRF19 经常压出的大于源文件。求教各位大大是我用的参水有地方不对么?

1. 我比较推荐改用preset而不是手动指定一堆参数,特别是极限参数 (比如partition all 比如merange 48 比如rc-lookahead 150)
2. TKHot之流的原始码率本来就偏低,重新用低crf压缩,文件变大不奇怪
3. 如果是为了压小,建议把crf开大,大到24甚至26。如果不是,那么保持原始文件比较好。

以上是个人意见仅供参考
Delogo LGD Collections 各种台标下载 | Home Of VapourSynth Evolution

<回答が無い理由>
1. 誰も知らない
2. 質問文が意味不明
3. 知ってるが、お前の態度が気に入らない
4. 良いボケが思いつかない
qyz1
帖子: 15
注册时间: 2013-03-01 9:47

Re: CRF19 经常压出的大于源文件。求教各位大大是我用的参水有地方不对么?

有些是为了压小 有些是WMV移动设备有些厂家没买解码 没法硬解。
merange 48对于1080P有些大么? 我一般都是720P用24 DVD用20 16
内存有16G 总想着不用浪费了 这么一想rclookahead就开大了。。。。
头像
msg7086
帖子: 600
注册时间: 2011-02-19 0:49

Re: CRF19 经常压出的大于源文件。求教各位大大是我用的参水有地方不对么?

记得曾经有人做过测试说rclookahead在开到极限的时候,反而会导致SSIM下降,具体记不清了。反正我个人是建议多向默认参数靠拢。

我记得slow+film的rcla默认应该是50-60吧,那么就算要开大的话,70-80应该也就差不多了,再上去可能会有反效果。

merange同理,个人感觉24就已经挺高了,常用16。
Extremely high merange (e.g. >64) is unlikely to find any new motion vectors that are useful, so it may very slightly decrease compression in some cases by picking motion vector deltas so large that they worsen prediction of future motion vectors in the rare cases they're locally useful, making them worse than useless.
The effect is so small as to be near-negligible, though, and you shouldn't be using such insane settings.
顺便说,Vista以后的系统对内存的利用率已经大幅提高了,就算你不把内存用在rclookahead上,系统也会自动用来做磁盘缓冲区,相当于全自动ramdisk,也能够提升系统的响应速度和磁盘的读写速度,变相的略微提高编码速度。
Delogo LGD Collections 各种台标下载 | Home Of VapourSynth Evolution

<回答が無い理由>
1. 誰も知らない
2. 質問文が意味不明
3. 知ってるが、お前の態度が気に入らない
4. 良いボケが思いつかない

回到 “视频编码器 / Video encoder discussion”