X265 marking IDR frames as CRA frames

Issue #494 new
Former user created an issue

hi, it seems by analyzing the bitstream in Harmonic AV analyser that x265 is marking/tagging the keyframes wrongly as well not honoring the syntax for frame configuration:

  1. my ffmpeg syntax: ./ffmpeg test.mov -codec:v libx265 -x265-params keyint=100:min-keyint=100:no-open-gop=1:nal-hrd=VBR:force-cfr -level 5.1 -profile:v main10 -preset slow -crf 23 -maxrate 5M -bufsize 5M -force_key_frames "expr:eq(mod(n,100),0)" -c🅰0 aac -ac🅰0 2 -ab🅰0 128k -y test.mp4

  2. Not honoring the keyint and min keyint as declared in the params above:

x265 [info]: HEVC encoder version 3.0_Au+21-bac0e1acb874 x265 [info]: build info [Windows][GCC 8.3.1][64 bit] 10bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [info]: Main 4:2:2 10 profile, Level-4 (High tier) x265 [info]: Thread pool created using 16 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 4 / wpp(17 rows) x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2 x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 40 / 5.00 x265 [info]: Lookahead / bframes / badapt : 15 / 4 / 0 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0 x265 [info]: References / ref-limit cu / depth : 3 / on / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : CRF-23.0 / 0.60 x265 [info]: VBV/HRD buffer / max-rate / init : 15000 / 15000 / 0.750 x265 [info]: tools: rd=2 psy-rd=2.00 rskip signhide tmvp fast-intra x265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao

  1. First keyframe is marked as IDR, the rest are CRA, which should be IDR.. And also i-frames inside the gop (scenecut detect) as sometimes marked as CRA instead of I.

Comments (1)

  1. Log in to comment