子豚の嫁探し

3ヶ月毎に嫁を探す豚野郎です。

x264 10bitエンコード

放送中のシャナ3期などにおいて、現環境下でのバンディング低減に限界を感じ始めたので10bitを試してみた。エンコ時間は長くなるけど、ソース至上主義の自分としてはフィルタでバンディング低減させるよりも、思いきって10bitエンコしたほうがいいかなぁとかなんとか。

f3kdbとx264の設定は以下の通り。bframeとrefは今回は低くしましたが、通常はそれぞれ3と6の値になります。

f3kdb(range=15, Y=48, Cb=0, Cr=0, ditherY=0, ditherC=0, keep_tv_range=true, input_mode=0, input_depth=8, output_mode=2, output_depth=16)
x264.exe --keyint 240 --min-keyint 1 --scenecut 40 --bframes 2 --b-adapt 2 --ref 4 --deblock 1:2 --crf 20 --qpmin 0 --qpmax 81 --qpstep 14 --ipratio 1.40 --pbratio 1.30 --aq-mode 3 --aq-strength 0.65 --qcomp 0.76 --8x8dct --partitions p8x8,b8x8,i8x8,i4x4 --weightp 2 --vbv-maxrate 40000 --vbv-bufsize 30000 --me umh --merange 24 --subme 7 --psy-rd 0.0:0.0 --mixed-refs --b-pyramid normal --trellis 2 --rc-lookahead 60 --no-fast-pskip --no-dct-decimate --cqm flat --sar 1:1 --level 4.1 --input-range tv --range tv --colorprim bt709 --transfer bt709 --colormatrix bt709 --tcfile-in timecode.tmc --timebase 1001/120000 --audiofile audio.aac --ademuxer lsmash --acodec copy --threads auto --thread-input --input-csp i420 --output-csp i420 --input-depth 16

実際にエンコしたもの。テレビ東京アクエリオンEVOLから。

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High 10@L4.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 4 frames
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 42mn 37s
Bit rate                         : 2 416 Kbps
Maximum bit rate                 : 14.4 Mbps
Width                            : 1 280 pixels
Height                           : 720 pixels
Display aspect ratio             : 16:9
Frame rate mode                  : Variable
Frame rate                       : 25.072 fps
Minimum frame rate               : 23.976 fps
Maximum frame rate               : 59.940 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 10 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.105
Stream size                      : 737 MiB (89%)
Writing library                  : x264 core 120 r2120+639 552713c