Constraint upon InitCpbRemovalDelay not fulfilled (C.4.1)
I am unable to get the following constraint to pass:
Floor( deltaTime90k[ n ] ) <= InitCpbRemovalDelay[ SchedSelIdx ] <= Ceil( deltaTime90k[ n ] )
Issues
-
Missing AuNominalRemovalTime[firstPicInPrevBuffPeriod] accounting which is required for accurate calculation of AuNominalRemovalTime[n] in equation (C-11). AuNominalRemovalTime[n] (baseTime) is constant when is should update given a new buffering period.
-
AuFinalArrivalTime[m] is currently using CpbSize when BitRate should be used as per equation (C-9).
-
Constraint upon InitCpbRemovalDelay (AU > 0, cbr_flag = 1) as per equation (C-20) fails.
-
Constraint (C-20) does not appear to pass even with the above issues corrected in a quick way. I suspect issue with InitCpbRemovalDelay (m_bufferFillFinal) but this is out of my ability to debug.
If it helps, this is the command line call I was using
x265 --input park_joy_420_720p50.y4m --input-res 1280x720 --fps 50 -o out.265 --preset 1 --high-tier --log-level 2 --profile main10 --level-idc 5 --keyint 10 --vbv-bufsize 45000 --vbv-maxrate 51000 --repeat-headers --hrd --aud --sar 1 --frames 15 --bitrate 51000
Video from: https://media.xiph.org/video/derf/